procmail
[Top] [All Lists]

Re: Spam Bouncing + Forwarding?

2001-01-31 10:35:55
Quoting Paul Marxhausen <pmarxhausen(_at_)unl(_dot_)edu>:
I've installed the Spam Bouncer and am impressed with how
well it works, but there is an additional function I'm
hoping to make it do that I know procmail should find
trivial . . . but I'm not sure it can be done with a
couple simple changes to the Spam Bouncer script or whether
it would take a LOT of editing.

Here's the thing: I've set up a new Linux e-mail server for a
church & school.  MOST of the staff who I've given e-mail
accounts to, already have other e-mail accounts that they
use for their "normal" e-mail.  At the moment, if this is
the case, I simply have dropped a .forward file into their
account to send any mail on to their preferred account
for reading mail.

NOW, I'd like to have the Spam Bouncer procmail system
filter their incoming e-mail.  That would work fine but
the e-mail that makes it through will just end up in
their local mail folders . . . but I want to have it
filtered and then forwarded elsewhere, if they desire
this.
Not difficult.  You would just have to do a forward in the part of your
procmail receipe that would normally deliver it to their DEFAULT
mailbox.  You probably should lookup how you should add a X-Loop to the
mail headers so there are no forwarding loop problems.  But something
like this will do the forward:

::
*^(From|Bcc|Cc|To)(_dot_)*JOE_USER(_at_)THIS\(_dot_)DOMAIN
! joe_users_other_email(_at_)another(_dot_)domain

Some good advice (that I think I got from info on Spam Bouncer) is:
"Sort out mail that really is to you from mail Bcc'd to you, or mail
which doesn't have any of your email addresses on the To: or Cc: line.
This does =wonders= in keeping spam from appearing in your personal
mail. :)"  So basically, this part above is where you would have been
delivering to the DEFAULT mailbox.

-Doug

-- 
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Douglas L. Potts  Spectral Systems, Inc. Url: http://www.bigfoot.com/~pottsdl
"Debating unix flavors in the context of anything Microsoft is like talking
about which ice cream flavor tastes least like sawdust with turpentine sauce."
--(void) in alt.sysadmin.recovery
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>