* The dkim_status ACL condition may now be used in data ACLs * The dkim_verbose logging control also enables logging of signing * The dkim_timestamps signing option now accepts zero to include a current timestamp but no expiry timestamp. * The recipients_max main option is now expanded. * Setting variables for "exim -be" can set a tainted value. * A dns:fail event. * The dsearch lookup supports search for a sub-path. * Include mailtest utility for simple connection checking. * Add SMTP WELLKNOWN extension. OBS-URL: https://build.opensuse.org/package/show/server:mail/exim?expand=0&rev=290
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
/var/log/exim/main.log {
|
|
compress
|
|
dateext
|
|
notifempty
|
|
missingok
|
|
create 640 mail mail
|
|
rotate 99
|
|
weekly
|
|
#maxage 365
|
|
prerotate
|
|
cd /var/log/exim
|
|
test -f /etc/sysconfig/exim && source /etc/sysconfig/exim
|
|
if test "$EXIM_REPORT_WEEKLY" = yes; then
|
|
day=`date +%Y%m%d`
|
|
report=weekly_report-$day
|
|
eximstatsdir=/srv/www/eximstats/$day
|
|
touch $report; chmod 640 $report; chown :mail $report
|
|
eximstats main.log > $report
|
|
if test "$EXIM_REPORT_WEEKLY_HTML" = yes; then
|
|
mkdir $eximstatsdir
|
|
eximstats -html -charts -chartdir $eximstatsdir main.log > $eximstatsdir/index.html
|
|
fi
|
|
if ! test -e no_report_mail && test "$EXIM_REPORT_WEEKLY_SEND" = yes; then mail -s "$(sed -n '2{p;q;}' < $report) ($(hostname))" postmaster < $report; fi
|
|
if test -f $report.gz; then old $report.gz; fi
|
|
gzip -f -9 $report
|
|
fi
|
|
endscript
|
|
}
|
|
|
|
/var/log/exim/reject.log {
|
|
compress
|
|
dateext
|
|
notifempty
|
|
missingok
|
|
create 640 mail mail
|
|
rotate 99
|
|
size 4M
|
|
#maxage 365
|
|
}
|
|
|
|
/var/log/exim/panic.log {
|
|
compress
|
|
dateext
|
|
notifempty
|
|
missingok
|
|
create 640 mail mail
|
|
rotate 99
|
|
size 1M
|
|
#maxage 365
|
|
}
|
|
|