I'm on an ubuntu virtual server. Sendmail works through php's mail() function but it takes 80 seconds to complete every time.
I've checked the mail.log and these are the entries:
Aug 5 14:52:36 ve sendmail[13818]: p75DpuVo013818: from=www-data, size=109, class=0, nrcpts=1, msgid=<[email protected]>, relay=www-data@localhost
Aug 5 14:53:16 ve sm-mta[13826]: p75DqarZ013826: from=, size=345, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Aug 5 14:53:16 ve sendmail[13818]: p75DpuVo013818: to=email-address, ctladdr=www-data (33/33), delay=00:01:20, xdelay=00:00:40, mailer=relay, pri=30109, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p75DqarZ013826 Message accepted for delivery)
Aug 5 14:53:17 ve sm-mta[13837]: STARTTLS=client, relay=address., version=TLSv1/SSLv3, verify=FAIL, cipher=AES128-SHA, bits=128/128
Aug 5 14:53:17 ve sm-mta[13837]: p75DqarZ013826: to=, ctladdr= (33/33), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120345, relay=server.com. [65.55.88.22], dsn=2.0.0, stat=Sent (<[email protected]> [InternalId=17901549] Queued mail for delivery)
The delay is 00:01:20..can anyone help me understand why?