procmail
[Top] [All Lists]

Re: Multiple From Addresses

1997-05-14 09:41:00
Burnt Norton <bnorton(_at_)mastaler(_dot_)com> writes:
Why doesn't this recipe work?  Procmail just ignores it and the messages
sent From these addresses land in my inbox.  It should be obvious what I
want to do from the syntax even if it's incorrect.

:0:
* ^From (owner-freebsd-announce|owner-freebsd-security-notifications)
$HOME/Mail/freebsd-announce

I had to resort to this which does work for now, but isn't ideal since
it's so general.

:0:
* ^From *owner-freebsd 
$HOME/Mail/freebsd-announce

I'm using procmail v3.10 1994/10/31

Does this work?

        :0:
        * ^From +(owner-freebsd-announce|owner-freebsd-security-notifications)
        $HOME/Mail/freebsd-announce

If so, your problem is that the mail system is sticking an extra space
in (strange...).  If not, you'll need to provide the "From " lines of
messages that don't match but should.

Philip Guenther

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