Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| email:mailscanner [2025/06/16 09:41] – willy | email:mailscanner [2025/07/24 14:00] (current) – willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== N) Mail Scanner ====== | ====== N) Mail Scanner ====== | ||
| + | |||
| + | **Note:** this page is a work in progress (abandoned at this time) and only a general guideline, as i choose not to install any antivirus or spam scanning tools at the moment. | ||
| [[https:// | [[https:// | ||
| Line 15: | Line 17: | ||
| cd MailScanner-xxx | cd MailScanner-xxx | ||
| ./ | ./ | ||
| + | ln -s / | ||
| + | rc-update add msmilter-init default | ||
| </ | </ | ||
| Line 52: | Line 56: | ||
| 628 | 628 | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ====== Install MailWatch ====== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | Follow docs [[https:// | ||
| + | |||
| + | / | ||
| + | < | ||
| + | Always Looked Up Last = & | ||
| + | Detailed Spam Report = yes | ||
| + | Quarantine Whole Message = yes | ||
| + | Quarantine Whole Messages As Queue Files = no | ||
| + | Include Scores In SpamAssassin Report = yes | ||
| + | Quarantine User = root | ||
| + | Quarantine Group = apache (this should be the same group as your web server) | ||
| + | Quarantine Permissions = 0660 | ||
| + | </ | ||
| + | |||
| + | Set queues permissions: | ||
| + | <code bash> | ||
| + | usermod -a -G postfix apache | ||
| + | chmod g+rx / | ||
| + | chmod g+rx / | ||
| + | chgrp postfix / | ||
| + | chgrp postfix / | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||