Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configure multiple mail queues

Status
Not open for further replies.

warrenliang

IS-IT--Management
May 3, 2004
117
US
Good evening,
My mail server would be an off-site mail server for our satellite division. When the satelliet office local mail server is not available, all emails to that domain (different domain name) would route to our site. Emails will be put on-hold at my site until their server becomes available. My plan is to create a separate queue on my mail server. Any email which recipient is to that domain will be routed to the special queue and put on hold until further notice.

I enter multiple entries on sendmail.cf file, such as:
O QueueDirectory=/var/spool/mqueue/*
Qone P=/var/spool/mqueue/normalq
Qtwo P=/var/spool/mqueue/holdingq

to create two mail queues.
How do I configure sendmail to route particular emails to holdingq and to hold them all as well?

Thanks in advance,

Operation background:
Sendmail: Version 8.12.10
O/S: Sun Solaris 8
 
Do you really need a special queue for this domain? If not, you wouldn't have to do anything special to handle this domain's mail. If his server goes down mail will get routed to your server. You would just send all mail for his domain to his ip. Since it will not respond, all his mail goes into the cueue. Sendmail will keep trying to send it for four days or whatever you have it set to before bouncing it. By doing it this way, you don't have to do anything to tell sendmail that his server is down or that it is back up again. It will all be done automagically. If no mail comes in for that domain, sendmail isn't goin to lose any sleep and if it has mail to send on, it will keep trying until it succeeds. Catch my drift? :)
 
I am able to create multiple queues and queue groups.
Queue Group is a new feature on 8.12 and above.
 
You may want to look at putting these multiple queues on separate disks / their own IO, otherwise you may loose any performance benefits you have gained.

Cogito Ergo Sum - Non Compos Mentis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top