I'm trying to figure out why on my new server (switched from Ubuntu to CentOS 5.5) that sendmail is delaying the command rather than queuing up messages. On my old server, it seemed that emails would get added to an outbound queue, and then sent. Either that, or xdelay and delay were nonexistent.
An example email from the maillog is this:
May 24 14:09:58 dell860 sendmail[21998]: p4OJ9HGx021998: to=...@....com, ctladdr=...@....com (500/500), delay=00:00:41, xdelay=00:00:20, mailer=relay, pri=33712, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p4OJ9c16022104 Message accepted for delivery)
This message took 41 total seconds to send, which is causing my web app to pause waiting for sendmail to return.
Is there a way to reduce the delay or switch to a queuing behavior?