Question
Hi,
I've recently installed the latest TWiki on a Solaris 10 box. Everything's working fine except that when a new user registers, the supposed 'confirmation' email is never sent, nor is any notification email sent to the TWiki Admin user.
NET::SMTP 2.26 is installed and running on this server, configured as:
{SMTP}{MAILHOST}: localhost (127.0.0.1)
{SMTP}{SENDERHOST}: twiki.mycompany.com (the domain of the server)
Both username and passwords are left blank.
Weird thing is, when I enable 'debug mode' and read through the SMTP log, it shows two different hostnames. one is twiki.mycompany.com, which is the real host domain, the other is atm.mycompany.com, which I have no clue about. I have this sneaking suspicion that it's the reason why the emails are not sent even though the log seems to say everything's okay.
Net::SMTP=GLOB(0xd4d74c)<<< 220 atm.mycompany.com ESMTP Sendmail 8.13.6+Sun/8.13.6; Wed, 22 Nov 2006 16:10:44 -0500 (EST)
Net::SMTP=GLOB(0xd4d74c)>>> EHLO twiki.mycompany.com
Net::SMTP=GLOB(0xd4d74c)<<< 250-atm.mycompany.com Hello localhost [127.0.0.1], pleased to meet you
Net::SMTP=GLOB(0xd4d74c)<<< 250-ENHANCEDSTATUSCODES
Net::SMTP=GLOB(0xd4d74c)<<< 250-PIPELINING
Net::SMTP=GLOB(0xd4d74c)<<< 250-EXPN
Net::SMTP=GLOB(0xd4d74c)<<< 250-VERB
Net::SMTP=GLOB(0xd4d74c)<<< 250-8BITMIME
Net::SMTP=GLOB(0xd4d74c)<<< 250-SIZE
Net::SMTP=GLOB(0xd4d74c)<<< 250-DSN
Net::SMTP=GLOB(0xd4d74c)<<< 250-ETRN
Net::SMTP=GLOB(0xd4d74c)<<< 250-DELIVERBY
Net::SMTP=GLOB(0xd4d74c)<<< 250 HELP
Net::SMTP=GLOB(0xd4d74c)>>> MAIL FROM:<tracy.lee@mycompany.com>
Net::SMTP=GLOB(0xd4d74c)<<< 250 2.1.0 <tracy.lee@mycompany.com>... Sender ok
Net::SMTP=GLOB(0xd4d74c)>>> RCPT TO:<tracy.lee@mycompany.com>
Net::SMTP=GLOB(0xd4d74c)<<< 250 2.1.5 <tracy.lee@mycompany.com>... Recipient ok
Net::SMTP=GLOB(0xd4d74c)>>> DATA
Net::SMTP=GLOB(0xd4d74c)<<< 354 Enter mail, end with "." on a line by itself
Net::SMTP=GLOB(0xd4d74c)>>> Date: Wed, 22 Nov 2006 21:10:44 GMT
Net::SMTP=GLOB(0xd4d74c)>>> From: Twiki Admin <tracy.lee@mycompany.com>
Net::SMTP=GLOB(0xd4d74c)>>> To: Twiki Admin <tracy.lee@mycompany.com>
Net::SMTP=GLOB(0xd4d74c)>>> Subject: TWiki - Registration for
PublicUser (
publicuser@yahooPLEASENOSPAM.com)
Net::SMTP=GLOB(0xd4d74c)>>> MIME-Version: 1.0
Net::SMTP=GLOB(0xd4d74c)>>> Content-Type: text/plain; charset=iso-8859-15
Net::SMTP=GLOB(0xd4d74c)>>> Content-Transfer-Encoding: 7bit
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>> This is an automated e-mail notification of user registration in TWiki.
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>>
PublicUser has been registered with e-mail
publicuser@yahooPLEASENOSPAM.com
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>> Submitted content:
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>> *
FirstName: Public
Net::SMTP=GLOB(0xd4d74c)>>> *
LastName: User
Net::SMTP=GLOB(0xd4d74c)>>> * Email:
publicuser@yahooPLEASENOSPAM.com
Net::SMTP=GLOB(0xd4d74c)>>> * Password:
*****
Net::SMTP=GLOB(0xd4d74c)>>> *
OrganisationName:
Net::SMTP=GLOB(0xd4d74c)>>> *
OrganisationURL:
Net::SMTP=GLOB(0xd4d74c)>>> * Country:
Net::SMTP=GLOB(0xd4d74c)>>> * Comment:
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>> Saved to:
Net::SMTP=GLOB(0xd4d74c)>>>
Net::SMTP=GLOB(0xd4d74c)>>>
http://twiki.mycompany.com/twiki/bin/view/Main/PublicUser
Net::SMTP=GLOB(0xd4d74c)>>> .
Net::SMTP=GLOB(0xd4d74c)<<< 250 2.0.0 kAMLAibL006116 Message accepted for delivery
Net::SMTP=GLOB(0xd4d74c)>>> QUIT
Net::SMTP=GLOB(0xd4d74c)<<< 221 2.0.0 atm.mycompany.com closing connection
:
Any ideas? Thanks!
Tracy Lee
Environment
--
TWikiGuest - 28 Nov 2006
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.
It looks like you are delivering the mail successfully to the local computer. What I bet is that the native sendmail is configured for local delivery instead of forwarding the mail to your companies mail smarthost that figures out the routing of mail. You could try to reconfigure twiki to send the mail directly to the smarthost for your company or fix the sendmail configuration.
--
RickMach - 29 Nov 2006