Postfix+rbl restrictions-postmaster/abuse not getting complaints
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ah! False positive! Got it. Ok, so what you might mean is that you sometimes get an unintended answer to an RBL query; perhaps your ISP gets involved and tries to be "helpful" by converting an empty DNS response to a pointer to one of their web servers, in effect giving a false positive. If this is your concern, here is something you can do. RBLs -- at least the ones I use -- publish a list of their possible responses, and what they mean. For example, Spamhaus' is here. So, if I were looking up an IP address on zen.spamhaus.org, I expect an answer in the range 127.0.0.2 - 127.0.0.11. You can test this by doing the lookup manually. To see whether the IP address a.b.c.d has an A-record with zen.spamhaus.org, execute
Code:
dig d.c.b.a.zen.spamhaus.org
If you're querying your ISP's DNS servers, you might get a (false positive) response, but it will not be in the expected range. Now, to tell postfix about the list of possible answers, you would put the following in main.cf:
Ah, sorry. I read your post again (did you change it from the first time?). Ok, so you have to whitelist the recipient (abuse) before acting on the rbl checks. You can do that by putting all restriction lists under smtpd_recpient_restrictions.
You're welcome. The point is that you need to have a rule to whitelist the abuse recipient early on, so it won't be subjected to any of the other access restrictions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.