OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Discarding an address via transport_maps?

From: Victor Duchovni (Victor.Duchovnimorganstanley.com)
Date: Tue Jun 30 2009 - 14:49:35 CDT


On Tue, Jun 30, 2009 at 01:10:21AM -0500, Ville Walveranta wrote:

> smtpd_recipient_restrictions =
> ...
> check_recipient_access
> hash:$config_directory/tables/smtpd_allow_nullroute
> ...
>
> tables/smtpd_allow_nullroute:
> nullroutemydomain.net permit

Only necessary if you have later restrictions that can block
mail to this recipient.

>
>
> tables/smtp_transport_maps:
> nullroutemydomain.net discard:

It is best to append a fixed "nexthop" to the "discard" transport
so that multiple recipients at distinct domains can be processed
together (more efficiently):

    nullrouteexample.net discard:silently
    nullrouteexample.org discard:silently

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.