On Tuesday 17 Nov 2015 20:50:32 Koko Wijatmoko wrote:
> On Tue, 17 Nov 2015 12:44:12 +0000
> Neil Smith <neil.post...@njae.me.uk> 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 restarted postfix afterwards.

> what inside your /etc/postfix/recipient_checks?

That was at the bottom of the message:



/etc/postfix/recipient_checks
-----------------------------

# Reject messages with these recipient addresses
user.bann...@example.com REJECT
user.ban...@example.com REJECT
user.bann...@example.com REJECT
user.bann...@example.com REJECT
person.ban...@example.com REJECT


Testing the map:
----------------

root@pserver:/etc/postfix# postmap -q user.va...@example.com 
hash:/etc/postfix/recipient_checks
root@pserver:/etc/postfix# postmap -q user.ban...@example.com 
hash:/etc/postfix/recipient_checks
REJECT

Reply via email to