<quote who="Tim Legant"> > "Concordio M. Pajayat, Jr." <[EMAIL PROTECTED]> writes: > >> I'm getting an annoying format on my email messages. Below are the email >> headers from one of the SPAM: > > [...] > >> Message-ID: <[EMAIL PROTECTED]/vprx/?oberlon" target="_blank"> > > [...] > >> Now, I want to drop these SPAMs using the Message-ID header. What is the >> proper syntax so that SPAMs with these header Message-ID: >> <[EMAIL PROTECTED]/vprx/?oberlon" would be drop by TMDA? I >> tried using this filter rule: >> >> headers 'Message-ID:\s*<.+(www.medzrx.biz)>' drop >> >> but it seems that this does not work. Any inputs or suggestions would be >> appreciated. > > You're saying that the character right after the 'z' (in 'biz') must > be a '>' in order to match. But it's not, in your example. > > Try this: > > headers 'Message-ID:\s*<.+www.medzrx.biz' drop > > > Tim >
Thanks a lot Tim! I am not really good on regular expressions be it on Python or PERL. |-- "Go beyond the quest for information!" - http://www.pilnet.com/ |-- Sent through PILNET WebMail System - http://webmail.pilnet.com/ _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
