OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: local_recipient_maps

Re: local_recipient_maps


Subject: Re: local_recipient_maps
From: Wietse Venema (wietseporcupine.org)
Date: Mon Jan 24 2000 - 08:41:20 CST


Ralf Hildebrandt:
> On Mon, Jan 24, 2000 at 08:57:24AM -0500, Wietse Venema wrote:
>
> > I could swear that it is also described in the sample main.cf file.
>
> I only installed /docs on my webserver for reference.
>
> > Try: unix:passwd.byname. However local_recipient_maps applies only
> > to recipients that resolve LOCALLY (domain matches $mydestination).
>
> mydestination = $myhostname,
> localhost.$mydomain,
> mail.$mydomain,
> dbm:$config_directory/mydestination,
> 132.231.12.0/24,
> brahms.uni-passau.de
>
> Mail to <ruebennaseinfosun.fmi.uni-passau.de> (I don't know of the Dutch
> translation of Monty Python's Life of Brian, but you might get the joke...)
> matches an entry in the DBM:
>
> infosun.fmi.uni-passau.de OK
>
> Mail for userinfosun.fmi.uni-passau.de ends up locally, nevertheless mail
> to ruebennase is NOT rejected.

Well, both unix:passwd.byname AND the local delivery agent use
getpwnam().

Try sending mail to an arbitrary stringinfosun.fmi.uni-passau.de.
You may find that the SMTP server accepts any grabage, in which
case you probably have a typo in main.cf.

        Wietse



This archive was generated by hypermail 2b27 : Mon Jan 24 2000 - 08:49:11 CST