A BUGNOTE has been added to this bug.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000216
======================================================================
Reported By:                mavetju
Assigned To:                
======================================================================
Project:                    DBMail
Bug ID:                     216
Category:                   Command-Line programs (dbmail-users, dbmail-util)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-Jun-05 02:59 CEST
Last Modified:              16-Jun-05 01:14 CEST
======================================================================
Summary:                    malformed header prevents delivery
Description: 
I received an email with the following header (hexdump output):

<pre>
0000480   s   t   a   t   e   c   h   a   m   b   e   r   s   .   n   e
0000490   t   >  \n   S   u   b   j   e   c   t   :       T   r   a   d
00004a0   i   n   g       P   o   s   t       A   u   t   o       a   d
00004b0       f   r   o   m       S   h   a   n   e  \r      \n   D   a
00004c0   t   e   :       T   h   u   ,       2       J   u   n       2
</pre>

There is a space between the \r and the \n. consume_header_line() fail on
it:

<pre>
Jun  6 10:06:35 kermit dbmail/smtp[38579]: header.c,consume_header_line:
error reading header line
Jun  6 10:06:35 kermit dbmail/smtp[38579]: main.c,main splitmessage
failed
</pre>

The message stays in the queue as TEMPFAIL.

The attached patch resolves it.
======================================================================

----------------------------------------------------------------------
 mavetju - 11-Jun-05 11:27 CEST 
----------------------------------------------------------------------
Is there need for further information with regarding to this issue?

----------------------------------------------------------------------
 mavetju - 16-Jun-05 01:14 CEST 
----------------------------------------------------------------------
Is there need for further information with regarding to this issue?

Bug History
Date Modified  Username       Field                    Change              
======================================================================
06-Jun-05 02:59mavetju        New Bug                                      
06-Jun-05 02:59mavetju        File Added: patch-tradingpost.com.au              
      
11-Jun-05 11:27mavetju        Bugnote Added: 0000734                       
16-Jun-05 01:14mavetju        Bugnote Added: 0000745                       
======================================================================

Reply via email to