PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > multiple mail hosts in sendmail
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

multiple mail hosts in sendmail

Réponse
 
LinkBack Outils de la discussion
Vieux 25/10/2006, 16h11   #1
Voltaire
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut multiple mail hosts in sendmail

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 .

  Réponse avec citation
Vieux 25/10/2006, 16h19   #2
j.goerke@mobilcom.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple mail hosts in sendmail

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
  Réponse avec citation
Vieux 25/10/2006, 17h04   #3
Voltaire
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple mail hosts in sendmail

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.

  Réponse avec citation
Vieux 25/10/2006, 17h18   #4
ynotssor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple mail hosts in sendmail

"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
  Réponse avec citation
Vieux 25/10/2006, 17h25   #5
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: multiple mail hosts in sendmail


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

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h33.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12614 seconds with 13 queries