On 2/11/25 16:26, Wietse Venema via Postfix-users wrote:
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
Looking at that now.
That mime_header_checks file is so old I'd forgotten it was even there.
--
Phil Stracchino
Fenian House Publishing
ph...@caerllewys.net
p...@co.ordinate.org
Landline: +1.603.293.8485
Mobile: +1.603.998.6958
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org