Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mailwatch and MailScanner v5 #18

Open
endelwar opened this issue Mar 28, 2017 · 5 comments
Open

Mailwatch and MailScanner v5 #18

endelwar opened this issue Mar 28, 2017 · 5 comments

Comments

@endelwar
Copy link
Member

From @stefaweb on December 6, 2016 8:44

The new version of MailScanner v5 need changes in Mailwatch documentation.

  • clean.quarantine no longer exist
  • new configuration file: /etc/MailScanner/defaults
  • new symlink in /etc/MailScanner/: custom -> /usr/share/MailScanner/perl/custom

Will add more if found.

Copied from original issue: mailwatch/MailWatch#330

@endelwar
Copy link
Member Author

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.

@endelwar
Copy link
Member Author

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/

@endelwar
Copy link
Member Author

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');

@endelwar
Copy link
Member Author

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

@endelwar
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant