Solved

Sendmail to Queue as Default

Posted on 2000-03-22
6
346 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

696 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