Christopher Rüprich writes:


> Appending
>
> ALLOW_0=BLOCK2
>
> to the esmtpd configuration file, and restarting, should end up with
> this stuff getting recorded in the headers.

Thank you. This is working for now, but the resulting header is quite
misleading:

Authentication-Results: mail.con-data.net;
    dnswl=pass dns.zone=pbl.spamhaus.org
    policy.ip=127.0.0.10
    policy.txt="https://www.spamhaus.org/query/ip/79.203.70.161";


Also the name of the variable (in my case BLOCK2) is not mentioned. That makes it hard to distinguish between whitelist and blacklist

It shouldn't be hard to distinguish between a whitelist and a blacklist. If it were a blacklist (BLOCK), the mail would get rejected by the server. At this point, you no longer see any blacklisted sources.

As far as identifying the variables, you should be able to conclusively determine which one is which by looking at dns.zone and policy.ip. It might get hairy when there are multiple entries, which is possible, but it should be possible to concoct a regular expression to figure it out.

Attachment: pgpmVKPwS2gbw.pgp
Description: PGP signature

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to