Tags:
create new tag
view all tags

SID-00068: mail notification won't work

Status: Answered Answered TWiki version: 4.2.2 Perl version: 5.10.0
Category: CategoryEmail Server OS: debian lenny linux 2.6.26.-1-amd64 Last update: 15 years ago

I have set: {mailProgram} to /usr/sbin/sendmail (in Debian this is reverted to exim4). I have tested exim4 from the command line: it works OK. {SMTP}{MAILHOST} is empty {SMPT}{SENDERHOST} is empty {SMPT}{Username} is empty {SMPT}{Password} is empty

When a new user registers the following error shows up in the browser (other notifications do not work either. Nothing about that in the log file).


* Your personal TWiki topic T0T0 has been created

(Suggestion
How about uploading your picture to your topic?) * You are also listed in the TWikiUsers topic

Warning: Could not send confirmation email

ERROR: Exit code 256 from TWiki::cfg{MailProgram} at /usr/local/twiki/lib/TWiki/Net.pm line 357. at /usr/local/twiki/lib/TWiki/Net.pm line 357 TWiki::Net::_sendEmailBySendmail('TWiki::Net=HASH(0x2187ae8)', 'Date: Fri, 30 Jan 2009 09:55:23 GMT\x{a}From: Wim de Vries \x{a}To: t0 t0 <wsvries@...') called at /usr/local/twiki/lib/TWiki/UI/Register.pm line 977 TWiki::UI::Register::_emailRegistrationConfirmations('TWiki=HASH(0x113a150)', 'HASH(0x1f73c78)') called at /usr/local/twiki/lib/TWiki/UI/Register.pm line 819 TWiki::UI::Register::complete('TWiki=HASH(0x113a150)') called at /usr/local/twiki/lib/TWiki/UI/Register.pm line 341 TWiki::UI::Register::registerAndNext('TWiki=HASH(0x113a150)') called at /usr/local/twiki/lib/TWiki/UI/Register.pm line 97 TWiki::UI::Register::register_cgi('TWiki=HASH(0x113a150)') called at /usr/local/twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at /usr/local/share/perl/5.10.0/Error.pm line 415 eval {...} called at /usr/local/share/perl/5.10.0/Error.pm line 407 Error::subs::try('CODE(0x1116fb8)', 'HASH(0x1f734f8)') called at /usr/local/twiki/lib/TWiki/UI.pm line 197 TWiki::UI::run('CODE(0x1363778)', 'register', 1) called at /usr/local/twiki/bin/register line 31.

Too many failures sending mail


Thanks, Wim

-- WimdeVries - 30 Jan 2009

Discussion and Answer

In {MailProgram} try /usr/sbin/sendmail -t -oi -oeq

-- EnriqueCadalso - 30 Jan 2009

Alternatively, in {SMTP}{MAILHOST} set "localhost" or your actual mail server. Make sure Net::SMTP is installed.

-- PeterThoeny - 01 Feb 2009

That worked. Thanks!

-- WimdeVries - 05 Feb 2009

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title mail notification won't work
SupportCategory CategoryEmail
TWiki version 4.2.2
Server OS debian lenny linux 2.6.26.-1-amd64
Web server apache 2.2.9
Perl version 5.10.0
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-02-05 - WimdeVries
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.