Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

Check man sendmail for DeliveryMode.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.