Tags:
create new tag
view all tags

Question

I've scoured the forums and documentation and I just can't seem to find the answer. I'm trying to get Twiki working for my organization, but have run into a problem with the e-mail after installation. When sending an e-mail through Twiki for registration confirmation or password reset (these are all I've tried so far), I get the error:

Can't send mail using Net::SMTP. sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) at c:\PROGRA~1\TWiki\twiki\lib/TWiki/Net.pm line 438

I am running Twiki on a Windows 2003 server and the e-mail works fine from other programs on the server (ie Outlook). My ISP's outgoing SMTP server requires authentication. I've set up my parameters as follows (from the Localsite.cfg file):

{WebMasterEmail}= 'webmaster@domain.gov';

{WebMasterName} = 'Wiki Administrator';

{MailProgram} = '';

{SMTP}{MAILHOST}= 'smtp.domain.gov';

{SMTP}{SENDERHOST} = 'smtp.domain.gov';

{SMTP}{Username} = 'username@domainPLEASENOSPAM.gov';

{SMTP}{Password} = 'xxxxx';

I would appreciate any help you could provide. Thank you.

Environment

TWiki version: TWikiRelease04x02x03
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003
Web server: Apache 2.2.10
Perl version: 5.8.8 build 824
Client OS: Windows XP Professional SP2
Web Browser: IE Version 6
Categories: Mail

-- BrianAscher - 31 Oct 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.

Looks like I didn't have everything installed that I needed to. Even though I had Net::SMTP installed, I also needed something else. I ended up installing the Net-SMTP-Server-Client2, Net-SMTP-auth, and Authen-SASL CPAN packages. One of those was the key and my e-mail got working again.

-- BrianAscher - 03 Nov 2008

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-11-03 - BrianAscher
 
  • 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.