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