View Single Post
Old 02-18-2003, 11:23 AM  
NetRodent
Confirmed User
 
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
You can probably improve the program you have quite a bit.

1. Run a caching dns server on the same machine as the script.

2. Put the mqueue directory on a ram disk.

3. Sendmail creates the queue files in the current directory and then moves them into the queue directory. Either start your script from ram disk or have it cwd in.

4. Use envelopes so that you can deliver several messages to the same host with only one connection.

5. Tweak your sendmail timeout parameters so that it wastes less time on hosts that are slow or unreachable.
__________________
"Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
--H.L. Mencken
NetRodent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote