Spam Free "Archive Mail"

Glenn Steen glenn.steen at gmail.com
Wed Sep 12 13:46:22 IST 2007


On 12/09/2007, Graham S. Jarvis <gsjarvis at infoservers.net> wrote:
>
>
>
>  Glenn Steen wrote on 10/09/2007 12:05:
>  On 10/09/2007, Graham S. Jarvis <gsjarvis at infoservers.net> wrote:
>
>
>  Hello All,
>
> I have tried to google the list for help on how to get the spam out of
> the "Archive Mail" files.
> The only thing I could find was:
> (http://lists.mailscanner.info/pipermail/mailscanner/2006-March/059056.html)
> but DrewB doesn't seem to be around any more.
>
> Does anyone have a similar script because it sounds like a good way to
> do sa-learn's as well.
>
> Is there a switch in the conf for doing this, Julian?
>
>  Although I'mm certainly not Jules, I think it is safe to say: No, there
> isn't.
>
>  And I don't suppose anyone else is interested in such a feature. . . . .
>  So, there's not much chance of it ever becoming a config switch - shame!
>
>  If you need an "after scanning archive", you are much better off doing
> that with the Actions (Non-spam, spam, high scoring spam... or
> similar... Recent releases have ... made this more flexible:-). Simply
> store everything (for a while) and use the nonspam quarantine as your
> archive;).
>
> Cheers
>
>  Can you expand on this please.
>  I thought these were "just" logging actions.
>
>  Many Thanks,

If you use "store" in any of them, the messages that "hit" that action
will be put in the quarantine. Or you could use a setting like
"forward mailarchive at yourdomain.tld" to pass every message into a
separate mail (archive) account.
If you use MailWatch, accessing the messages in the non-spam (and
non-virus, for that matter) is then very easy. Just a matter of
"point-and-click":-).
The downside with that type of archiving (as indeed also for the
Archive Mail setting) is that it will consume a fair amount of disk.

Since you can use the non-spam quarantine for what you want, there
really is no need for a "Keep Archive Clean" setting;-).

You'll find the messages in something like
/var/spool/MailScanner/<date>/nonspam/<queue ID> ... If you don't
quarantine the messages as queue files (this is a requirement of
MailWatch), they will be plain text RFC822 files.

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list