Commit graph

46 commits

Author SHA1 Message Date
Gilles Darold
7609c9e981 Change the Perl shebang to use path in env. Thanks to Daniel O'Connor 2021-04-06 21:33:08 +02:00
Gilles Darold
8a84e2a74d Update copyright year 2020-08-12 09:07:31 +02:00
Gilles Darold
e4abc0868f Update ChangeLog and version to 9.4 2020-08-12 09:00:13 +02:00
Darold Gilles
246a09b50c Add configuration directive POSTSCREEN_DNSBL_THRESHOLD to set the
threshold to detect case where postscreen reject an ip address. By
default  reject: RCPT from ... are not logged by postfix, we mark the
message as DNSBL rejected when DNSBL rank value is upper or equal.
Default: 3.  Thanks to Hasan Calisir for the feature request.
2019-11-12 16:50:30 +01:00
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
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
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
ab7518f041 Fix top postgrey week caching. 2018-06-14 17:22:33 +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
6ab535bf8e Update copyright year. 2018-01-28 17:32:36 +01:00
Gilles Darold
735de35d3e Change set_direction() function. 2018-01-05 01:02:50 +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
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
Darold Gilles
316c44a793 Update year in copyright. 2017-01-22 13:10:09 +01:00
Darold Gilles
e12d37fbe5 Update ChangeLog and version to 9.2 2016-01-17 17:02:56 +01:00
Darold Gilles
6ef7684d24 Update copyrights. 2016-01-17 16:50:55 +01:00
Darold Gilles
b40ff9ee54 Update Debian package and documention in packaging/README. Thanks to Nicolas Quiniou-Briand for the report. 2015-06-14 11:04:06 +02:00
Darold Gilles
0e99829160 Update copyright year. 2015-06-14 10:17:28 +02:00
Darold Gilles
9915eb4174 Add report of subject in detailed view when available in log file. Thanks to Tsioritafita RAHAJANISAINANA for the feature request. 2015-04-26 12:27:49 +02:00
Darold Gilles
b8e485ca3c Update ChangeLog and version to 9.1 2015-04-18 10:57:19 +02:00
Darold Gilles
91400fe160 Add STARTLS status caching. 2015-03-18 18:55:40 +01:00
Darold Gilles
409c36b9cc Add STARTLS status report. Thanks to Hans Mayer for the feature request. 2015-03-18 15:08:49 +01:00
Darold Gilles
e0c05f0438 Remove rejected mail from top senders statistics. Thanks to Michal Paulus for the report. 2015-02-18 14:49:30 +01:00
Darold Gilles
8a5aae565b Allow freeing space per week instead of month, this will help saving space on huge MTA. 2014-07-02 04:32:38 +02:00
Darold Gilles
3fd928364e Add error message when the archive command can not be achieved. 2014-06-13 02:48:12 +02:00
Darold Gilles
7697709e68 Update changelog and version to 9.0 2014-03-15 14:39:57 +01:00
Darold Gilles
6d9cf622b4 Restore and fix postgrey statistics that was broken since 8.1. 2014-03-14 20:25:58 +01:00
Darold Gilles
872b968106 Add support to postfix/policyd-weight antispam. Thanks to Michael Seevogel for the feature request. 2013-12-18 23:13:24 +01:00
Darold Gilles
ad2bbdfc81 Revome set direction about uucp like localhost. 2013-05-12 22:44:10 +02:00
Darold Gilles
b0f8ecef16 Add uucp relay as internal delivery 2013-05-04 12:40:05 +02:00
Darold Gilles
50e6942b80 Add cache for week view and fix major bug with number of senders and recipient. 2013-05-03 12:42:17 +02:00
Darold Gilles
3639652149 Renamed PID_FILE directive into PID_DIR to be less confusing and fix default path, backward compatibility with old configuration file is preserved. Thanks to Thomas Merlin for the report. 2013-02-06 15:22:51 +01:00
Darold
9a14fdae8e Update Changelog and version to 8.7 2013-01-05 00:38:53 +01:00
Darold
8d27ce35bc Change copyright year. 2013-01-04 23:57:12 +01:00
Darold Gilles
93498b4b3b Update version to 8.6 2012-12-27 15:55:17 +01:00
Darold
7dbde993cb Add missing spamd historical report in sa_cache. Thanks to Bill V for the report. 2012-12-17 17:14:03 +01:00
Darold
2bfc0c0d2a Update version to 8.5 2012-12-16 11:07:46 +01:00
Darold Gilles
43e51873e8 Change version number to 8.4, Changelog and documentation 2012-07-13 16:41:14 +02:00
Darold
4e72fc1a0e Fix a bug in Top Authid where number was always 1 - Dan Szkola 2012-06-04 16:18:56 +02:00
Darold Gilles
272d3e050f Change version number to 8.3 and Changelog 2012-06-01 16:42:34 +02:00
Darold Gilles
095e334e26 Fix major bug in sa_cache that reported truncated stats 2012-06-01 13:26:56 +02:00
Darold
5761daf691 First git commit 2012-03-12 15:34:19 +01:00