Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Neil Smith
On Tuesday 17 Nov 2015 15:50:22 Viktor Dukhovni wrote: > On Tue, Nov 17, 2015 at 03:26:55PM +, Neil Smith wrote: > > > On Tuesday 17 Nov 2015 14:43:50 Viktor Dukhovni wrote: > > > > > > smtpd_recipient_restrictions = > > > > permit_sasl_authenticated > > > > permit_mynetworks > > > > pe

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Viktor Dukhovni
On Tue, Nov 17, 2015 at 03:26:55PM +, Neil Smith wrote: > On Tuesday 17 Nov 2015 14:43:50 Viktor Dukhovni wrote: > > > > smtpd_recipient_restrictions = > > > permit_sasl_authenticated > > > permit_mynetworks > > > permit_mx_backup > > > check_recipient_access hash:/etc/postfix/rec

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Neil Smith
On Tuesday 17 Nov 2015 09:37:44 Wietse Venema wrote: > Put check_recipient_access at the BEGINNING of smtpd_recipient_restrictions. Thank you, that seems to have fixed it. But... On Tuesday 17 Nov 2015 14:43:50 Viktor Dukhovni wrote: > > smtpd_recipient_restrictions = > > permit_sasl_authe

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Viktor Dukhovni
On Tue, Nov 17, 2015 at 12:44:12PM +, Neil Smith wrote: > Postfix seems to be ignoring the smtpd_recipient_restrictions = > check_recipient_access instruction. Yes, "seems". Postfix does not ignore its configuration. It does exactly what it is configured to do. You really should choose a

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Wietse Venema
Neil Smith: > When an email is only RCPT TO one of the turned off addresses, the > smtpd_recipient_restrictions = check_recipient_access instruction > _should_ (I think) tell Postfix to reject the message. But the > messages still end up in my inbox. ... > smtpd_recipient_restrictions = permit_sasl

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Neil Smith
On Tuesday 17 Nov 2015 21:04:00 Koko Wijatmoko wrote: > On Tue, 17 Nov 2015 13:56:01 + > Neil Smith wrote: > > > > did you ran postmap for the hash table? > > > > Yes, several times, and restarted postfix afterwards. > > > is the file permission allow postfix to read it? Yes. root@pserver

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Koko Wijatmoko
On Tue, 17 Nov 2015 13:56:01 + Neil Smith wrote: > > did you ran postmap for the hash table? > > Yes, several times, and restarted postfix afterwards. > is the file permission allow postfix to read it?

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Neil Smith
On Tuesday 17 Nov 2015 20:50:32 Koko Wijatmoko wrote: > On Tue, 17 Nov 2015 12:44:12 + > Neil Smith wrote: > > > Postfix seems to be ignoring the smtpd_recipient_restrictions = > > check_recipient_access instruction. > > > did you ran postmap for the hash table? Yes, several times, and res

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Koko Wijatmoko
On Tue, 17 Nov 2015 12:44:12 + Neil Smith wrote: > Postfix seems to be ignoring the smtpd_recipient_restrictions = > check_recipient_access instruction. > did you ran postmap for the hash table? what inside your /etc/postfix/recipient_checks?