Open endelwar opened 7 years ago
From @stefaweb on December 8, 2016 8:59
New name for "clean.quarantine": /usr/sbin/ms-clean-quarantine
In /etc/MailScanner/defaults, variable for Quarantine Retention must be "q_days=0"
No need to delete ms-clean-quarantine.
From @stefaweb on January 4, 2017 13:8
More changes.
In mailscanner v4: /var/run/MailScanner/MailScanner.pid In mailscanner v5: /var/run/MailScanner.pid
No longer exist in mailscanner v5: /etc/MailScanner/wrapper -> /usr/share/MailScanner/MailScanner/wrapper/ /etc/MailScanner/autoupdate -> /usr/share/MailScanner/MailScanner/autoupdate/
From @stefaweb on January 8, 2017 10:58
More changes:
In conf.php:
For mailscanner v4: define('SA_PREFS', MS_CONFIG_DIR . 'spam.assassin.prefs.conf');
mailscanner v5: define('SA_PREFS', MS_CONFIG_DIR . 'spamassassin.conf');
From @stefaweb on January 8, 2017 13:33
Debian Jessie need more setup in Mailcanner.conf do works well with clamav, spamassassin and mailscanner.
Example for Exim + Apache.
Run As User = Debian-exim
Run As Group = Debian-exim
Incoming Work User = Debian-exim
Incoming Work Group = mtagroup
Incoming Work Permissions = 0660
Quarantine User = Debian-exim
Quarantine Group = mtagroup
Quarantine Permissions = 0644
In /etc/group:
mtagroup:x:1001:clamav,Debian-exim,mail,www-data
From @Skywalker-11 on January 18, 2017 16:33
Also the files /etc/MailScanner/bayes/bayes_*
should be owned by root:mtagroup when using postfix.
Else MailScanner --lint
will print errors that it can't access these files
From @stefaweb on December 6, 2016 8:44
The new version of MailScanner v5 need changes in Mailwatch documentation.
Will add more if found.
Copied from original issue: mailwatch/1.2.0#330