Prev: Need help to block/allow incoming connections basedon IP
Next: THREAD CLOSED (ISP Blocking of port 25)
From: =?UTF-8?B?U3RhbmlzxYJhdyBGaW5kZWlzZW4=?= on 22 Jul 2010 07:08 > Jul 21 12:11:26 smtpd[31280]: connect from mail-ww0-f46.google.com[74.125.82.46] > Jul 21 12:11:26 smtpd[31280]: 2E..36: client=mail-ww0-f46.google.com[74.125.82.46] > Jul 21 12:11:26 cleanup[31284]: 2E..36: message-id=<AANLk...Ux(a)mail.gmail.com> > Jul 21 12:11:34 smtpd[31280]: warning: 2E..36: queue file size limit exceeded > Jul 21 12:11:39 smtpd[31280]: disconnect from mail-ww0-f46.google.com[74.125.82.46] Does google honor SMTP "SIZE" command? $ telnet eisenbits.homelinux.net 25 Trying 82.210.166.53.25... Connected to 53-mo6-3.acn.waw.pl. Escape character is '^]'. 220 k8ux.eisenbits.homelinux.net ESMTP Postfix (Debian/GNU) EHLO mydomain.com 250-k8ux.eisenbits.homelinux.net 250-PIPELINING 250-SIZE 10240000 <<---- see this? 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN ^] Why did Google make submission attempt? It was interrupted in the middle, right? STF http://eisenbits.homelinux.net/~stf/ OpenPGP: DFD9 0146 3794 9CF6 17EA D63F DBF5 8AA8 3B31 FE8A
From: Sahil Tandon on 22 Jul 2010 20:44 On Thu, 2010-07-22 at 13:08:32 +0200, StanisÅaw Findeisen wrote: > Jul 21 12:11:26 smtpd[31280]: connect from mail-ww0-f46.google.com[74.125.82.46] > Jul 21 12:11:26 smtpd[31280]: 2E..36: client=mail-ww0-f46.google.com[74.125.82.46] > Jul 21 12:11:26 cleanup[31284]: 2E..36: message-id=<AANLk...Ux(a)mail.gmail.com> > Jul 21 12:11:34 smtpd[31280]: warning: 2E..36: queue file size limit exceeded > Jul 21 12:11:39 smtpd[31280]: disconnect from mail-ww0-f46.google.com[74.125.82.46] > > Does google honor SMTP "SIZE" command? It appears that google's SMTP client does not use the SIZE declaration as outlined in RFC 1870. You can record the conversation between google and your server to verify this yourself; instead of: MAIL FROM:<foo.bar(a)gmail.com> SIZE=500000 you will see: MAIL FROM:<foo.bar(a)gmail.com> > Why did Google make submission attempt? It was interrupted in the > middle, right? Because google is trying to deliver mail. :) After receiving the message, Postfix measures it to exceed $message_size_limit and rejects it. -- Sahil Tandon <sahil(a)FreeBSD.org>
From: =?UTF-8?B?U3RhbmlzxYJhdyBGaW5kZWlzZW4=?= on 23 Jul 2010 04:16 On 2010-07-23 02:44, Sahil Tandon wrote: > On Thu, 2010-07-22 at 13:08:32 +0200, Stanisław Findeisen wrote: > >> Jul 21 12:11:26 smtpd[31280]: connect from mail-ww0-f46.google.com[74.125.82.46] >> Jul 21 12:11:26 smtpd[31280]: 2E..36: client=mail-ww0-f46.google.com[74.125.82.46] >> Jul 21 12:11:26 cleanup[31284]: 2E..36: message-id=<AANLk...Ux(a)mail.gmail.com> >> Jul 21 12:11:34 smtpd[31280]: warning: 2E..36: queue file size limit exceeded >> Jul 21 12:11:39 smtpd[31280]: disconnect from mail-ww0-f46.google.com[74.125.82.46] >> >> Does google honor SMTP "SIZE" command? > > It appears that google's SMTP client does not use the SIZE declaration > as outlined in RFC 1870. You can record the conversation between google > and your server to verify this yourself; instead of: > > MAIL FROM:<foo.bar(a)gmail.com> SIZE=500000 > > you will see: > > MAIL FROM:<foo.bar(a)gmail.com> So neither SIZE declaration from the client, nor taking into consideration SIZE declaration from the server. Interesting. (I haven't tested it, though.) >> Why did Google make submission attempt? It was interrupted in the >> middle, right? > > Because google is trying to deliver mail. :) After receiving the > message, Postfix measures it to exceed $message_size_limit and rejects > it. Oh really? If I send a 1000000 GB message to Postfix, Postfix will try to receive it and *then* measure??! :-O STF http://eisenbits.homelinux.net/~stf/ OpenPGP: DFD9 0146 3794 9CF6 17EA D63F DBF5 8AA8 3B31 FE8A
From: Sahil Tandon on 24 Jul 2010 00:59
On Fri, 2010-07-23 at 10:16:08 +0200, StanisÅaw Findeisen wrote: > On 2010-07-23 02:44, Sahil Tandon wrote: > > It appears that google's SMTP client does not use the SIZE declaration > > as outlined in RFC 1870. You can record the conversation between google > > and your server to verify this yourself; instead of: > > > > MAIL FROM:<foo.bar(a)gmail.com> SIZE=500000 > > > > you will see: > > > > MAIL FROM:<foo.bar(a)gmail.com> > > So neither SIZE declaration from the client, nor taking into > consideration SIZE declaration from the server. Uhm, no. They are *related*. The appearance of SIZE in a server's response to the EHLO command is what informs the client that the SIZE service extension is supported. Google's SMTP client just doesn't use this extension. > > Because google is trying to deliver mail. :) After receiving the > > message, Postfix measures it to exceed $message_size_limit and rejects > > it. > > Oh really? If I send a 1000000 GB message to Postfix, Postfix will try > to receive it and *then* measure??! :-O Homework assignment: try it with a more sane message size that still exceeds your server's limit, and see what happens. -- Sahil Tandon <sahil(a)FreeBSD.org> |