At 01:55 PM 11/6/2006, you wrote:

Create the user accounts (which is the simplest way to get it to start
accepting messages) and run sa-learn --spam against their mailboxes
from cron.daily.

Alternatively, create a single sa-honeypot user and redirect all your
targeted bad addresses to that account, and then run sa-learn --spam
against that one mailbox from cron.daily.


I hate when I miss the simple solutions..

Ok, so just to get a second (and third and so on opinion), I created a user on my system, named it spambucket. Aliased the garbage addresses to spambucket in /etc/postfix/aliases, then at midnight run

sa-learn --spam -u primaryuser --mbox /private/var/mail/spambucket

(primaryuser is my mail account).

For postfix is that correct? And then (yes, I know this is more a postfix question), can I simply delete - rm /private/var/mail/spambucket ?

I think I can string this on one line, ie

sa-learn --spam -u primaryuser --mbox /private/var/mail/spambucket & rm /private/var/mail/spambucket

Evan

Reply via email to