l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
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

ok, i knew about man procmailrc, but not man procmailex.   after looking at
it, i think this would work:

# make a backup
:0 c
* !^From.*MAILER-DAEMON.*$ \
| !^Subject.*BOUNCE vox.*$ 

better to your eyes?  doesn't look as pretty, but it's still not awful.
the ".*$" should take care of spaces and comments finding their way into


begin: Ted Deppner <ted@psyber.com> quote
> On Thu, Nov 29, 2001 at 11:18:38AM -0800, Peter Jay Salzman wrote:
> >    # make a backup
> >    :0 c
> >    * ! ^From.*MAILER-DAEMON       |  # don't backup error msgs
> >      ! ^Subject.*BOUNCE vox          # don't backup bounce msgs
> >    backup
> > 
> > are lines continued automatically, or do i need an escape character like "\"?
> prolly, but you don't want a regex with all that whitespace.  
> > can comments go between conditionals like this?
> dunno for sure, but not really relevant given the last answer.
> > any problems anyone can see with this?
> man procmailex didn't show any snippets anywhere near that style.  I
> didn't have time to read it in detail, but you might take a peek.  I think
> the regex interpretation kills this whole style though.

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

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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.