Gnus development mailing list
 help / color / mirror / Atom feed
* nnmail-split-methods and regexps
@ 1997-09-22 13:53 Stefan Waldherr
  1997-09-22 16:42 ` Sudish Joseph
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Waldherr @ 1997-09-22 13:53 UTC (permalink / raw)
  Cc: Stefan Waldherr

Hi,

can some kind soul please give me a hint, howto get a logical AND in
nnmail-split-methods? I know from the manual, that

	("mail.crazy" "^Subject:.*die\\|^Organization:.*flabby") 

is a logical OR.

Will gnus match the following headers correctly?

# bounce forged/bogus ip addresses 
^Received:.*\[[0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])

# dont't match
!^X-Mailer:.Pegasus Mail

Thanks,
Stefan.
-- 
Stefan Waldherr                office +1 (412) 268-3837
                                  fax +1 (412) 268-5576
                               e-Mail swa@cs.cmu.edu
                                  www http://mind.learning.cs.cmu.edu/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nnmail-split-methods and regexps
  1997-09-22 13:53 nnmail-split-methods and regexps Stefan Waldherr
@ 1997-09-22 16:42 ` Sudish Joseph
  0 siblings, 0 replies; 2+ messages in thread
From: Sudish Joseph @ 1997-09-22 16:42 UTC (permalink / raw)


Stefan Waldherr writes:
> can some kind soul please give me a hint, howto get a logical AND in
> nnmail-split-methods? I know from the manual, that

> 	("mail.crazy" "^Subject:.*die\\|^Organization:.*flabby") 

> is a logical OR.

Use nnmail-split-fancy instead, it allows for this and much more.  To
chain conditions using n-s-fancy, you could use it's recursive nature:

("to" "foo" ("from" "bar" "mail.baz"))

-Sudish


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-22 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-22 13:53 nnmail-split-methods and regexps Stefan Waldherr
1997-09-22 16:42 ` Sudish Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).