MEssage forward problem for high loads.
SMTP email proxy and relay server
Brought to you by:
graeme_walker
Hello,
I am developing a filter script which detects pattern in the given e-mail. The script run in a different server which communicates with emailrelay net pre-processor. I am testing the system with different work loads. For 10 to 30 threads, there is no problem. But after 40 threads most of the messages can not be forwarded. There are some exceptions in the debug log. I tested the system with emailrelay-msgcopy script, there was no forward problem. How can I debug my problem? Is it a timing issue in EmailRelay?
Note:
I am using two email relay instances. One of them is storing and the other one pre-process and forwards to the next hop mta.
Thanks,
-Koray
Debugging always starts with log files. Add "--verbose", "--log-file" and "--log-time" options to the command-line.
Note that emailrelay is single-threaded and event-driven, with asynchronous network i/o, but it is totally blocked while exectuting external programs. If your scripts are slow then you should use multiple emailrelay processes running against the same spool directory to regain parallelism.
Please use email for help with debugging, to reduce noise here.
Ok, thanks. I will send e-mail...