John D. Hardin wrote:
> 
> 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.
> 
> 

I'm not sure about the MTA... running sendmail on a FreeBSD server.

Actually I was planning on forwarding to a pseudo-user, by setting up a POP
account for [EMAIL PROTECTED] and then redirecting all spam to that "user".

I'm guessing the above code goes into the procmailrc file -- or is it a
drop-in replacement? FYI my file is below:

## begin spamassassin vinstall (do not remove these comments)
## edits inside this block may be reverted at upgrade. Edit at your own
risk!

TMPLOGFILE=$LOGFILE
TMPLOGABSTRACT=$LOGABSTRACT
TMPVERBOSE=$VERBOSE

DROPPRIVS=yes
LOGFILE=/dev/null
LOGABSTRACT=yes
VERBOSE=no

:0fw
|/usr/local/bin/spamc -U /var/run/spamd.sock 

LOGFILE=$TMPLOGFILE
LOGABSTRACT=$TMPLOGABSTRACT
VERBOSE=$TMPVERBOSE
## end spamassassin vinstall (do not remove these comments)



-- 
View this message in context: 
http://www.nabble.com/Re-route-spam-for-all-users-to-a-single-mailbox--tf2953672.html#a8263986
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to