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