procmail
[Top] [All Lists]

Regexp don't match

2001-09-26 06:25:14
Hi there,

I have the following procmail rule, and I want to invert the regexp to don't
match the 'ext' variable, only inserting the extensions that the mail server
will accept, how I do that?

ws = '[         ]*($[   ]+)*'
dotstar = '.*($[        ].*)*'
dq = '"'
ext = '\.(scr|vbs|shs|bat|com|exe|pif|dll|mpe|mpg|mpeg|mp3|avi|mov|dat)'

:0 B
* $ ^Content-(Type|Disposition)*:${dotstar}name${ws}=${ws}${dq}.*${ext}${dq}
/tmp/rejected

Any help will be apreciated.

Thanks,

Matheus

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Regexp don't match, Matheus Soares <=