Can you have Exim also check RBL's on smtp level?

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,984
Location
Maastricht
I was just wondering and did some Zenhaus tests and then I encountered this result:
This email was delivered, but it should have been rejected during the SMTP session. Your MX is not configured to use SMTP-level block listing for the block list for this test.

Seems this is normal with panels, because there is the same kind of quetsion on the CP forums (click).

This makes me wonder why an MTA should try to deliver mail that is on an RBL, or why it should and now I have 2 questions.

1.) Is it wise to reject during SMTP settings, so maybe blacklisted servers also do not get our mail addresses for example? Or is it better to not use SMTP level block listing and why not.

2.) If it's wise to do, how do we implement/activate this in Directadmin?
 
Yes, rejecting at SMTP time is generally preferable: you avoid accepting then bouncing, reduce backscatter, and stop the session before DATA. The trade-off is false positives, so use reputable DNSBLs, whitelist known senders, and never block authenticated/local traffic. In Exim, add a dnslists check in an ACL such as acl_smtp_rcpt, or earlier in acl_smtp_connect, with a clear deny message. For DirectAdmin, apply the ACL customization through its supported Exim override/local config mechanism if available; otherwise edit exim.conf carefully after backing it up. Validate with exim -bh and reload Exim. Avoid relying on one RBL without monitoring.
 
Back
Top