l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2001 Dec 30 17:13

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] procmail question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] procmail question



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
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.