View Single Post
Old 29th May 2013, 22:57
cbj4074 cbj4074 is offline
Senior Member
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts

I reached-out to the Postfix mailing list and one of the list's more accomplished contributors recommended strongly that I swap the order of two configuration directives, which are set "incorrectly" by default (I don't know whether by Ubuntu or by ISPConfig):

I strongly suggest that you swap the order of the following
two rules in

check_recipient_access mysql:/etc/postfix/,

This should be:

check_recipient_access mysql:/etc/postfix/,

Many open relay problems are caused by having an access table
before reject_unauth_destination.
If this Postfix misconfiguration issue is, in fact, at the root of this problem, I'm surprised that others have not had similar experiences with flooded Postfix queues. I'm still not convinced that these two configuration values are the problem. Only time will tell.

I also modified my fail2ban configuration so that "relay access denied" offenders are banned (the appropriate regular expression already exists in filter.d/postfix.conf).

In jail.local, the Postfix section now reads:


enabled = true
ignoreip =
port     = smtp,ssmtp
filter   = postfix
logpath  = /var/log/mail.log
bantime  = 3600
# service fail2ban reload
I'll see how these changes affect the observed behavior and update this thread when I know more.
Reply With Quote