Fri, 02 Jul 2004, by robin1.listas@tiscali.es:
Hi,
I have some rules in "/etc/postfix/header_checks" to reject windows executables; but they are not working, they are being handled by amavis_new. How do I restore header_checks to scan before amavis_new?
The Postfis header- and bodychecks will always be done before piping the mail to the content-filter. If they're not working there's something wrong with these checks. To disable the amavis checks read amavis.conf # * leave $banned_filename_re undefined to disable these checks # (giving an empty list to new_RE() will also always return # false) $banned_filename_re = new_RE( qr'\.[a-zA-Z][a-zA-Z0-9]{0,3}\.(vbs|pif|scr|bat|com|exe|dll)$'i, Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. + ICQ: 277217131 SUSE 9.1 + Jabber: gurp@nedlinux.nl Kernel k_athlon-2.6.4 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +