rename after sendmail error
Brought to you by:
weaselp
If mixmaster fails to execute sendmail,
it renames the pool file so that you can't try to resend without manual rename.
in pool_dosend() I did this way:
if (msg_send(path) == 1)
mv(e->d_name, "msg");
original version renames to "err".
comments?
if sendmail runs out of mem, why shouldn't one be allowed to retry after a couple of seconds manually?
Logged In: YES
user_id=13022
Originator: YES
File Added: mixmaster-sendmail-error-handling.patch
detect errors in openpipe, closepipe and first buf_write
Logged In: YES
user_id=13022
Originator: YES
BTW. there's a bug in Redhat Fedora FC6 glibc-2.5-8 pclose(),
it returns 0 on success and 32512 (instead of -1) on failure (and does not set errno).
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175167