Solved

Sendmail to Queue as Default

Posted on 2000-03-22
6
343 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 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