Tags:
create new tag
view all tags

Question

I got the following when trying to register myself after installing TWiki 4.2.0 on Windows server 2003. I used auto-generated config and TWiki came up after I had done all the set up steps on http://twiki.org/cgi-bin/view/TWiki/TWiki04x02WindowsInstallationGuide

It looks like I missed an email config step but I do not recall seeing one.

Can someone help or point me to the email config page(s).

Thanks, Bill Stafford

ERROR: Exit code 256 from TWiki::cfg{MailProgram} at C:/www/twiki/lib/TWiki/Net.pm line 357. at C:/www/twiki/lib/TWiki/Net.pm line 357 TWiki::Net::_sendEmailBySendmail('TWiki::Net=HASH(0x2128380)', 'Date: Thu, 24 Jul 2008 20:49:22 GMT\x{a}From: TWiki Administrator...') called at C:/www/twiki/lib/TWiki/Net.pm line 316 TWiki::Net::__ANON__() called at C:/www/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at C:/www/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x2172eb4)', 'HASH(0x2173004)') called at C:/www/twiki/lib/TWiki/Net.pm line 332 TWiki::Net::sendEmail('TWiki::Net=HASH(0x2128380)', 'From: TWiki Administrator <>\x{a}To: Bill Stafford <stafford@mari...') called at C:/www/twiki/lib/TWiki/UI/Register.pm line 972 TWiki::UI::Register::_emailRegistrationConfirmations('TWiki=HASH(0x18edf00)', 'HASH(0x1f77574)') called at C:/www/twiki/lib/TWiki/UI/Register.pm line 814 TWiki::UI::Register::complete('TWiki=HASH(0x18edf00)') called at C:/www/twiki/lib/TWiki/UI/Register.pm line 341 TWiki::UI::Register::registerAndNext('TWiki=HASH(0x18edf00)') called at C:/www/twiki/lib/TWiki/UI/Register.pm line 97 TWiki::UI::Register::register_cgi('TWiki=HASH(0x18edf00)') called at C:/www/twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at C:/www/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at C:/www/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x226004)', 'HASH(0x1f77250)') called at C:/www/twiki/lib/TWiki/UI.pm line 197 TWiki::UI::run('CODE(0x16a7de8)') called

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: I did not explicitly install any plugins
Server OS: Windows server 2003
Web server: Apache 2.2
Perl version: The activePerl version recommended
Client OS: Windows XP
Web Browser: Firefox 2.0.0.16
Categories: Mail

-- BillStafford - 24 Jul 2008

Answer

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.

I am guessing, but it might be an email problem itself, not a TWiki problem.

Your error message shows, that there is no mail address set for the TWiki administrator ([...] =From: TWiki Administrator <>=[...]; see there is no mail address within the brackets). Depending on your mail provider, most likely it will request the sender's mail address to avoid that anyone is trying to send spam through the smtp-server without identifying himself.

So in configure, look for the entry {WebMasterEmail}, set a valid mail address, try it again and post here if it works (or not). smile

-- SebastianKlus - 24 Jul 2008

Thanks for the reply Sebastian. While looking at localSite.cfg I noticed the following: $TWiki::cfg{MailProgram} = '/usr/sbin/sendmail -t -oi -oeq'; $TWiki::cfg{SMTP}{MAILHOST} = ''; $TWiki::cfg{SMTP}{SENDERHOST} = ''; $TWiki::cfg{SMTP}{Username} = ''; $TWiki::cfg{SMTP}{Password} = '';

No wonder email notification did not work!

Thanks again for the reply, -=bill

-- BillStafford - 25 Jul 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-07-25 - BillStafford
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.