APF/Firewall Causing Mail Errors

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
Previously I was running Chirpy's ConfigServer firewall and after a while I noticed that no mail was leaving the server. Disabling this allowed mail to send correctly again so we switched back to APF.

APF has been fine for months however its now doing the same thing. No mail has been leaving our server successfuly, after running APF -F I can see the mail queue decreasing nicely.

Has anyone else had this problem or know whats causing it?

Thanks
 

jamesbond

Well-Known Member
Oct 9, 2002
737
1
168
I don't use APF anymore, but in CSF I would make sure you have SMTP_BLOCK disabled:

# Block outgoing SMTP except for root, exim and mailman (forces scripts/users
# to use the exim/sendmail binary instead of sockets access). This adds the
# protection as WHM > Tweak Settings > SMTP Tweaks, which are lost when using a
# firewall configuration script
SMTP_BLOCK = "0"

Not sure if APF has a similar setting.