Tags:
create new tag
view all tags

Question

Greetings,

I get an error, and I don't know, what I can do against it, I appretiate every help you may offer.

TWiki has written the following into the logfile:

Date User_signed_in view TWikiRegistration   xxx.xxx.xxx.xxx
Date TWikiRegistrationAgent save TWikiUsers   xxx.xxx.xxx.xxx
Date TWikiRegistrationAgent save Main.New_User   xxx.xxx.xxx.xxx
Date New_User register Main.New_User New_User@our_domain.org xxx.xxx.xxx.xxx
[END OF FILE]

And the following into the warninglog:

| Date | Could not confirm registration: ERROR: Can't send mail using Net::SMTP. Can't connect to 'mail.our_domain.org' at /usr/lib/perl5/5.8/CGI/Carp.pm line 314. at /usr/lib/perl5/5.8/CGI/Carp.pm line 314

CGI::Carp::realdie('ERROR
Can\'t send mail using Net::SMTP. Can\'t connect to \'...') called at /usr/lib/perl5/5.8/CGI/Carp.pm line 385
CGI::Carp::die('ERROR: Can\'t send mail using Net::SMTP. Can\'t connect to \'...') called at /twiki/lib/TWiki/Net.pm line 313 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x10919a38)', 'Date
Date GMT\x{a}From: TWiki Administrator...') called at /twiki/lib/TWiki/Net.pm line 197 TWiki::Net::__ANON__() called at /twiki/lib/CPAN/lib///Error.pm line 379 eval {...} called at /twiki/lib/CPAN/lib///Error.pm line 371 Error::subs::try('CODE(0x1106d1ec)', 'HASH(0x1106d138)') called at /twiki/lib/TWiki/Net.pm line 213 TWiki::Net::sendEmail('TWiki::Net=HASH(0x10919a38)', 'From: TWiki Administrator <admin@our_domain.org') called at /twiki/lib/TWiki/UI/Register.pm line 958 TWiki::UI::Register::_emailRegistrationConfirmations('TWiki=HASH(0x10919888)', 'HASH(0x10e95ef8)') called at /twiki/lib/TWiki/UI/Register.pm line 798 TWiki::UI::Register::finish('TWiki=HASH(0x10919888)') called at /twiki/lib/TWiki/UI/Register.pm line 377 TWiki::UI::Register::registerAndNext('TWiki=HASH(0x10919888)', '/twiki/data/RegistrationApprovals') called at /twiki/lib/TWiki/UI/Register.pm line 107 TWiki::UI::Register::register_cgi('TWiki=HASH(0x10919888)') called at /twiki/lib/TWiki/UI.pm line 109 TWiki::UI::__ANON__() called at /twiki/lib/CPAN/lib///Error.pm line 379 eval {...} called at /twiki/lib/CPAN/lib///Error.pm line 371 Error::subs::try('CODE(0x10e94f84)', 'HASH(0x10e95b8c)') called at /twiki/lib/TWiki/UI.pm line 158 TWiki::UI::run('CODE(0x108bcd88)') called

Too many failures sending mail [END OF FILE]

I get a similar Error Message from TWiki.org yesterday:

An e-mail could not be delivered. Please notify your TWiki administrator, peter@structuredwikisPLEASENOSPAM.com

Mail to: ERROR: Can't send mail using Net::SMTP. Can't connect to '127.0.0.1' at /opt/csw/share/perl/5.8.8/CGI/Carp.pm line 314. at /opt/csw/share/perl/5.8.8/CGI/Carp.pm line 314 CGI::Carp::realdie('ERROR Can\'t send mail using Net::SMTP. Can\'t connect to \'...') called at /opt/csw/share/perl/5.8.8/CGI/Carp.pm line 385 CGI::Carp::die('ERROR Can\'t send mail using Net::SMTP. Can\'t connect to \'...') called at /home/twiki/lib4/TWiki/Net.pm line 297 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x840838)', 'Date: Tue, 28 Nov 2006 10:34:49 GMT\x{a}From: Peter Thoeny \x{a}To: David Schu...') called at /home/twiki/lib4/TWiki/UI/Register.pm line 922 TWiki::UI::Register::_emailRegistrationConfirmations('TWiki=HASH(0x24490)', 'HASH(0xcb3618)') called at /home/twiki/lib4/TWiki/UI/Register.pm line 754 TWiki::UI::Register::finish('TWiki=HASH(0x24490)', '/home/twiki/data/RegistrationApprovals') called at /home/twiki/lib4/TWiki/UI/Register.pm line 89 TWiki::UI::Register::register_cgi('TWiki=HASH(0x24490)') called at /home/twiki/lib4/TWiki/UI.pm line 97 TWiki::UI::__ANON__() called at /home/twiki/lib4/CPAN/lib/Error.pm line 387 eval {...} called at /home/twiki/lib4/CPAN/lib/Error.pm line 379 Error::subs::try('CODE(0xc308b4)', 'HASH(0xc314e4)') called at /home/twiki/lib4/TWiki/UI.pm line 146 TWiki::UI::run('CODE(0x1cb22c)') called

