Re: check_recipient_access with exceptions

2011-12-01 Thread Vladimir Parkhaev
It is much easier that I thought. :) Thank you. Quoting Viktor Dukhovni (postfix-us...@dukhovni.org): > On Wed, Nov 30, 2011 at 08:38:13PM -0500, Vladimir Parkhaev wrote: > > Augment this: > > > smtpd_recipient_restrictions = > > check_recipient_access hash:/usr/local/etc/postfix/access,

Re: check_recipient_access with exceptions

2011-12-01 Thread Jeroen Geilman
On 2011-12-01 02:39, Viktor Dukhovni wrote: On Wed, Nov 30, 2011 at 08:38:13PM -0500, Vladimir Parkhaev wrote: Augment this: smtpd_recipient_restrictions = check_recipient_access hash:/usr/local/etc/postfix/access, reject_unauth_destination, permit As follows (and avoi

Re: check_recipient_access with exceptions

2011-11-30 Thread Viktor Dukhovni
On Wed, Nov 30, 2011 at 08:38:13PM -0500, Vladimir Parkhaev wrote: Augment this: > smtpd_recipient_restrictions = > check_recipient_access hash:/usr/local/etc/postfix/access, > reject_unauth_destination, > permit As follows (and avoid using "access", name each table after its

check_recipient_access with exceptions

2011-11-30 Thread Vladimir Parkhaev
Hello, I am running a mail relay that forwards all mail from some "management network" to a corporate MTA. For security reasons, my gateway is configured to relay mail only to internal destination addresses (us...@mydomain.com). There are a few exceptions and all "external" addresses must be