Commit graph

303 commits

Author SHA1 Message Date
Gilles Darold
fb9df7310a Update Changelog and version to 9.3. 2019-08-08 08:50:57 +02:00
Gilles Darold
d72ae1c1e3 Add support to Eset Mail Security reporting Virus and Spam detection.
Thanks to Peter Mares for the feature request.
Fix bug on extracting subject starting with Fwd: or Re:
Remove code for parsing ipv6 addresses in data files, it should be no
more used as character : is replaced by _ in ipv6 address at storage
time.
2019-08-06 23:59:37 +02:00
Gilles Darold
6ba9d845c7 Fix Top Spam statistic when click to open detail sender relay was not
shown. Thanks to biji for the report.
2019-02-12 09:08:45 +01:00
Gilles Darold
f916d2fcf6
Merge pull request #69 from biji/patch-4
fix postfix amavis log contains no Message-ID
2019-02-12 08:24:36 +01:00
biji
1a05ce0719 queue-id 2019-02-08 11:02:27 +07:00
biji
7c76be4b37 $id always = queue-id 2019-02-07 15:37:34 +07:00
biji
4c68c480bf Merge remote-tracking branch 'upstream/master' into patch-4 2019-02-06 17:05:15 +07:00
biji
16be72affa fix postfix amavis log contains no Message-ID 2019-02-06 17:05:03 +07:00
Gilles Darold
c145fd5112 Take care of reject case for PR #67 2019-02-04 08:54:30 +01:00
Gilles Darold
b5abbdf545
Merge pull request #67 from biji/patch-3
sender relay for RBL Check detail report
2019-02-04 08:51:07 +01:00
biji
e658db6b34 sender relay for RBL Check detail report 2019-02-04 11:54:57 +07:00
Gilles Darold
5022b3f500
Merge pull request #66 from biji/patch-2
parse amavisd-new spam detail and autolearn
2019-01-30 21:53:46 +01:00
biji
102d771920 parse amavisd-new spam detail and autolearn 2019-01-30 13:53:57 +07:00
Gilles Darold
54ea1fd12d
Merge pull request #65 from biji/patch-1
fix parsing barracuda rbl
2019-01-29 12:22:24 +01:00
biji
423e87dcda
fix if there is no ; 2019-01-29 18:00:56 +07:00
biji
12191656df
Update sendmailanalyzer
fix parsing:
Client host [1.1.1.1] blocked using b.barracudacentral.org; Client host blocked using Barracuda Reputation, see http://www.barracudanetworks.com/reputation/?r=1&ip=1.1.1.1
2019-01-29 13:01:26 +07:00
Gilles Darold
e047022336 Fix calendar that was not displaying last week. Thanks to Pete Sherwin Villanueva for the report. 2019-01-05 16:11:07 +01:00
Gilles Darold
6aa4f9ce6e Fix percent values of hbar graphs 2018-12-14 11:41:32 +01:00
Gilles Darold
d6353ee075 Add new configuration directive RELAY_IP_ONLY to only store recipient or
sender relay as Ip addresses. Actually when possible sendmailanalyzer
extract the fqdn part of the relay not the Ip address. Enable this
directive if you just want Ip addresses.
2018-12-10 17:21:41 +01:00
Gilles Darold
797391edb9 Add support to MimeDefang filter_check_header that discard message
following mail header score. Thanks to Hans Mayer,for the report.
Add report of all recipients addresses for spam with multiple recipients
as when messages are discarded they all have the same ID. This was
resulting in the right count of senders but wrong count of recipients.
Note that in this case the spam received counter is still related to
senders count as they are not sent. Thanks to Hans Mayer for the report.
2018-12-02 19:02:34 +01:00
Gilles Darold
97b2f3176b Update README using: pod2text doc/sendmailanalyzer README. 2018-07-23 16:16:09 +02:00
Gilles Darold
6ac6c19afd Fix documentation about systemd start script. Thanks to Kenneth Fribert for the report. 2018-07-23 16:14:16 +02:00
Gilles Darold
709a398708 Add parsing of SPF/DKIM log entries. Thanks to r-sherwood for the feature request. 2018-06-17 23:47:16 +02:00
Gilles Darold
39bf967922 Added database lookup of virtual domains, so sendmailanalyzer is not
limited to the LOCAL_DOMAIN configuration directive. This is useful
for mailserver which have virtual users and domains in their database
and therefor no static configuration. Here are the new configuration
directives added to the sendmailanalyzer configuration file and their
explanation:

  - VIRTUAL_DOMAIN_DB	DBI:mysql:database=mailserver:host=localhost

Leave this unconfigured if you don't have virtual domains in a database
set up or set the value to a valid Perl DBI DSN (data source name). Here
this is a connection to a MySQL database so it require that Perl module
DBI and DBD::MySQL are installed on your system.

  - VIRTUAL_DOMAIN_DB_USER and VIRTUAL_DOMAIN_DB_PASS

