Tags:
create new tag
view all tags

Question

Hi, I have a new installation going and I have Net::SMTP installed. However, when I regster a new user, I receive this error message:


Send Mail Error

The e-mail could not be delivered. Please notify your TWiki administrator, eric@themeparkPLEASENOSPAM.com

ERROR: Can't send mail using Net::SMTP. sorry, that domain isn't in my list of allowed rcpthosts (


I believe this is because my server was set up in such a way that before I can send email, I have to check one of the valid pop3 mailboxes to "authenticate" the IP address that mail is sent from.

(However, PHP is installed on this server and sends mail fine, so I'm not sure if that's really the issue or not.)

Any ideas? Maybe there's a way TWiki can log into the SMTP server to authenticate itself before it tries to send?

Environment

from TWiki.cfg:

$mailProgram = "/usr/sbin/sendmail -t -oi -oeq";

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: not sure
Web server: Apache/1.3.29
Perl version: 5.6.1
Client OS: Win XP
Web Browser: Firefox
Categories: Mail

-- EricMueller - 02 Nov 2004

Answer

Eric, set SMTPMAILHOST to your mail server host for it to use Net::SMTP. If you don't set this, TWiki uses sendmail.

-- ChristianChuFook - 02 Nov 2004

Wow! Perfect, I changed SMTPMAILHOST to 'localhost' and that did the job. Thank you very much!

-- EricMueller - 02 Nov 2004

But how to I set SMTPMAILHOST? The only instruction I can find tells me to go to a web page where I see: Set SMTPMAILHOST = mail But how do I change this? It is not able to be edited.

-- JohnAbbott - 06 Jan 2006

This is done in TWiki.TWikiPreferences of your TWiki installation.

-- PeterThoeny - 06 Jan 2006

I'm in a loop. It wants me to log into my test system to EDIT the TWikiPreferences settings, but I cannot register an account without e-mail working. What is the username that matches the password that I am using to make changes using /bin/configure?

-- BobVanCleef - 16 Dec 2006

The configure password is separate from user accounts, you need to register to get a TWiki account.

As for the chicken & egg problem on editing system topics, the docs need to be improved. Basically, do not edit TWiki.TWikiPreferences, but carry the settings forward to Main.TWikiPreferences. This topic can only be edited by a member of the Main.TWikiAdminGroup. Since you are not registered yet you can't edit the preferences topic. However, the Main.TWikiAdminGroup topic is not locked down, so edit that topic, and add TWikiGuest to it. Now you should be able to edit Main.TWikiPreferences and add the required settings. Alternatively, open a shell and edit the data/Main/TWikiPreferences.txt file.

In Main.TWikiPreferences you need to set WIKIWEBMASTER, WIKIWEBMASTERNAME, SMTPMAILHOST to get e-mail working. You probably want to set WIKILOGOIMG, WIKILOGOURL, WIKILOGOALT, FAVICON as well to personalize your site.

-- PeterThoeny - 17 Dec 2006

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-12-17 - 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.