A BUGNOTE has been added to this bug.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000104
======================================================================
Reported By:                gonecrazy
Assigned To:                
======================================================================
Project:                    DBMail
Bug ID:                     104
Category:                   LMTP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             18-Oct-04 23:03 CEST
Last Modified:              19-Oct-04 08:29 CEST
======================================================================
Summary:                    Apostrophe in From address dosn't get delivered
Description: 
If someone sends a message to a server running dbmail-lmtpd and there is a
apostrophe in the from address (my'[EMAIL PROTECTED]) the deamon truncates
the address at the apostrophe, and then refuses the mail becuase of
in-proper address.
======================================================================

----------------------------------------------------------------------
 aaron - 19-Oct-04 08:29 CEST 
----------------------------------------------------------------------
The problem is that the apostrophe is not among the valid characters for an
LMTP stream. Once the apostrophe arrives, the rest of the line appears to
be ignored. From lmtp.c:

static const char validchars[] =
    "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
    "[EMAIL PROTECTED]&*()-+=~[]{}<>:;\\/ ";

Try adding an apostrophe into that list someplace (doesn't matter where)
and recompile. Let us know if that works!

Bug History
Date Modified  Username       Field                    Change              
======================================================================
18-Oct-04 23:03gonecrazy      New Bug                                      
19-Oct-04 08:29aaron          Bugnote Added: 0000317                       
======================================================================

Reply via email to