3.0.1.5: cron.hourly email is sent when there are files in /etc/MailScanner/conf.d
Posted: 24 Sep 2016 00:22
The subject says it all.
With our custom files in /etc/MailScanner/conf.d, cron.hourly email is sent every hour.
Contents of files:
Remove the files from the directory and cron.hourly emails stop.
Append the file contents to /etc/MailScanner/MailScanner.conf and there is no email from cron.hourly.
Not sure why it does not like %rules-dir% in the .conf files...
With our custom files in /etc/MailScanner/conf.d, cron.hourly email is sent every hour.
Code: Select all
drwxr-xr-x. 2 root root 4096 Sep 20 16:05 .
drwxr-xr-x. 6 root root 4096 Sep 21 16:38 ..
-rw-r--r-- 1 root root 100 Sep 20 15:12 filename.conf
-rw-r--r-- 1 root root 100 Sep 20 15:12 filetype.conf
-rw-r--r--. 1 root root 1118 Oct 3 2013 README
-rw-r--r-- 1 root root 48 Sep 20 16:05 scan.messages.conf
-rw-r--r-- 1 root root 46 Sep 20 16:00 spam.actions.conf
Code: Select all
Allow Filenames = %rules-dir%/filename.allow.rules
Deny Filenames = %rules-dir%/filename.deny.rules
Allow Filetypes = %rules-dir%/filetype.allow.rules
Deny Filetypes = %rules-dir%/filetype.deny.rules
Scan Messages = %rules-dir%/scan.messages.rules
Spam Actions = %rules-dir%/spam.actions.rules
Append the file contents to /etc/MailScanner/MailScanner.conf and there is no email from cron.hourly.
Not sure why it does not like %rules-dir% in the .conf files...