[Exim] Bug in handling received_headers_max

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jochen Erwied
Date:  
À: Exim Mailinglist
Sujet: [Exim] Bug in handling received_headers_max
Version: Exim 4.30

I just came across a problem which seems to be related to handling
received_headers_max.

Some mailinglists come over a lot of hops. Due to internal forwarding,
some of these mails get some more Received:headers locally. Some mails
get rejected due to 'possible mail loops'. These mails have only 16
headers, which should not exceed the internal limit of 30.

After changing the value of 'received_headers_max' to 25, mails with
13 Received:-headers are rejected as possible loops.

In both cases, this is exactly one larger than received_headers_max/2.

So it seems as if the count for this header is increased twice for
each occurrence. (Variable $received_count)

A quick check of the source gives two lines where the variable is
increased (in receive.c and spool_in.c), but only initialized once in
receive.c. So it might be a missing iniitialization in spool_in.c.


Mit freundlichen Grüßen aus Krefeld,
With best regards from Krefeld,

MBS GmbH
Jochen Erwied

--
MBS GmbH              E-Mail: Jochen.Erwied@???
Roemerstr. 15         Phone: +49-2151-7294-0
47809 Krefeld         Fax:   +49-2151-7294-50
Visit our homepage:   http://www.mbs-software.de


Light&Building 2004, Frankfurt/Main: 18.04.2004 - 22.04.2004
Gemeinschaftsstand der BACnet Interest Group Europe e.V.
Halle 9.1 Stand B55