Tomas wrote:

>> Even the SpamAssassin tests show that there was something weird
>> with the mail header (INVALID_MSGID, MISSING_HEADERS, no To or Cc),
>> so it looks the mail header was indeed somehow broken, or maybe
>> just genuinely submitted like that.
>>
>> Did the message arrive from outside, regularly through SMTP,
>> or was it generated locally and submitted on the same host?
>> Examining the message carefully could tell what happened.
>>
>>
>> There is no need to quarantine mail with bad headers (except as
>> a troubleshooting aid), if it is being delivered anyway:
>>
>>  $final_bad_header_destiny = D_PASS;
>>  $bad_header_quarantine_to = undef;
>>

> That's how I turn off quarantining. But what about when I want to turn off
> the this check generally?  @bypass_header_checks_maps = (1); does not work
> for me now, because I still have mails in /var/virusmails/ quarantined
> because of bad headers found - the same as described above.

It should work unless you are using LDAP or SQL and have
bypass_header_checks set to "N".

> I thaught, that when I turn off generally the check, mails cannot be
> quarantined, because the check is not performed. Strange.

You might consider setting $log_level to 5 for a message or two, then
grep the log:

# grep bypass_head /var/log/maillog

Jul 25 08:10:16 mail amavis[15877]: (15877-01) lookup (bypass_header_checks) => 
true,
 "[EMAIL PROTECTED]" matches, result="1", matching_key="(constant:1)"

> I have $final_bad_header_destiny = D_PASS and  $bad_header_quarantine_to
> on default value (not present in amavisd.conf).

The default is to quarantine locally.

> Tomas

Gary V



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to