Microsoft
Software
Hardware
Network
Question : Modify sendmail queued mail management
I am running sendmail Version 8.13.1 on Centos 4.6 (Final).
Presently my sendmail is running on default configuration, so if I try to send an email and any email is not delivered, sendmail keeps that mail in queue for 5 days and keep retrying after certain interval to send that email and after 5 days sendmail bounce that email if still undelivered.
I need to configure in a way so that instead of keeping undelivered email for 5 days in a queue, sendmail should keep that email only for 2 days. If for retrying to send email for 2 days sendmail fails to deliver it, it should bounce the email to the sender.
My sendmail configuration file is attached with this question.
Please suggest, how to achieve this.
Answer : Modify sendmail queued mail management
Edit the sendmail.cf file,
look for the following variables
O Timeout.queuereturn=5d
Change the "5d" to "2d" that will set it to a two day bounce.
Remember to reload sendmail after the changes is made
Random Solutions
Proxy setup - remove default gateway from DHCP
Does Netware 5 use WINS?
Bandwidth monitoring
wireless Access Points Problem
Creating RIP in Altiris
What is the default gateway on a host used for?
Proxy Settings Rollout
Why do I need to run gpupdate /force after rebooting domain controller
DNS issue with XP workstations
DNS resolution of just 1 external domain fails