SID-00745: OutlookEmail
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
5.10.1.1007 |
| Category: |
CategoryEmail |
Server OS: |
Windows XP |
Last update: |
16 years ago |
I cannot get email to work properly... I have tried many different settings. To install I used the TWiki 4.2 Windows Installation Guide and the installation is complete and works great. Here is my current configuration:
MailProgram = /usr/sbin/sendmail -t -oi -oeq
MailHost = mail.mycompany
We use the SMTP port 25 and we added a custom smtp relay connector because we restrict relay.
Here is my error message. Any help would be very appreciated.
ERROR Can't send mail using Net::SMTP. Can't connect to 'mail.mycompany' at D:/Twiki/lib/TWiki/Net.pm line 432. at D:/Twiki/lib/TWiki/Net.pm line 432 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x212884c)', 'Date: Tue, 09 Feb 2010 16:27:12 GMT\x{a}From: TWiki Administrator...') called at D:/Twiki/lib/TWiki/Net.pm line 316 TWiki::Net::__ANON__() called at D:/Twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at D:/Twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x2186b04)', 'HASH(0x217788c)') called at D:/Twiki/lib/TWiki/Net.pm line 332 TWiki::Net::sendEmail('TWiki::Net=HASH(0x212884c)', 'From: TWiki Administrator <tstocker@insuremax.net>\x{a}To:
NewUse? ...') called at D:/Twiki/lib/TWiki/UI/Register.pm line 1178 TWiki::UI::Register::_sendEmail('TWiki=HASH(0x191659c)', 'mailresetpassword', 'HASH(0x203165c)') called at D:/Twiki/lib/TWiki/UI/Register.pm line 556 TWiki::UI::Register::_resetUsersPassword('TWiki=HASH(0x191659c)', 'NewUser', '', 'SCALAR(0x188e5e4)') called at D:/Twiki/lib/TWiki/UI/Register.pm line 489 TWiki::UI::Register::resetPassword('TWiki=HASH(0x191659c)') called at D:/Twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at D:/Twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at D:/Twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x248c7c)', 'HASH(0x203138c)') called at D:/Twiki/lib/TWiki/UI.pm line 197 TWiki::UI::run('CODE(0x188e134)') called Too many failures sending mail %PARAM2% %PARAM3% %PARAM4%
--
TeresaStocker - 2010-02-09
Discussion and Answer
It could be a setting on the SMTP server. Often (or usually) they restrict the list of servers allowed to connect, to prevent the service from being used as a spam relay. Could please add calsaputil2, and remove calsaputil1? Your TWiki server may just need to be added to that list.
--
SeanCMorgan - 2010-02-09
Unfortunately, that isn't the case. I upgraded 4.2 to 4.3.2 today in hopes of it working on the newest version. However, now I'm getting a different error message.
ERROR
Can't send mail using Net::SMTP. Can't connect to 'mail.mycompany' at D:/Twiki/lib/TWiki/Net.pm line 450.
Too many failures sending mail %PARAM2% %PARAM3% %PARAM4%
Is there an efficient way to debug this error?
--
TeresaStocker - 2010-02-09
Instead of putting email.mycompany as the SMTP mailhost I put the IP address and it worked... ?? I don't know. I'm just glad it's working now
--
TeresaStocker - 2010-02-10
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.