On Mon, 6 Nov 2006, Evan Platt wrote: > 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?
No idea, I herd Sendmail cats. > And then (yes, I know this is more a > postfix question), can I simply delete - rm /private/var/mail/spambucket ? You can, but I like the idea of keeping the corpa around for review and retraining should it become necessary. > 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 I think you want to use && instead of & for that. "&&" is "proceed only if the preceding step succeeded", where "&" would background the sa-learn and then immediately get rid of the file you told it to process. -- John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/ [EMAIL PROTECTED] FALaholic #11174 pgpk -a [EMAIL PROTECTED] key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- The difference between ignorance and stupidity is that the stupid desire to remain ignorant. -- Jim Bacon ----------------------------------------------------------------------- Tomorrow: the campaign ads stop