[vox-tech] procmail question

Peter Jay Salzman vox-tech@lists.lugod.org
Fri, 30 Nov 2001 10:04:18 -0800


wow.  now i am truly embarrassed.  but grateful.  thanks, matt.

pete


begin: Matt Roper <matt@mattrope.com> quote
> I think it would be better to write your rule like this:
> 
>     :0 c
>     * !^From.*MAILER-DAEMON
>     * !^From.*nobody@spamcop.net
>     * !^From.*vox.*-admin
>     * !^Subject.*BOUNCE vox
>     backup
> 
> Each rule is AND'd together, so a message will only go into your backup
> folder if each rule is true.  You don't want to OR the conditions
> together because then the only messages you are excluding from your
> backup folder are the ones that fail all the tests.
> 
> 
> Matt
> 
> On Thu, Nov 29, 2001 at 11:18:38AM -0800, Peter Jay Salzman wrote:
> > i have a few questions about procmail.  if you know any of them,
> > please feel free to jump in:
> > 
> >    # make a backup
> >    :0 c
> >    * ! ^From.*MAILER-DAEMON       |  # don't backup error msgs
> >      ! ^From.*nobody@spamcop.net  |  # don't backup spamcop msgs
> >      ! ^From.*vox.*-admin         |  # don't backup admin requests
> >      ! ^Subject.*BOUNCE vox          # don't backup bounce msgs
> >    backup
> > 
> > 
> > are lines continued automatically, or do i need an escape character
> > like "\"?
> > 
> > can comments go between conditionals like this?
> > 
> > any problems anyone can see with this?
> > 
> > thanks, pete
> > 
> > -- 
> > PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
> > PGP Public Key:  finger p@dirac.org
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> 
> -- 
> 
> **********************************
> * Matt Roper <matt@mattrope.com> *
> * http://www.mattrope.com        *
> **********************************
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
PGP Public Key:  finger p@dirac.org