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

2007-05-16 Thread Erland Nylend
On 2007-05-15, 20:27, Timo Sirainen wrote:
> I guess it's Postfix that adds the MAILER-DAEMON there. I get this:
> 
> May 15 20:22:39 hurina postfix/qmgr[31650]: 00615287D8C86: to=<@>,
> relay=none, delay=0.24, delays=0.12/0.13/0/0, dsn=5.1.3, status=bounced
> (bad address syntax)
>
> Anyway, what it was supposed to do was just log it:

Agreed.

> deliver(tss): May 15 20:24:41 Info: msgid=: Return-Path missing,
> rejection reason: Quota exceeded
> 
> Fixed: http://dovecot.org/list/dovecot-cvs/2007-May/008817.html

Great. Thank you :)


-- 
Erland Nylend



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

2007-05-15 Thread Timo Sirainen
On Mon, 2007-05-14 at 12:22 +0200, Erland Nylend wrote:
> Hello Timo,
> 
> On 2007-05-11, 16:18, Timo Sirainen wrote:
> > On Tue, 2007-04-24 at 12:49 +0200, Erland Nylend wrote:
> > > | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: from=<>, 
> > > size=3055, nrcpt=1 (queue active)
> > > | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: 
> > > to=, relay=none, delay=0.01, delays=0.01/0.01/0/0, 
> > > dsn=5.1.3, status=bounced (bad address syntax)
> > ..
> > > It seems to me that dovecot is sending bounce messages from
> > > 'MAILER-DAEMON@' ..
> > 
> > It says to= so I'd guess the Return-Path: header in the
> > message was that?
> 
> Could you have a look at this case again?
> 
> The messages to deliver have the smtp "mail from" and Return-Path
> set to <>. (they're bounces) 

I guess it's Postfix that adds the MAILER-DAEMON there. I get this:

May 15 20:22:39 hurina postfix/qmgr[31650]: 00615287D8C86: to=<@>,
relay=none, delay=0.24, delays=0.12/0.13/0/0, dsn=5.1.3, status=bounced
(bad address syntax)

Anyway, what it was supposed to do was just log it:

deliver(tss): May 15 20:24:41 Info: msgid=: Return-Path missing,
rejection reason: Quota exceeded

Fixed: http://dovecot.org/list/dovecot-cvs/2007-May/008817.html



signature.asc
Description: This is a digitally signed message part


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

2007-05-14 Thread Erland Nylend
Hello Timo,

On 2007-05-11, 16:18, Timo Sirainen wrote:
> On Tue, 2007-04-24 at 12:49 +0200, Erland Nylend wrote:
> > | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: from=<>, size=3055, 
> > nrcpt=1 (queue active)
> > | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: 
> > to=, relay=none, delay=0.01, delays=0.01/0.01/0/0, 
> > dsn=5.1.3, status=bounced (bad address syntax)
> ..
> > It seems to me that dovecot is sending bounce messages from
> > 'MAILER-DAEMON@' ..
> 
> It says to= so I'd guess the Return-Path: header in the
> message was that?

Could you have a look at this case again?

The messages to deliver have the smtp "mail from" and Return-Path
set to <>. (they're bounces) 

I can reproduce the problem by telnet'ing to the postfix server, and
sending bounce mails to an account over quota.

It seems that deliver is sending bounces on the bounces, which I
think is an error.


-- 
Erland Nylend



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

2007-05-11 Thread Erland Nylend
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= 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: [EMAIL PROTECTED]
| 250 2.1.5 Ok
| data
| 354 End data with .
| 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=<[EMAIL 
PROTECTED]>
| 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=, 
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



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

2007-05-11 Thread Timo Sirainen
On Tue, 2007-04-24 at 12:49 +0200, Erland Nylend wrote:
> | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: from=<>, size=3055, 
> nrcpt=1 (queue active)
> | Apr 24 11:42:08 smtp2 postfix/qmgr[6176]: 05BAE3B67E: to=, 
> relay=none, delay=0.01, delays=0.01/0.01/0/0, dsn=5.1.3, status=bounced (bad 
> address syntax)
..
> It seems to me that dovecot is sending bounce messages from
> 'MAILER-DAEMON@' ..

It says to= so I'd guess the Return-Path: header in the
message was that?



signature.asc
Description: This is a digitally signed message part