Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine    
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 Net.pm 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
Component
Priority Urgent
CurrentState Closed
WaitingFor
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 CopyrightStatement. Creative Commons License