From 42d34fc8bae1114ebd093bbeacd94b7b4917bf37 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 13 Mar 2004 16:17:19 +0000 Subject: Revert to ignoring bad characters in headers - too many MUAs do this wrong. --- amavis/amavisd.conf.addon | 5 +++-- amavis/amavisd.conf.addon.in | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'amavis') diff --git a/amavis/amavisd.conf.addon b/amavis/amavisd.conf.addon index ee03872..9e0ec26 100644 --- a/amavis/amavisd.conf.addon +++ b/amavis/amavisd.conf.addon @@ -5,7 +5,7 @@ # /etc/local-COMMON/amavisd.conf.addon # Copyright 2002 Jonas Smedegaard # -# $Id: amavisd.conf.addon,v 1.28 2004-03-11 10:29:14 jonas Exp $ +# $Id: amavisd.conf.addon,v 1.29 2004-03-13 16:17:19 jonas Exp $ # # AMaViS configuration file addon (Debian package "amavisd-new") # @@ -45,7 +45,8 @@ if ( -f $local_domain_file ) { $final_virus_destiny = D_BOUNCE; $final_banned_destiny = D_BOUNCE; $final_spam_destiny = D_BOUNCE; -$final_bad_header_destiny = D_BOUNCE; +# But ignore bad headers +$final_bad_header_destiny = D_PASS; $virus_admin = "virusalert\@$mydomain"; $spam_admin = "spamalert\@$mydomain"; diff --git a/amavis/amavisd.conf.addon.in b/amavis/amavisd.conf.addon.in index 472fa23..91700f4 100644 --- a/amavis/amavisd.conf.addon.in +++ b/amavis/amavisd.conf.addon.in @@ -3,7 +3,7 @@ # /etc/local-COMMON/amavisd.conf.addon # Copyright 2002 Jonas Smedegaard # -# $Id: amavisd.conf.addon.in,v 1.9 2004-03-11 10:29:14 jonas Exp $ +# $Id: amavisd.conf.addon.in,v 1.10 2004-03-13 16:17:19 jonas Exp $ # # AMaViS configuration file addon (Debian package "amavisd-new") # @@ -43,7 +43,8 @@ if ( -f $local_domain_file ) { $final_virus_destiny = D_BOUNCE; $final_banned_destiny = D_BOUNCE; $final_spam_destiny = D_BOUNCE; -$final_bad_header_destiny = D_BOUNCE; +# But ignore bad headers +$final_bad_header_destiny = D_PASS; $virus_admin = "virusalert\@$mydomain"; $spam_admin = "spamalert\@$mydomain"; -- cgit v1.2.3