You are here: Foswiki>Tasks Web>Item137 (08 Jan 2009, KwangErnLiew)Edit Attach

Item137: Register show user's a failure when sendmail returns non-zero

Priority: Urgent
Current State: Closed
Released In: 1.0.0
Target Release: patch
Applies To: Engine
Reported By: TWiki:Main.SvenDowideit
Waiting For:
Last Change By: KwangErnLiew
however, sendmail has at least one non zero return code that is not a failure.

on our FreeBSD server, TEMPFAIL means that the email is queued to be retried..

I've hacked to log the error, and not die, whic is also bad, but should look better to users.

this issue needs a couple of things changed
  1. test the return codes correctly
  2. log the issues properly, die mostly will never be seen by admins
  3. fix the exception handling so that dies are not often lost.
-- SvenDowideit - 11 Nov 2008 - 08:42

looks like sendmail is returning 67, when its log file says its returning 75, so I can't actually test the exit value at all :(. ammended the opps message instead, to give users hope.

-- SvenDowideit - 12 Dec 2008

ItemTemplate edit

Summary Register show user's a failure when sendmail returns non-zero
ReportedBy TWiki:Main.SvenDowideit
Codebase trunk
SVN Range TWiki-4.2.3, Wed, 06 Aug 2008, build 17396
AppliesTo Engine
Priority Urgent
CurrentState Closed
Checkins distro:829de1304b97
TargetRelease patch
ReleasedIn 1.0.0
Topic revision: r6 - 08 Jan 2009, KwangErnLiew
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy