[Dovecot] 2.0.7 (0757f4f5b882): LMTP Server refuses queued mail

Thomas Leuxner tlx at leuxner.net
Sun Nov 28 10:39:19 EET 2010


Am 28.11.2010 um 09:01 schrieb Stan Hoeppner:

> http://www.dovecot.org/list/dovecot-cvs/2009-April/013190.html
> 
> Below, I believe, is the code generating the error.  And it seems you're
> absolutely right about the 128KB issue.  It seems the lmtpd is trying to
> append the mail to "/tmp/dovecot.lmtp." if the email is greater than
> 128KB.  Is it possible the permissions you have on /tmp aren't
> compatible with lmtpd?

Strange. I haven't changed the permissions, and there is also enough space to accommodate >128k mails :)

# ls -ald /tmp/; df -h /tmp/
drwxrwxrwt 3 root root 5120 Nov 28 09:25 /tmp/
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg0-tmp   248M   11M  226M   5% /tmp

Narrowing down the issue a bit. With the code that was present on Nov 22, those Newsletter mails worked (needless to say config wasn't changed):

Nov 22 14:43:46 spectre postfix/qmgr[6175]: 20F194088: from=<subscriptions at lists.juno.co.uk>, size=485127, nrcpt=1 (queue active)
Nov 22 14:43:46 spectre clamsmtpd: 100080: from=subscriptions at lists.juno.co.uk, to=tlx at leuxner.net, status=CLEAN
Nov 22 14:43:46 spectre postfix/smtp[18915]: 0A89E4086: to=<tlx at leuxner.net>, relay=127.0.0.1[127.0.0.1]:10025, delay=3.9, delays=2.6/0.01/0.05/1.3, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 20F194088)
Nov 22 14:43:46 spectre postfix/smtpd[18917]: disconnect from localhost[127.0.0.1]
Nov 22 14:43:46 spectre postfix/qmgr[6175]: 0A89E4086: removed
Nov 22 14:43:46 spectre postfix/lmtp[18919]: 20F194088: to=<tlx at leuxner.net>, relay=spectre.leuxner.net[private/dovecot-lmtp], delay=1.4, delays=1.3/0.01/0/0.07, dsn=2.0.0, status=sent (250 2.0.0 <tlx at leuxner.net> wpSLISRy6kzISQAAqZii3w Saved)
[…]

At that time system was running on:

Nov 21 07:34:36 spectre dovecot: master: Dovecot v2.0.7 (f5bec4e94b55) starting up

Conclusion: some change in between broke it.



More information about the dovecot mailing list