I've sent  requested info via "reply to author" link, thanks!


John D. Hardin wrote:
> 
> On Wed, 10 Jan 2007, JohnKelly wrote:
> 
>> I'm not sure about the MTA... running sendmail on a FreeBSD
>> server.
> 
> ...and discussing procmail implies procmail is your delivery agent. 
> Okay.
> 
>> 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".
> 
> Good.
> 
>> I'm guessing the above code goes into the procmailrc file -- or is
>> it a drop-in replacement?
> 
> The way it's intended to be used is you drop it into /etc/procmail/ 
> and edit it to match your MTA config (hostnames, local networks, 
> etc.), and then in the global /etc/procmailrc or in the per-used 
> $HOME/.procmailrc files you add:
> 
>   INCLUDERC=/etc/procmail/spamassassin.procmail
> 
> There's some log trolling involved, so it's intended to occur before 
> any procmail "DROPPRIVS=yes" commands occur.
> 
> So if you want to implement SA for all your users, drop it into 
> /etc/procmail/, edit the hostnames and local network(s) to match your 
> situation (you might need to look at the headers in an email you've 
> received to gte the Received header details right), and near the top 
> of /etc/procmailrc add the above INCLUDERC= command. 
> 
> Again, if you want everybody's high-scoring spam to go to the 
> pseudo-account by default, you'll have to take out the per-user 
> Keep_All_Spams test, and change the handling of the spams.
> 
> If you send me offlist a copy of the headers from a sample inbound
> message, and list whatever private network ranges you're using, I'll 
> make those changes for you.
> 
>> ## 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)
> 
> Is that the global /etc/procmailrc, or a per-user $HOME/.procmailrc?
> 
> If you decide to use the script I provide, you'll want to turn off the 
> scripting that the "spamassassin vinstall" has added. I don't know 
> what's doing that, so I can't make any recommendations there.
> 
> --
>  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
> 
> 
> 

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

Reply via email to