procmail
[Top] [All Lists]

Re: Help with recipe

1996-04-12 09:41:08
At 07:05 96-04-12, John Black wrote:

I have procmail up and running, and all is well except this one problem.

And another one you haven't been bitten by yet.

I use procmail to forward mail sent to one domain to different mailboxes
with different ISPs. If the user(_at_)domain is not recognized, the mail is 
sent
to the master mailbox, but if the user(_at_)domain is listed, the mail is
forwarded to the appropriate address.

Everything work fine for my standard:

    :0
    *^TO*jbrown
    ! jbrown(_at_)ispone(_dot_)com

This won't work as written.  First, you probably mean:
    * ^TO.*jbrown
(notice the period -- procmail uses regular expressions, not shell file
globbing, syntax)

Second, this whole approach won't work for mail addressed to a user via
a mailing list, or as a BCC:.  There, the destination address does not
appear in the headers, only on the envelope, and procmail doesn't have
access to it.

My guess is that one of the two problems above is your observed problem.

--Hal
Hal Wine <hal(_at_)dtor(_dot_)com>     voice: 510/482-0597


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