bmcintyre51
Programmer
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?
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?