Dear Matt,

> Running openprotect on a relay-only sendmail box, I was wondering if
> there was a way to catch mail for a specific recipient to place in the
> bayes filter.  I have a few users that are no longer using their email
> addresses, and all they receive is spam.  These addresses would be very
> useful to kick start the bayes system, but they are relayed to an
> exchange server and from what I have read, the changed headers would
> muck up bayes.
>

        You can add a ruleset like this:

FromorTo:       [EMAIL PROTECTED]     [EMAIL PROTECTED]

in a ruleset file like /etc/MailScanner/rules/server.rules. In
/etc/MailScanner/MailScanner.conf,

Archive Mail = /etc/MailScanner/rules/server.rules

You can do this using MCP too.

 This will forward all mails to [EMAIL PROTECTED] to [EMAIL PROTECTED] All
those users not using their id's any more can be forwarded to
[EMAIL PROTECTED]

Then, you can do a cron job, wherein you do the following:

sa-learn --spam /var/spool/spam.

Hope this should do.

Cheers,
Karthikeyan, S.


Reply via email to