Phil Stracchino via Postfix-users: > On 2/11/25 14:53, Phil Stracchino wrote: > > On 2/11/25 14:48, Florian Piekert wrote: > >> Amazon.com in the filename. > >> > >> .com extension. > >> > >>> > >>> /name=[^>]*\.(bat|com|exe|dll|vbs|xls|zip)/ REJECT > > > > > > I imagine I should make that regexp: > > > > /name=[^>]*\.(bat|com|exe|dll|vbs|xls|zip)\b/ > > > > (should a \b work here?) > > actually $ would be better than a \b, wouldn't it?
Please have a look at the exmaple in https://www.postfix.org/header_checks.5.html#examples Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org