A BUGNOTE has been added to this bug.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000248
======================================================================
Reported By:                idk
Assigned To:                
======================================================================
Project:                    DBMail
Bug ID:                     248
Category:                   LMTP daemon
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             16-Aug-05 15:40 CEST
Last Modified:              17-Aug-05 02:22 CEST
======================================================================
Summary:                    Multiple delivers when one of recipients exceeds a 
quota
Description: 
When message has more local rcpts on the same server and one rcpt has full
mailbox, message is delivered into all mailboxes but this full one,
postfix reports

status=deferred (lost connection with 127.0.0.1[127.0.0.1] while sending
end of data -- message may be sent more than once)

for all recipients, inserts message into queue and repeatedly postfix
delivers message into all mailboxes (but full one).
======================================================================

----------------------------------------------------------------------
 aaron - 16-Aug-05 20:42 CEST 
----------------------------------------------------------------------
Sounds like a crash. Please set TRACE_LEVEL=5 and post a more detailed log
of the incident.

----------------------------------------------------------------------
 idk - 17-Aug-05 00:27 CEST 
----------------------------------------------------------------------
Attached maillog.txt with hints for tracelevel 5 is here. Child got signal
11 and restarted.

----------------------------------------------------------------------
 idk - 17-Aug-05 00:56 CEST 
----------------------------------------------------------------------
IMHO dsnuser_worstcase_int is collated from aggregated flags has_2 (for
nonquoted mailbox) and has_5_2 (for quoted mailbox) as DSN_CLASS_QUOTA,
returned is dsn.class = DSN_CLASS_FAIL, dsn.subject = 2, and dsn.detail =
2, but without resolution which user had problem.

First, by design, LMTPD could not to accomplish to return valid response
(215 for nonquota mailbox and 552 (or 451?) for quota mailbox), second, it
crashes in this case.

----------------------------------------------------------------------
 aaron - 17-Aug-05 01:53 CEST 
----------------------------------------------------------------------
Well, I spoke to the LMTP daemon on my box and got this:

522 Recipient <[EMAIL PROTECTED]> (null) Mailbox Status Mailbox full
Connection closed by foreign host.

I figure your version of glibc is being less hospitable about that null
string pointer. Reading over the code, I can't figure out how that value
is null! I'll start stuffing traces and printf's into a few functions and
see what I can get.

----------------------------------------------------------------------
 idk - 17-Aug-05 02:22 CEST 
----------------------------------------------------------------------
Ok.

Workaround for multiple delivers into nonquoted mailboxes I found in

lmtp_destination_concurrency_limit = 1
lmtp_destination_recipient_limit = 1

settings in postfix's main.cf file. But this solution is not ideal due
physmessage duplicity in dbmail_messageblks table.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
16-Aug-05 15:40idk            New Bug                                      
16-Aug-05 20:42aaron          Bugnote Added: 0000831                       
17-Aug-05 00:21idk            File Added: maillog.txt.gz                    
17-Aug-05 00:27idk            Bugnote Added: 0000832                       
17-Aug-05 00:56idk            Bugnote Added: 0000833                       
17-Aug-05 01:53aaron          Bugnote Added: 0000834                       
17-Aug-05 02:22idk            Bugnote Added: 0000835                       
======================================================================

Reply via email to