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!

Queuing message files with header fields

Status
Not open for further replies.

bmcintyre51

Programmer
Aug 19, 2004
1
US
I have a program that execs sendmail notifications, but sends a lot of messages. In order to prevent blocking, I run sendmail in the background. At times this results in too many processes.
I tried the -odq "queue-only" option & periodically running sendmail -q. This seems to be ignored on some platforms. So I am trying to build message files locally containing "To:" and "Subject:" header lines and the mesage body, and have another process feed these to sendmail. But sendmail complains that there are no recipients on the command line. Is this possible to do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top