List Info

Thread: Bad Header warning




Bad Header warning
country flaguser name
Sri Lanka
2008-01-02 03:14:21
Dear All,

I have set the following configuration in amavisd.conf to
pass bad 
header mails to the local users.

$final_bad_header_destiny = D_PASS;


But still, some of the mails coming to our mail server are
quarantined 
with out delivering mails to users' mail boxes.

It gives the following error message.

WARNING: bad headers - MIME error: error: part did not end
with 
expected  boundary

Do you have any idea why this mails are not delivered to the
user mail 
box?

Regards
Chaminda Indrajith

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Bad Header warning
country flaguser name
Slovenia
2008-01-03 12:36:43
Chaminda Indrajith,

> I have set the following configuration in amavisd.conf
to pass bad
> header mails to the local users.
>   $final_bad_header_destiny = D_PASS;
> But still, some of the mails coming to our mail server
are quarantined
> with out delivering mails to users' mail boxes.
> It gives the following error message.
>   WARNING: bad headers - MIME error: error: part did
not end with
>   expected  boundary

Which version of amavisd-new?
Show the log, increase the log level if necessary (at least
2 or 3).

The $final_bad_header_destiny=D_PASS does not prevent
quarantining, it
only controls forwarding; quarantining has its own
independent controls.
Are you sure the message was not delivered? Perhaps it was
blocked
for some other reason (spam, virus, rejected by MTA, ...).

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Bad Header warning MIME::Parser error
user name
2008-03-03 23:45:48
Hello List,
i have one Problem with Amavis-new -2.5.3 (20071212)

Sometimes Mails were truncated . They ends within MailText
or in the 
Boundary  following error
occurs in the system log.


WARN: MIME::Parser error: part did not end with expected
boundary
local delivery: <> ->
<bad-header-quarantine>, 
mbx=/var/spool/amavis/virusmails/p/badh-pOfGDm2s-McE

I have set in the amavis.conf :
$final_bad_header_destiny = D_PASS;
bypass_header_checks_maps = 1;


The Mails were truncated via Amavis. If i turn off amavis
and send this 
messages they were passed trough.
What can i do to turn of those tests completlely


Thx

Frank
SPIEKERMANN GmbH
Beratende Ingenieure
Fritz-Vomfelde-Str. 12
D-40547 Düsseldorf
Germany
Geschäftsführung :
Dipl.-Ing Helmut Wanner
Prof. Dipl.-Ing. Günter Scherrer
Dipl.-Ing. Martin Borowski

Sitz und Registergericht:
Amtsgericht Düsseldorf HRB 30837


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Bad Header warning MIME::Parser error
country flaguser name
Slovenia
2008-03-04 11:58:04
Frank,

> i have one Problem with Amavis-new -2.5.3 (20071212)
>
> Sometimes Mails were truncated . They ends within
MailText or in the
> Boundary  following error occurs in the system log.
>
> WARN: MIME::Parser error: part did not end with
expected boundary
> local delivery: <> ->
<bad-header-quarantine>,
> mbx=/var/spool/amavis/virusmails/p/badh-pOfGDm2s-McE

Check the quarantined message. The MIME::Parser makes its
judgement quite reliably, so it can be believed that the
MIME structure of a message is indeed truncated or garbled.


> I have set in the amavis.conf :
> $final_bad_header_destiny = D_PASS;
> bypass_header_checks_maps = 1;
>
> The Mails were truncated via Amavis. If i turn off
amavis
> and send this messages they were passed trough.

Are you saying that with amavisd the message does not come
through? Most unlikely, since you have the 
  $final_bad_header_destiny = D_PASS;

But yes, the message _is_ quarantined - which does
not say that it is not passed to recipients as well.
You may turn off bad header quarantining if you like.

> What can i do to turn of those tests completlely

amavisd doesn't truncate messages. It must be something
else,
perhaps it is a bounce from a MTA containing a truncated
part
of the original message, so the (bounce) message is already
truncated when generated.

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )