|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I'm trying to configure my sendmail to use a different mail host (relay
host) depending on what the destination address is. The reason for this has to do with our internal security setup. I'm on a solaris 9 platform. So if I have mail to send to xxx@abc.com I would like to use mailhost1, and if I have mail for xxx@anythingelse.com I would like to use mailhost2. Do I have to modify the sendmail.cf manually by creating a private Ruleset which modifies the macro setting for what the mailhost is? thanks for any . |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Voltaire <neil_s_chopra@yahoo.com> wrote:
> I'm trying to configure my sendmail to use a different mail host (relay > host) depending > on what the destination address is. The reason for this has to do with > our internal > security setup. I'm on a solaris 9 platform. BTDT - you need to build a new sendmail.cf from the m4 sources, including "mailertable.m4". Then create /etc/mail/mailertable: domain1.com SMTP:relay1 domain2.com SMTP:relay2 .... and build a hash from that: makemap hash mailertable.db < mailertable Don't forget relay-domains, then modify sendmail.cf as needed and restart sendmail. Jens -- Jens Goerke, mobilcom Server Systeme mobilcom Communicationstechnik GmbH, Hollerstr. 126, 24782 Buedelsdorf Tel: +49-(0)4331-69-5505 Fax: +49-(0)4331-69-5599 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Jens,
Thanks for the fast reply. However, never built the .cf file before from the sources. Can you provide pointers or direct me to a site where they outline how one goes about doing this. Thanks. Neil. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
"Voltaire" <neil_s_chopra@yahoo.com> wrote in message
news:1161792298.711265.22670@m7g2000cwm.googlegrou ps.com > Thanks for the fast reply. However, never built the .cf file before > from the sources. > Can you provide pointers or direct me to a site where they outline how > one goes about doing this. ${SOURCE}/cf/README and ${SOURCE}/cf/cf/README |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Voltaire wrote: > Jens, > > > Thanks for the fast reply. However, never built the .cf file before > from the sources. > Can you provide pointers or direct me to a site where they outline how > one goes > about doing this. No information about solaris here, but with everything in place, building cf from mc is supposed to be as simple as m4 < sendmail.mc > sendmail.cf |
|
![]() |
| Outils de la discussion | |
|
|