Sendmail to Queue as Default

I'd like my sendmail to queue the messages sent through it by default, so it wouldn't try to send them immediatelly. my /etc/ppp/ip-up script would then run sendmail -q to make it finally deliver the messages.

 Question: How do I set up sendmail so it would not try to deliver the messages immediatelly and queue them instead?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

kiffneyConnect With a Mentor Commented:


in the file.  If you're using dial-on-demand ppp link, also do


to allow sendmail time to connect.  I think this requires at least sendmail 8.7.  

For a lot more tips on this topic, try
Used linuxconf and then mark this option ind sendmail conf file.
EatEmAndSmileAuthor Commented:
Man, I'm talking about LINUX here, not RedHat. Please don't lock my question with an answer so others can try to solve my problem, ok?

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

EatEmAndSmileAuthor Commented:
Thanks a lot.

 Actually I'm using 8.9 and it works perfectly with Demand Dialing. It waits until the connection is stabilished (as most of the applications that work with DD) and then does it's job without a glitch.

 The only proggie I see that doesn't work properly with DD is ftp. It doesn't wake up when the connection is stabilished and remains waiting for a connection forever, until the DD idle time times out and the connection is dropped.
EatEmAndSmileAuthor Commented:
Text above.
If you do

echo 1 > /proc/sys/net/ipv4/ip_dynaddr

that might help with the ftp timeouts.  It used to help with diald - don't know if that trick still works with the demand-dial built into pppd.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.