Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Will my mail-filtering server hold fowards until my exchange server is back up?

Posted on 2006-03-29
5
Medium Priority
?
183 Views
Last Modified: 2013-12-16
I just started at a company and I am doing more net admin stuff than programming (which is what I was hired for).  We have a mail filtering server(remote) running SendMail, ProcMail and Spamassassin.  This server filters the mail and then forwards it to an exchange server(local).  

The exchange server needs to be physically moved this weekend.  I was wondering if I can setup the mail filtering server to hold all the fowards until the exchange server is back up.  

Is this default behavior?

If not, how can I do this?

You don't have to give me every detail just tell what I have to do.
0
Comment
Question by:turtletimer
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 2000 total points
ID: 16363529
http://www.unet.univie.ac.at/aix/aixbman/commadmn/ml_queue.htm

All the mail that sendmail gets is 'dumped' in a queue. By altering either the queue processing time -q option (to only process the queue say every week, and ensuring that the number of retries is greater than 2), then you can guarantee that all the mail received is queued.

Basically restart the sendmail daemon before you start the move with the new queue timings, carry out the move, and then restart the sendmail daemon with the default settings again.

HTH:)
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16363588
In fact, most servers are by default configured to hold the mail and put it back in the queue for resending for a maximum time. This is normally configured in the startup script /etc/init.d/sendmail and you'll possibly find that it's already set the q option such that it'll hold the message in the queue for up to 8 hours, or possibly longer....in which case, if the move is going to be fairly quick (less than the appropriate time period), then you'll need to do nothing:)

HTH:)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Suggested Courses
Course of the Month21 days, 7 hours left to enroll

810 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