Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By ziviland
Hi,
On my local machine everything is sent without delay. On ams1 droplet I have a delay in 2-16 secs to send email. And then it’s delivered almost instantly.
Here’s debug output:
<-- 220 smtp4h.mail.yandex.net ESMTP (Want to use Yandex.Mail for your domain? Visit http://pdd.yandex.ru) –> EHLO localhost <-- 250-smtp4h.mail.yandex.net <-- 250-8BITMIME <-- 250-PIPELINING <-- 250-SIZE 42991616 <-- 250-STARTTLS <-- 250-AUTH LOGIN PLAIN <-- 250-DSN <-- 250 ENHANCEDSTATUSCODES –> STARTTLS <-- 220 Go ahead TLS certificate information: Owner: Common Name: smtp.yandex.ru Organization: Yandex LLC Organizational unit: ITO Locality: Moscow State or Province: Russian Federation Country: RU Issuer: Common Name: Certum Level IV CA Organization: Unizeto Technologies S.A. Organizational unit: Certum Certification Authority Country: PL Validity: Activation time: Tue Dec 10 10:22:38 2013 Expiration time: Fri Dec 9 10:22:38 2016 –> EHLO localhost <-- 250-smtp4h.mail.yandex.net <-- 250-8BITMIME <-- 250-PIPELINING <-- 250-SIZE 42991616 <-- 250-AUTH LOGIN PLAIN <-- 250-DSN <-- 250 ENHANCEDSTATUSCODES –> AUTH PLAIN **** <-- 235 2.7.0 Authentication successful. –> MAIL FROM:bob@domain.com –> RCPT TO:test@domain.com –> DATA <-- 250 2.1.0 bob@domain.com ok <-- 250 2.1.5 test@domain.com recipient ok <-- 354 Enter mail, end with “.” on a line by itself –> From: A bob@domain.com –> To: B test@domain.com –> Subject: Hello World –> –> This email was sent using MSMTP via Yandex. –> . <-- 250 2.0.0 Ok: queued on smtp4h.mail.yandex.net as K7lMcNOMQ2-BdH0wg0R –> QUIT <-- 221 2.0.0 Closing connection.
I’ve tried different options in .msmtp_php, but these give min delay. Any suggedtions how can I send emails without delay at all?