[GH-ISSUE #11] policyd-weight support #9

Closed
opened 2026-05-05 14:58:12 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ms217 on GitHub (Dec 3, 2013).
Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/11

Hi!
we are using sendmailanalyzer on most of our mailservers and really like the benefits of this software to analyze the mailflow.

However, we are using on a couple machines also policyd-weight to fight spam. policyd-weight is a policy-service for postfix which works pretty well.

On such machines the policyd-weight maillog records are being counted as Syserr.
So, is it possible to add support to sendmailanalyzer, or alternatively exclude such messages from counting as Syserror?

Some examples of policyd:

postfix/policyd-weight[8552]: weighted check:  IN_DYN_PBL_SPAMHAUS=3 IN_SBL_XBL_SPAMHAUS=4 IN_SPAMCOP=2 IN_BARRACUDA=4; <client=1-163-218-184.dynamic.hinet.net[1.163.218.184]> <helo=ss-a959f2b015ee> <from=coltpunk@wikimedia.org> <to=xxx.xxx@xxx.org>; rate: 13
postfix/policyd-weight[647]: decided action=550 Mail appeared to be SPAM or forged. Ask your Mail/DNS-Administrator to correct HELO and DNS MX settings or to get removed from DNSBLs (multirecipient mail); <client=unknown[178.23.204.126]> <helo=host126-204.net23-178.net.connetti.it> <from=fax-021213-voice@webde.de> <to=xxx.xxx@xxx.org>; delay: 0s
postfix/policyd-weight[8583]: decided action=DUNNO  using cached result; rate: -9.5; <client=mout.gmx.net[212.227.15.19]> <helo=mout.gmx.net> <from=xxx.xxx@xxx.org> <to=xxx.xxx@xxx.org>; delay: 0s

Thank you!

Regards,
Mike

Originally created by @ms217 on GitHub (Dec 3, 2013). Original GitHub issue: https://github.com/darold/sendmailanalyzer/issues/11 Hi! we are using sendmailanalyzer on most of our mailservers and really like the benefits of this software to analyze the mailflow. However, we are using on a couple machines also policyd-weight to fight spam. policyd-weight is a policy-service for postfix which works pretty well. On such machines the policyd-weight maillog records are being counted as Syserr. So, is it possible to add support to sendmailanalyzer, or alternatively exclude such messages from counting as Syserror? Some examples of policyd: ``` postfix/policyd-weight[8552]: weighted check: IN_DYN_PBL_SPAMHAUS=3 IN_SBL_XBL_SPAMHAUS=4 IN_SPAMCOP=2 IN_BARRACUDA=4; <client=1-163-218-184.dynamic.hinet.net[1.163.218.184]> <helo=ss-a959f2b015ee> <from=coltpunk@wikimedia.org> <to=xxx.xxx@xxx.org>; rate: 13 ``` ``` postfix/policyd-weight[647]: decided action=550 Mail appeared to be SPAM or forged. Ask your Mail/DNS-Administrator to correct HELO and DNS MX settings or to get removed from DNSBLs (multirecipient mail); <client=unknown[178.23.204.126]> <helo=host126-204.net23-178.net.connetti.it> <from=fax-021213-voice@webde.de> <to=xxx.xxx@xxx.org>; delay: 0s ``` ``` postfix/policyd-weight[8583]: decided action=DUNNO using cached result; rate: -9.5; <client=mout.gmx.net[212.227.15.19]> <helo=mout.gmx.net> <from=xxx.xxx@xxx.org> <to=xxx.xxx@xxx.org>; delay: 0s ``` Thank you! Regards, Mike
Author
Owner

@darold commented on GitHub (Dec 3, 2013):

Hi,

It seems possible but I need much more log line to be sure of what should be done. Could you send me a log which contains lines with spam detected and not detected ? For complete privacy, please send it to my personal address.

Regards,

<!-- gh-comment-id:29743369 --> @darold commented on GitHub (Dec 3, 2013): Hi, It seems possible but I need much more log line to be sure of what should be done. Could you send me a log which contains lines with spam detected and not detected ? For complete privacy, please send it to my personal address. Regards,
Author
Owner

@darold commented on GitHub (Dec 18, 2013):

Last commit 872b968 add this feature.

<!-- gh-comment-id:30887043 --> @darold commented on GitHub (Dec 18, 2013): Last commit 872b968 add this feature.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/sendmailanalyzer#9
No description provided.