Re: Matching literal dot in To

LuKreme <[email protected]> Sun, 14 Jun 2015 10:11:22 -0700
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
LOG="$MATCH"

Inserting that would be quite useful so you see exactly what is being matched. This makes tweaking the patterns much easier.

-- 


> On Jun 13, 2015, at 16:21, Moby <[email protected]> wrote:
> 
> To header from email:
> To: "[email protected]" <[email protected]>
> 
> Recipe:
> :0w
> * ^TO_.*\<[^.@]+\.[^.@]+@
> 
> 
> Log:
> procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?).*\<[^.@]+\.[^.@]+@"