1

Topic: Sending Mail to MailMArchiva after SPAM scan

==== Required information ====
- iRedMail version: 0.8.6
- iRedAdminPro: 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04.03LTS Server
- Related log if you're reporting an issue:
====

I am using MailArchiva to archive all incoming and outgoing mail, a kilter to send mail to MailArchiva.
In my main.cf file I have the following:

# MailArchiva link
milter_default_action = tempfail
smtpd_milters = inet:10.11.90.99:8092

The problem is that the mail is send to MailArchiva BEFORE it is scanned and flagged as SPAM, with the result that there is a huge amount of spam in the mail archives.

Is there a way to configure it so that mail is send AFTER it has been scanned and flagged as SPAM with a '***SPAM*** in the subject line? With the ***SPAM*** flag, I can filter out the spam and not clutte rip the archive


Regards

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sending Mail to MailMArchiva after SPAM scan

Did you try put those two lines after all smtpd_*_restrictions ?

Did you chenge something in the master.cf file?