smtp - Delay after RCTP command on GMail -
i want create smtp validation on registration @ website, got strange behavior on gmail smtp servers. validation looks sending emails: after establishing connection smtp server send commands ehlo, helo, mail from, rcpt to , quit. commands helo , mail from not take many time, command rcpt to can take 3 seconds on gmail. example, on several others servers command takes 200-300ms.
also, if check existing email address, rctp command takes 600-900ms, delay takes more 3 seconds unexisting address.
i think, delay antispam behavior, how can bypass it? domain has correct txt-spf , spf records. server not listed in spam lists.
i'm not seeing delay you're reporting after rcpt to. run mail server logs transcript remote mta every delivery. looking @ few recent deliveries gmail addresses, see server gmail responded 250 ok after rcpt side. see below. (email addresses , ip's anonymized protect innocent!).
tue jul 23 16:01:52 2013 gmt dns mx record lookup gmail.com: tue jul 23 16:01:52 2013 gmt mx1=gmail-smtp-in.l.google.com, mx2=alt1.gmail-smtp-in.l.google.com, mx3=alt2.gmail-smtp-in.l.google.com tue jul 23 16:01:52 2013 gmt attempting smtp connection smtp.myserver.com [x.x.x.x] gmail-smtp-in.l.google.com [173.194.64.27] on port 25 tue jul 23 16:01:52 2013 gmt delivery id 813435, process id 21352 tue jul 23 16:01:52 2013 gmt received remotehost: 220 mx.google.com esmtp b5si18818338obh.145 - gsmtp tue jul 23 16:01:52 2013 gmt smtp.myserver.com sent: ehlo smtp.myserver.com tue jul 23 16:01:52 2013 gmt received remotehost: 250-mx.google.com @ service, [x.x.x.x] 250-size 35882577 250-8bitmime 250-starttls 250-enhancedstatuscodes 250 pipelining tue jul 23 16:01:52 2013 gmt smtp.myserver.com sent: starttls tue jul 23 16:01:52 2013 gmt received remotehost: 220 2.0.0 ready start tls tue jul 23 16:01:52 2013 gmt starting tls... tue jul 23 16:01:52 2013 gmt tls enabled. tue jul 23 16:01:52 2013 gmt smtp.myserver.com sent: ehlo smtp.myserver.com tue jul 23 16:01:52 2013 gmt received remotehost: 250-mx.google.com @ service, [x.x.x.x] 250-size 35882577 250-8bitmime 250-enhancedstatuscodes 250 pipelining tue jul 23 16:01:52 2013 gmt smtp.myserver.com sent: mail from: <sender@sender.com> tue jul 23 16:01:52 2013 gmt received remotehost: 250 2.1.0 ok b5si18818338obh.145 - gsmtp tue jul 23 16:01:52 2013 gmt smtp.myserver.com sent: rcpt to: <recipient@gmail.com> tue jul 23 16:01:52 2013 gmt received remotehost: 250 2.1.5 ok b5si18818338obh.145 - gsmtp tue jul 23 16:01:52 2013 gmt smtp.myserver.com sent: data tue jul 23 16:01:52 2013 gmt received remotehost: 354 go ahead b5si18818338obh.145 - gsmtp tue jul 23 16:01:52 2013 gmt [sending message...] (14871 bytes) tue jul 23 16:01:52 2013 gmt [message sent] tue jul 23 16:01:53 2013 gmt received remotehost: 250 2.0.0 ok 1374595312 b5si18818338obh.145 - gsmtp
Comments
Post a Comment