SqlGrey stop working

Questions and answers about how to do stuff
Post Reply
Odon Garma
Posts: 33
Joined: 08 May 2017 14:10

SqlGrey stop working

Post by Odon Garma »

SqlGrey is running but no greylisting is done. For result no
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0
or
X-Greylist: delayed 00:10:20 by SQLgrey-1.8.0
is added to the e-mail headers.

after some investigation i found an problem in /etc/postfix/main.cf.

under smtpd_recipient_restrictions i was using "check_recipient_access hash:/etc/posfix/recipient_access" to block invalid recipients.

the default action in recipient_access is "REJECT".

i added this option BEFORE "check_policy_service inet:127.0.0.1:2501"

the result is: sqlgrey is running but never called.

i switched the position in smtpd_recipient_restrictions to have check_recipient_access to be the last and sqlgrey is working fine!

Keep in mind
Greetz
Post Reply