procmail
[Top] [All Lists]

Re: Addresses

1996-02-23 16:25:44
On Fri, 23 Feb 1996, Bob Weissman wrote:

You need to say

    ((synergy\.)?Destek\.net|torah\.org)

or else this regexp will match "toraborg" and "synergy3DestekQnet".

Understood...

What about the following?

        :0
        * ^From: owner-.*@((synergy\.)?Destek\.net|torah\.org)

#I get things from owner-lifeline, owner-pg-con, etc etc...I want any of 
#those to match if they come from the host; will this do it properly?

        * ^Subject: .*(BOUNCE)

# Also, what's the difference here between .* and just regular *? I want 
# anything with Bounce in the Subject to match...

        Project-Genesis/Need\ Approval

        :0
        * ^From: majordomo@((synergy\.)?Destek\.net|torah\.org)
        * ^TO*(-approval)

# I want anything that is going to lifeline-approval and pg-con-approval 
#to match. Will this do it properly? What if I had ^TO.*(-approval)? 

        Project-Genesis/Subscriptions

        :0
        * ^PG-Message: *

# What about here? Obviously, if it has the header of PG-Message:, I want 
#it to match, no matter what the header contains. What's the difference 
#between .* and just regular *?

        Project-Genesis/Lists


Thanks,

 ------------------------------------------------------------------------- 
 | Brock Rozen | brozen(_at_)netvoyage(_dot_)net | 
http://www.netvoyage.net/~brozen | 
 | Check out my Auto-Reply System -- Send me mail with subject SEND HELP |
 ------------------------------------------------------------------------- 

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