On Wed, 10 Jan 2007, JohnKelly wrote:

> When installing SpamAssassin, it gave the option to delete spam,

Spamassassin marks, it does NOT dispose. There's some automatic
infrastructure beyond spamassassin involved here. Can you give us some
more details about your MTA and how it delivers messages to use
mailboxes?

> Docs didn't seem to explain how to do this, so I'm not sure of
> SpamAssassin can do this or procmail (Linux server).

There's a sample spamassassin procmail script at 
http://www.impsec.org/~jhardin/antispam/

If you want to deliver high-scoring spams to a systemwide mailbox
rather than a per-user folder, you can change the bit where it looks
at the per-user Keep_All_Spams option, and change it to something like

  :0
  ! global_spambox_pseudouser

rather than

  :0
  $HOME/mail/SpamAssassin-INBOX

I would not recommend delivering directly to a systemwide mail folder, 
as that has access permission issues. It's simpler to set up a 
pseudo-user that gets nothing but high-scoring spam.

If you want to do it by default rather than by user opt-in, then 
disable the Keep_All_Spams test.

--
 John Hardin KA7OHZ                    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
-----------------------------------------------------------------------
 Windows and its users got mentioned at home today, after my wife the
 psych major brought up Seligman's theory of "learned helplessness."
                                             -- Dan Birchall in a.s.r
-----------------------------------------------------------------------
 7 days until Benjamin Franklin's 301st Birthday


Reply via email to