Tags:
create new tag
view all tags

SID-00985: E-mail Notifications - custom SMTP

Status: Answered Answered TWiki version: 5.0.0 Perl version: 5.10.0
Category: CategoryEmail Server OS: Mac OS X Snow Leopard Last update: 15 years ago

Hi,

I have recently migrated my TWiki server to a new Apple XServe and all has gone well except that I need to have the webnotify system working and unfortunatly it appears to use sendmail which it cannot do as there is a mail server already bound to the ports so it just gets locked in a loop...

Is there any way of telling TWiki to use an existing SMTP server (namely the one hosted on the same XServe) without the use of sendmail?

-- PeterHerbert - 2010-09-29

Discussion and Answer

You have a choice of using sendmail or Net::SMTP. If you define {SMTP}{MAILHOST} in configure and CPAN:Net::SMTP is installed, it will be used instead of sendmail.

-- PeterThoeny - 2010-09-29

Hi,

Thanks for your response however I have double checked that bot Net::SMTP and the SMTP are correct and have allowed the script to run again on schedule...

This time it didnt appear to use sendmail as my server logs were not spammed by its failed attempts to bind to port 25 but also there was no email sent out to the people on the notifications topic.

Is there anything you can think of that I might of missed?

-- PeterHerbert - 2010-10-01

Hello. In configure you have to set

{SMTP}{MAILHOST} The SMTP server (set the IP to avoid DNS resolution)

{SMTP}{SENDERHOST} The TWiki server

{SMTP}{Username} A valid username in the smtp server.

{SMTP}{Password} The password for that smtp username.

If you use SMTP option the mail server relying options should not interfere but you can try anyway to relax server security including twiki server ip in some kind of trusted hosts list.

Check twiki and web server logs for clues.

-- EnriqueCadalso - 2010-10-22

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2011-01-04

      Change status to:
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.
SupportForm
Status Answered
Title E-mail Notifications - custom SMTP
SupportCategory CategoryEmail
TWiki version 5.0.0
Server OS Mac OS X Snow Leopard
Web server Apache 2
Perl version 5.10.0
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2011-01-04 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.