The user and password to use to connect to the database.

  - VIRTUAL_DOMAIN_DB_QUERY	SELECT name FROM virtual_domains

The SQL query to use to retrieve the list of virtual domain that will
be appended to the LOCAL_DOMAIN array. See LOCAL_DOMAIN for more
information.

Thanks to thinksilicon for the patch.
2018-06-17 16:05:08 +02:00
Gilles Darold
3e946bed05 Altered DNSBL regex to match "Helo command [host.name] blocked using ..." in combination with reject_rhsbl_helo config option of postfix. Thanks to thinksilicon for the patch. 2018-06-17 14:51:14 +02:00
Gilles Darold
d3fb6b5024 Change pie graph to bar graph for top senders and recipient. Thanks to Jonathan Baker-Bates for the feature request. 2018-06-17 14:40:28 +02:00
Gilles Darold
b527049edd Fix ipv6 placeholder in top reports and csv export. 2018-06-15 17:58:58 +02:00
Gilles Darold
e6c57dda51 Fix code to handle the exceptional case where a new log has the same size of the old one. 2018-06-15 12:28:45 +02:00
Gilles Darold
ab7518f041 Fix top postgrey week caching. 2018-06-14 17:22:33 +02:00
Gilles Darold
1eab0acbcb Fix new log file with the exact same size than the previous one that was not parsed. 2018-06-14 16:43:09 +02:00
Gilles Darold
f64590a1d5 Forgot to add clean_relay() function. 2018-06-14 16:41:13 +02:00
Gilles Darold
e480d63b0c Apply ipv6 fix when reading files. 2018-06-11 23:34:12 +02:00
Gilles Darold
d0d325d864 Improve previous patch. 2018-06-11 23:31:03 +02:00
Gilles Darold
b6d1df6d93 Fix possible data file corruption with ipv6 addresses. Thanks to Eneko for the report. 2018-06-11 22:28:13 +02:00
Gilles Darold
ca5b12cb25 Change clean_relay() function to handle ipv6 addresses. 2018-06-11 22:13:59 +02:00
Gilles Darold
d51853e160 Fix relay cleaning on postgrey logs. 2018-06-10 11:01:04 +02:00
Gilles Darold
4363c4c15e Fix postfix parsing of spam reject. 2018-06-09 11:18:35 +02:00
Gilles Darold
fcac264da6 Fix make clean to remove autogenerated man files. 2018-03-04 12:04:03 +01:00
Gilles Darold
6ab535bf8e Update copyright year. 2018-01-28 17:32:36 +01:00
Gilles Darold
8194e534c1 Change default HTML charset to utf-8 instead of iso-8859-1. Thanks to Philippe Schlumpf for the report. 2018-01-28 17:29:46 +01:00
Gilles Darold
ff2e0ad635 Add translation for delivery flow with new Unknow direction. 2018-01-05 01:04:41 +01:00
Gilles Darold
735de35d3e Change set_direction() function. 2018-01-05 01:02:50 +01:00
Gilles Darold
24074c50c8 Try to automatically skip verbose mode in postfix that pollute the log and generate lot of wrong SysErr. Thanks to Kenneth Fribert for the report. 2018-01-05 01:01:27 +01:00
Gilles Darold
ac6daeb7a4 Allow file path as value for LOCAL_DOMAIN configuration directive.
The file must contain the list of domain naname that must be checked
against the sender/recipient relays, one perl line. Thanks to Steffan
Noord for the feature request.
2017-11-21 17:27:13 +01:00
Darold Gilles
4eb40a9574 Fix case where a message was stored as not delivered, now a message that is not queued on localhost is considered as delivered. Thanks to enekux for the report. 2017-11-16 16:53:27 +01:00
Darold Gilles
88d501ed24 Fix delivery direction when only LOCAL_DOMAIN was set. Thanks to enekux for the report. 2017-11-15 23:44:17 +01:00
Darold Gilles
76cda01d9f Fix direction in cache, changes from sendmailanalyzer was not reported into set_direction. 2017-10-02 16:40:40 +02:00
Gilles Darold
7ea5dd79d0 Fix duplicate of recipient entries in detailled view when the message sent was also been registered as spam. Thanks to Paul Cantle for the report. 2017-09-15 23:59:00 +02:00
Gilles Darold
cf30e95e27 Fix wrong report of DNSBL Spam blocked that was inluding all 550 5.7.1 messages even those not related to RBL. It now attempts to find keywords "see" or "listed" in the rejection status. 2017-09-15 23:09:51 +02:00
Gilles Darold
b008420421 Fix missing translation and empty links in main menu, Perl since 5.26 does not include current directory . into the @INC array. Thanks to Enrico Morelli for the report. 2017-09-15 13:32:34 +02:00