Solved

Sendmail to Queue as Default

Posted on 2000-03-22
6
335 Views
Last Modified: 2010-04-20
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?
0
Comment
Question by:EatEmAndSmile
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:JBURGHARDT
ID: 2646816
Used linuxconf and then mark this option ind sendmail conf file.
0
 
LVL 2

Author Comment

by:EatEmAndSmile
ID: 2648695
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?

 Thanks.
0
 
LVL 4

Accepted Solution

by:
kiffney earned 50 total points
ID: 2649590
Try

DeliveryMode=delay

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

DialDelay=10s

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

For a lot more tips on this topic, try
http://www.harker.com/sendmail/smtpdemanddial.html.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Author Comment

by:EatEmAndSmile
ID: 2650406
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.
0
 
LVL 2

Author Comment

by:EatEmAndSmile
ID: 2650411
Text above.
0
 
LVL 4

Expert Comment

by:kiffney
ID: 2650783
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.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now