Tracker: Bugs

5 rename after sendmail error - ID: 1646690
Last Update: Comment added ( safari )

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?


Sami Farin ( safari ) - 2007-01-28 16:13:48 PST

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )

Date: 2007-01-28 16:23:08 PST
Sender: safari


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



Date: 2007-01-28 16:18:44 PST
Sender: safari


File Added: mixmaster-sendmail-error-handling.patch


Attached File ( 1 )

Filename Description Download
mixmaster-sendmail-error-handling.patch detect errors in openpipe, closepipe and first buf_write Download

Changes ( 2 )

Field Old Value Date By
File Added 213526: mixmaster-sendmail-error-handling.patch 2007-01-28 16:18:44 PST safari
summary ignores sendmail errors 2007-01-28 16:18:44 PST safari