LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-27-2012, 08:54 AM   #1
deathsfriend99
Member
 
Registered: Nov 2007
Distribution: CentOS 6
Posts: 200

Rep: Reputation: 22
Amavis: invalid header: all-whitespace header field


I have a Debian Squeeze mail server that was recently updated from Etch > Lenny > Squeeze. After the updates amavis is sending messages to quarantine. I can't seem to figure out why!

Error: INVALID HEADER: FOLDED HEADER FIELD MADE UP ENTIRELY OF WHITESPACE

My /etc/amavis/conf.d/50-user has
$final_bad_header_destiny = D_PASS;
$bad_header_quarantine_to = undef ;

So it SHOULD be passing them. Any idea on what is going on here?

Other info. Running Postfix/Dovecot with Amavis/Clam/Spamassassin.
 
Old 02-01-2012, 06:06 PM   #2
rustek
Member
 
Registered: Jan 2010
Location: Melbourne, IA, USA
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 8
I run amavis-new and I don't have the directive in any of the config files.
Quote:
$bad_header_quarantine_to
If it is not in any of your other conf files, maybe just rem it out?

I see a space after undef but not sure if that matters.
.
 
Old 02-16-2012, 09:41 AM   #3
deathsfriend99
Member
 
Registered: Nov 2007
Distribution: CentOS 6
Posts: 200

Original Poster
Rep: Reputation: 22
I figured this out and figured I'd post to help anyone else who comes along this problem. Not sure how these settings got in the config after the update, but there were additional settings overriding my final_bad_header_destiny = D_PASS;

Code:
%final_destiny_by_ccat = (
   CC_VIRUS,      D_DISCARD,
   CC_SPAM,       D_DISCARD,
   CC_BANNED,     D_BOUNCE,
   CC_OVERSIZED,  D_BOUNCE,
   CC_BADH.',4',  D_BOUNCE,
   CC_BADH.',3',  D_BOUNCE,
   CC_BADH,       D_PASS,
   CC_UNCHECKED,  D_PASS,
   CC_CLEAN,      D_PASS,
   CC_CATCHALL,   D_PASS,
 );
This little nugget was also in there and was bouncing the bad header emails. Removed the CC_BADH.',4', D_BOUNCE, and CC_BADH.',3', D_BOUNCE, to fix.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the option field in IP header guam Programming 5 08-25-2011 04:52 AM
Want to add data in the header field of tcp/ip header Maitrikkshah Linux - Networking 1 08-06-2011 06:07 AM
error using RPM -header read field? tonywoptio Linux - Software 1 11-01-2005 05:14 PM
Adding Option field in IP header guam Linux - Networking 0 11-04-2004 10:17 AM
Setting TOS field in IP header malik_mca Programming 1 10-13-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration