OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Using relay_recipient_maps with plussed addresses

From: Wietse Venema (wietseporcupine.org)
Date: Tue Mar 02 2004 - 17:41:13 CST


Rob Tanner:
> Hi,
>
> I'm trying to use relay_recipient_maps against our LDAP server to reject
> unknown users at the gateway rather than at the final delivery server. It
> does exactly what I want done, except for one thing: plussed addresses (e.g.,
> rtanner+postfixlinfield.edu). Since setting up plussed destination
> addresses is at the level of the individual user and not the system level,
> the LDAP server does not necessarily know about these addresses -- which are
> legimate recipient addresses.
>
> How do I get Postfix to ignore the '+foo' part of the address while checking
> for valid recipients? Here's what's configured in main.cf:

Postfix looks up the unextended form when the extended form
is not found.

        Wietse