procmail
[Top] [All Lists]

Re: ^TO and plussed addresses

1997-07-27 01:06:00
At 03:58 PM 7/26/97 -0500, David W. Tamkin wrote:
[snip]
Let's try this:

       * ^TO.*\+[^,]*(_at_)luomat\(_dot_)peak\(_dot_)org

as long as there are no commas between the plus sign and Timothy's domain,
we can figure that the plus sign is for his address.

I had thought that people said "don't use .* after ^TO".  Is it
needed here, or would:

        * ^TO\+[^,]*(_at_)luomat\(_dot_)peak\(_dot_)org

suffice?

It should also be noted that this still doesn't work with some "silly"
cases such as
        To: tjl+xxx("Hi there, Tim")@luomat.peak.org
which are legal, though not likely to be generated by any mailer's "reply"
function unless posted/mailed that way in the first place.

Cheers,
Stan

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