User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
email:mailscanner [2025/06/16 09:41] willyemail:mailscanner [2025/06/16 09:51] (current) willy
Line 15: Line 15:
 cd MailScanner-xxx cd MailScanner-xxx
 ./install.sh ./install.sh
 +ln -s /usr/lib/MailScanner/init/msmilter-init /etc/init.d/
 +rc-update add msmilter-init default
 </code> </code>
  
Line 52: Line 54:
 628       inet  n                               qmqpd 628       inet  n                               qmqpd
 </code> </code>
 +
 +
 +====== Install MailWatch ======
 +
 +[[https://mailwatch.org/|here]]. 
 +
 +Follow docs [[https://docs.mailwatch.org/install/installing.html|here]].
 +
 +/etc/MailScanner/MailScanner.conf:
 +<code>
 +Always Looked Up Last = &MailWatchLogging
 +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
 +</code>
 +
 +Set queues permissions:
 +<code bash>
 +usermod -a -G postfix apache
 +chmod g+rx /var/spool/postfix/hold
 +chmod g+rx /var/spool/postfix/incoming/
 +chgrp postfix /var/spool/postfix/incoming
 +chgrp postfix /var/spool/postfix/hold
 +</code>
 +
 +
 +
 +

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information