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
--
BrianAscher - 31 Oct 2008
Answer
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