I have a server which has lists going out, and aol and sometimes comcast block the IP for 12-24 hours it seems. This suddenly overloads the mqueue which in turn overloads the server for the whole time.
2 questions:
1 - Wanting to change this: confMIN_QUEUE_AGE (MC FILE) / MinQueueAge (CF FILE) from the default 30m to something like 12 hours. Will this affect all outgoing messages or just the ones that get deferred into the queue?
2 - Made these changes / added lines to the mc file for now. Do you see anything problematic:
#This changes the "giveup" time for Sendmail to 2days from the default
#of 5days. So, Sendmail will give up on undeliverable messages after 2
#days only instead of piling up 5 days worth...
define(`confTO_QUEUERETURN',`2d')
#Changes it so Sendmail will only "resend" or retry a send after a
#deferral (failed connection) after waiting 14 hours, instead of the
#default 30min. This will help make fewer outgoing connections to
#blocked destinations
define(`confMIN_QUEUE_AGE',`14h')
#Changes how many child Sendmail procs can be opened from 20 to
#60...should help prevent incoming mail delays when mail system is
#overloaded. Potentially can be raised as server proc limit is now 375
define(`confMAX_DAEMON_CHILDREN',`60')
Thanks in advance for your help!
2 questions:
1 - Wanting to change this: confMIN_QUEUE_AGE (MC FILE) / MinQueueAge (CF FILE) from the default 30m to something like 12 hours. Will this affect all outgoing messages or just the ones that get deferred into the queue?
2 - Made these changes / added lines to the mc file for now. Do you see anything problematic:
#This changes the "giveup" time for Sendmail to 2days from the default
#of 5days. So, Sendmail will give up on undeliverable messages after 2
#days only instead of piling up 5 days worth...
define(`confTO_QUEUERETURN',`2d')
#Changes it so Sendmail will only "resend" or retry a send after a
#deferral (failed connection) after waiting 14 hours, instead of the
#default 30min. This will help make fewer outgoing connections to
#blocked destinations
define(`confMIN_QUEUE_AGE',`14h')
#Changes how many child Sendmail procs can be opened from 20 to
#60...should help prevent incoming mail delays when mail system is
#overloaded. Potentially can be raised as server proc limit is now 375
define(`confMAX_DAEMON_CHILDREN',`60')
Thanks in advance for your help!