[Dovecot] Deliver sending bounces from 'MAILER-DAEMON@'

Erland Nylend erland.nylend at lyse.no
Fri May 11 19:09:16 EEST 2007


Hello Timo,

On 2007-05-11, 16:18, Timo Sirainen wrote:
> > It seems to me that dovecot is sending bounce messages from
> > 'MAILER-DAEMON@' ..
> 
> It says to=<MAILER-DAEMON@> so I'd guess the Return-Path: header in the
> message was that?

Thanks for the reply. I've managed to reproduce it. 

If I send a bounce to an account over quota ("mail from" set to <>),
then dovecot sends a bounce on the bounce, to "MAILER-DAEMON@":

| # telnet localhost 25
| Trying 127.0.0.1...
| Connected to localhost.localdomain (127.0.0.1).
| Escape character is '^]'.
| 220 my.mail.server ESMTP Postfix
| helo foo
| 250 my.mail.server
| mail from: <>           
| 250 2.1.0 Ok
| rcpt to: mailbox_over_quota at domain.tld
| 250 2.1.5 Ok
| data
| 354 End data with <CR><LF>.<CR><LF>
| testing
| .
| 250 2.0.0 Ok: queued as A366C27675

(It seems that postfix sets the return-path header based on the "mail
from", so the mail contains "Return-Path: <>" )

This shows the mail generated by deliver:

| May 11 17:55:27 my postfix/pickup[27580]: D6DB527681: uid=3000 from=<>
| May 11 17:55:27 my postfix/cleanup[14455]: D6DB527681: message-id=<dovecot-1178898925-234813-0 at my.mail.server>
| May 11 17:55:27 my postfix/qmgr[3360]: D6DB527681: from=<>, size=1538, nrcpt=1 (queue active)
| May 11 17:55:27 my postfix/qmgr[3360]: D6DB527681: to=<MAILER-DAEMON@>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.1.3, status=bounced (bad address syntax)
| May 11 17:55:27 my postfix/qmgr[3360]: D6DB527681: removed

This must be an error, then .. Dovecots deliver should not send
bounces in response to bounce mail. Could you have a look at it?

-- 
Erland Nylend



More information about the dovecot mailing list