in reply to Re^3: Mime::Lite Sendmail Dying
in thread Mime::Lite Sendmail Dying

If I just run the mail sending code as a regular Perl script outside the daemon it works flawlessly. So I guess it's something with daemon. It's pretty old code, probably a good time rethink how this thing works.