Too many failures sending mail

Errors: %PARAM2% [END OF FILE] The mailsystem is configured correctly, because other prog like JIRA can use it without problems and the same configuration. Does anyone has a clue what I can do. Anyway the Registration is functional and TWiki adds the User correctly but it shows like on TWiki.org the new Usernames twice ?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2000
Web server: Apache 1.3.37
Perl version: cygwin build 5.8.7 (INT64)
Client OS: Windows XP
Web Browser: Internet Explorer & Opera
Categories: Mail

-- DavidSchulze - 29 Nov 2006

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.

You haven't set up your mail server correctly in configure. It looks very much like you have set up 'localhost' as you mail server, but it isn't working with SMTP. Try disabling SMTP in configure, which will allow TWiki to use sendmail instead.

-- CrawfordCurrie - 16 Dec 2006

I had a very similar problem, I tried changing the mail host to 'localhost' as you suggested and that fixed my problem. Thank You so much!

-- TWikiGuest - 09 Aug 2007

Once i want to reset our password from Twiki, i got the following error

Please provide me the solutions for that problems

Powered by TWiki Attention

ERROR Can't send mail using Net::SMTP. Start mail input; end with .

5.7.1 Message rejected due to content restrictions at C:/perl/lib/CGI/Carp.pm line 319

CGI::Carp::realdie('ERROR Can\'t send mail using Net::SMTP. Start mail input; en...') called at C:/perl/lib/CGI/Carp.pm line 394 CGI::Carp::die('ERROR Can\'t send mail using Net::SMTP. Start mail input; en...') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Net.pm line 367 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x152e010)', 'Date: Tue, 11 Nov 2008 07:24:23 GMT\x{a}From: TWiki Administrator...') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Net.pm line 244 TWiki::Net::__ANON__() called at c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//Error.pm line 379 eval {...} called at c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x21febc0)', 'HASH(0x23250d4)') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Net.pm line 260 TWiki::Net::sendEmail('TWiki::Net=HASH(0x152e010)', 'From: TWiki Administrator \x{a}To: Ku...') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/UI/Register.pm line 1178 TWiki::UI::Register::_sendEmail('TWiki=HASH(0x2269ac)', 'mailresetpassword', 'HASH(0x21fe5c0)') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/UI/Register.pm line 562 TWiki::UI::Register::_resetUsersPassword('TWiki=HASH(0x2269ac)', 'KumarGaurav', '', 'SCALAR(0x1e6c7d8)') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/UI/Register.pm line 510 TWiki::UI::Register::resetPassword('TWiki=HASH(0x2269ac)') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/UI/Register.pm line 148 TWiki::UI::Register::passwd_cgi('TWiki=HASH(0x2269ac)') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//Error.pm line 379 eval {...} called at c:\PROGRA~1\TWiki\twiki\lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x225c80)', 'HASH(0x21e7200)') called at c:\PROGRA~1\TWiki\twiki\lib/TWiki/UI.pm line 199 TWiki::UI::run('CODE(0x1e60b30)') called at C:/Program Files/TWiki/twiki/bin/passwd line 32

Too many failures sending mail %PARAM2% %PARAM3% %PARAM4%

A new system-generated password for your login name KumarGaurav (WikiName KumarGaurav) has been sent to your registered e-mail address. If your e-mail address is no longer valid, please contact kumar.gaurav@encoraincPLEASENOSPAM.com

Users with automatically generated passwords should proceed immediately to change password to change their password to something memorable.

-- GauravRai - 11 Nov 2008

  • This is good idea - but i think may not be easy to implement.
  • Just trying to understand, is it worth to develop such feature on urgent basis:
    • Most of Wiki's are open for view and protected for write,
    • The auto-generated password are delivered in email, so password is always available in emails (no need to remember till user changes)
    • There is no upper limit on - how many times user can reset password. I think its not high priority requirement.
Please share if you have any idea on quick-development.

-- SopanShewale - 11 Nov 2008

Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 02 Jan 2009

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2009-01-02 - PeterThoeny
 
  • 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.