X-Amavis-Alert: BANNED, message contains x.com

Thomas Barth tbarth at txbweb.de
Wed Jul 17 10:11:40 CEST 2024


Am 2024-07-16 20:21, schrieb Nick Tait:
> I believe the culprit is the following line in
> /etc/amavis/conf.d/20-debian_defaults:
> 
>> qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl)$'i, # banned extension -
>> basic
> 
> ...which is designed to block filenames that have a ".com" extension.
> i.e. You could try removing com from that expression?
> 
> Please also be aware of this one:
> 
>> # block certain double extensions anywhere in the base name
>> qr'\.[^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,
> 
> ...which could get a hit on directories that include ".com." in the
> name (e.g. if a directory was named "google.com.au").

This. I removed com from the expression. The mail was sent again and has 
now gone through.

Thomas B


More information about the amavis-users mailing list