Afficher un message
Vieux 25/03/2008, 21h11   #3
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Tricky config: Sendmail and mailertable for only one user [ldap_routing (without ldap)]

lpacor@gmail.com wrote:
> [...]
> Now my question to the group: is there any configuration (a
> mailertable or some other entry) which would allow SERVER2 to deliver
> the mails @difficult.domain only for one user to SERVER1 and for the
> rest to the smtp server of my ISP? Is this possible at all?
>
> Any would be very much appreciated since I have tried all I could
> but I am still stuck ...


You can use FEATURE(`ldap_routing')
It can be used with standard maps (hash,dbm) instead of LDAP lookups.
http://www.sendmail.org/m4/ldap_routing.html

FEATURE(`ldap_routing', `hash /etc/mail/mail_host',
`hash /etc/mail/mail_routing_address', `bounce')

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
The man who has never been flogged has never been taught.
-- Menander
  Réponse avec citation
 
Page generated in 0,04847 seconds with 9 queries