1 message in com.mysql.lists.eventum-usersEventum SSL Emailing| From | Sent On | Attachments |
|---|---|---|
| Keegan Sands | 13 Aug 2005 07:23 |
| Subject: | Eventum SSL Emailing![]() |
|---|---|
| From: | Keegan Sands (keeg...@gmail.com) |
| Date: | 08/13/2005 07:23:41 AM |
| List: | com.mysql.lists.eventum-users |
Hi,
I recently had an issue with sending email from Eventum to an SMTP server via SSL. The PEAR::Net_SMTP which eventum uses to send mail doesn't support SSL and I couldn't send from my gmail account. After a lot of investigating via google, I finally came up with a solution and wanted to share it so anybody with the same problem won't have to spend nearly as much time looking.
I found an application called stunnel, which can be found at stunnel.org. You install stunnel on your system, set up a simple ini file with your SMTP configuration and then run sTunnel. It will listen on a port you specify in the ini file for a non-SSL connection(default=50025).
In Eventum you set it up the SMTP server with localhost as the ip address and the port you have sTunnel listening on. When eventum processes the mail queue it will connect to the port on your local system, sTunnel will then redirect the request to the correct SMTP server using an SSL connection.
So even though the PEAR SMTP class doesn't support SSL you can pass through sTunnel and be able to make this connection.
I hope this posting saves somebody somewhere a little bit of time.
Thanks, Keegan




