Commit graph

44 commits

Author SHA1 Message Date
Gilles Darold
7dbc6c5301 Add documention and more explanation about the new MILTER_REJECT_REGEX configuration directive 2021-09-01 08:49:30 +02:00
Gilles Darold
ae48c4b5d2 Some recent browsers don't supports frames directly like Chrome or Safary
add information about adding the following to the Apache2 configuration file:
   Header always set X-Frame-Options "SAMEORIGIN"
Thanks to Daniel O'Connor for the report.
2021-04-06 21:57:26 +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
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
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
fcac264da6 Fix make clean to remove autogenerated man files. 2018-03-04 12:04:03 +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
Gilles Darold
533a03467e Update Apache configuration information and set default to 2.4 configuration. 2017-09-15 13:27:48 +02:00
Darold Gilles
7e42925b69 Add EXCLUDE_LINE configuration directive to exclude all lines matching a
regexp from being parsed. Character # in the regex need to be escaped with
a backslash. Use it to prevent unwanted line to be reported in Rejection reports.
2016-12-26 11:00:58 +01:00
Darold Gilles
e843d945f1 On some MTA, message delivery is done outside and only queuing is logged,
this mean that messages are counted as incoming but not delivered. Enable
new directive NO_QUEUE_EXCLUSION to force sendmailanalyzer to take them
as sent. Thanks to Cedric Saunier for the report.
2016-12-11 10:20:54 +01:00
Darold Gilles
5a9891b43c Fix installation. 2016-12-11 09:41:54 +01:00
Darold Gilles
bb2a958d03 Add NO_HOST_DOMAIN configuration directive. When activated, remove domain part
of the syslog hostname. Some programme use FQDN instead of the single hostname.
Set it to 1 if you have two report for the same hostname but one with the domain
part.
2016-05-04 22:04:34 +12:00
Darold Gilles
e43a96c25d Fix regexp in AMAVIS_NAME to detect amavis log lines. Thanks to enekux for the report. 2016-05-04 07:19:05 +12:00
Darold Gilles
5f9a95b458 Add sorttable.js javascript to be able to sort on each column in detailed views. Thanks to Siervo Andrey Amado Benavides for the patch. 2015-12-11 23:26:22 +01:00
Darold Gilles
a2bfd7b8fe Add documentation about JOURNALCTL configuration directive and the -j or --journalctl command line option. 2015-11-26 00:33:31 +01:00
Darold Gilles
216b96bf27 Add -F | --force command line option to be used instead of -f | --full to parse full log file without taking care or the history file LAST_PARSED. This is useful if you alaways have log files with fresh entries and log files comming from multiple host. Before that you had to remove the LAST_PARSED file before parsing a new log. Thanks to Sladjan Andjelic for the feature request. 2015-06-14 12:06:11 +02: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
56a1375c61 Fix type in configuration file 2015-05-13 11:51:44 +02:00
Darold Gilles
4b1dd79b1a Add support to postfix clamsmtpd virus and spampd detection. Thanks to Zdenek Zamecnik for the feature request. 2015-05-10 14:26:01 +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
0ae6cb958a Fix comment to MAIL_GW and MAIL_HUB where ip addresses must be used instead of DNS name. Thanks to Roger for the report. 2015-03-18 11:06:02 +01:00
Dalibo
8f1c733010 Add new configuration directives EXCLUDE_FROM and EXCLUDE_TO. 2014-11-13 22:27:29 +01:00
Darold Gilles
b16f4d4313 Add WEEKLY_FREE_SPACE configuration directive to force sa_cache to archive or remove data file each weeks instead of default per month. 2014-07-02 04:55:10 +02:00
Darold Gilles
5b86edd7b1 Add support to sqlgrey output. Report will be added under the Postgrey menu. POSTGREY_NAME is now set by default to postgrey|sqlgrey. Thanks to Dave Wreski for the feature request. 2014-03-15 00:04:42 +01:00
Darold Gilles
a16ea0bd0b Add new directive EXCLUDE_TO to be able to exclude from reports some destination addresses. Thanks to Bo Larsson and Dave Wreski for the feature request. 2014-03-12 21:35:16 +01:00
Darold Gilles
8463df0f1e Replace value of AMAVIS_NAME configuration directive with: amavis|maiad 2013-12-28 11:37:03 +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
Igor Vuk
741f1420cc Change all instances of 'coma' to 'comma' 2013-12-17 21:20:29 +01:00
Darold Gilles
017091f06c Add SPAMD_NAME directive to default configuration file. 2013-08-06 23:50:23 +02:00
Darold Gilles
2fdb49d460 Remove grafit.cgi from the file to install. 2013-05-07 19:05:24 +02:00
Darold Gilles
70ce5aec46 Remove GD perl modules from requirements as well as tje TTFONT configuration directive. 2013-03-24 10:27:10 +01:00
Darold Gilles
991b0dda3c Add URL_JSCRIPT to specify default url to the flotr2 javascript library. Add auto install of flotr2.js. 2013-03-22 19:25:25 +01: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
4e9cd3d0ba Add man page for sa_cache. Thanks to Lars Vogdt for the patch. 2013-01-06 12:15:06 +01:00
Darold Gilles
8c7c63890c Add SKIP_RCPT_RELAY configuration directive to bypass local delivery messages that double the count of messages. Default is dovecot. Thanks to Richard Victor Correia for the report. 2012-12-24 17:09:21 +01:00
Darold Gilles
d0ad7d9a70 Change install to copy sendmailanalyzer.conf.sample into the doc/ directory and copy sendmailanalyzer.conf into etc/ if none already exist. Thanks to Igor Vuk for the report. 2012-12-24 12:05:44 +01:00
Darold
55147509f8 Replace .orig extension into .sample. 2012-12-21 11:58:09 +01:00
Darold
4de838468d Fix spam report with spamd and add spamd to the SPAM_TOOLS configuration directive. Thanks to Bill V 2012-12-16 10:26:15 +01:00
Darold Gilles
11eee32486 sendmailanalyzer.conf will now be installed as sendmailanalyzer.conf.orig 2012-12-11 17:27:20 +01:00
Darold Gilles
b862cafccd Add two new configuration directives HTML_CHARSET and TTFONT to allow cyrillics character 2012-06-01 16:20:17 +02:00
Darold Gilles
cbc2f2ede7 Change default tail option into TAIL_ARGS configuration directive to use
the -F option instead of -f to follow logrotate actions - Sven Wehner
2012-03-15 09:55:58 +01:00
Darold
5761daf691 First git commit 2012-03-12 15:34:19 +01:00