How to setup SSL SMTP ?

Moderator: crythias

Locked
szkjr
Znuny newbie
Posts: 8
Joined: 25 May 2010, 05:45
Znuny Version: 2.4.7

How to setup SSL SMTP ?

Post by szkjr »

hi:

Our SMTP server(exchange server) requires a secure connection (SSL),port 587.
Error message: Can't connect to x.x.x.x: Bad file descriptor!

How to setup OTRS SysConfig::sendmail ?

Thanks

john
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to setup SSL SMTP ?

Post by jojo »

What OTRS Version are you using?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
szkjr
Znuny newbie
Posts: 8
Joined: 25 May 2010, 05:45
Znuny Version: 2.4.7

Re: How to setup SSL SMTP ?

Post by szkjr »

verson 2.4.7 for Windows,ITSM 2.02,exchange server 2007,windows 2003.

thanks
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: How to setup SSL SMTP ?

Post by Mike_B »

Could it be that you have not, or not properly configured Core::FQDN? Please change this value in otrs/Kernel/Config.pm with a text editor, or, if the value is not there, then please change it via SysConfig.

Regards,

Mike.
huntingbears.nl - @michielbeijen on Twitter
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: How to setup SSL SMTP ?

Post by Mike_B »

If you're still interested, today I added SMTP TLS support (which Exchange apparently requires) to OTRS 3. If you want to add it to OTRS 2.x, please give me a shout and I'll create an OPM package for you.
huntingbears.nl - @michielbeijen on Twitter
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: How to setup SSL SMTP ?

Post by Mike_B »

You can try installing this package:

http://users.otrs.com/~mb/SMTPTLS-1.0.1.opm

It will add STARTTLS support to your OTRS 2.4 framework. In Admin > SysConfig > Framework > Core::Sendmail you'll find a new option "SMTPTLS", pick this.

Let me know if it works,

Mike.
huntingbears.nl - @michielbeijen on Twitter
risker
Znuny newbie
Posts: 91
Joined: 21 Jan 2008, 08:16
Znuny Version: Kein OTRS
Real Name: Oliver Skibbe
Company: MDKN
Location: Hannover
Contact:

Re: How to setup SSL SMTP ?

Post by risker »

Doesn't work for me on 2.4.7.

Unfortunately there is no log entry, i just get a downloadwindow for index.pl
1. OTRS Version: 3.0.12
Module: FAQ, extended TimeAccounting (supports Projects), SystemMonitoring, ITSM, Support
Server: Apache/2.0.55 (Ubuntu 10.04) PHP/5.2.6 mod_ssl/2.2.9 OpenSSL/0.9.8a mod_perl/2.0.4 Perl/v5.8.7.

ImageCIPHRON Security, Communications & Engineering
ImageCIPHRON OTRS Unterstützung & Dienstleistungen
pmedina_cu
Znuny newbie
Posts: 1
Joined: 28 Aug 2010, 00:10
Znuny Version: 2.4.7

Re: How to setup SSL SMTP ?

Post by pmedina_cu »

First of all excuse my english.

The SSL SMTP setup worked very well with http://users.otrs.com/~mb/SMTPTLS-1.0.1.opm package in OTRS Framework 2.4.7 and an email account on a server with Zimbra Colaboration Suite

Thank Mike.
latnem
Znuny newbie
Posts: 2
Joined: 07 Sep 2010, 21:04
Znuny Version: newest

Re: How to setup SSL SMTP ?

Post by latnem »

After installing this package when I attempt to send a test email via the admin notification page I get page cannot be displayed. I can change it back to SMTPS and configure with gmail and it works fine. I will continue to mess around with it.
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: How to setup SSL SMTP ?

Post by Mike_B »

risker wrote:Doesn't work for me on 2.4.7.

Unfortunately there is no log entry, i just get a downloadwindow for index.pl
I now created an updated version, based on a newer library:

http://users.otrs.com/~mb/SMTPTLS-1.0.2.opm

(it's for OTRS 2.4.x; OTRS 3.0.5 will have this bundled).
Regards,

Mike
huntingbears.nl - @michielbeijen on Twitter
Heinz-Josef Sturm
Znuny newbie
Posts: 10
Joined: 02 Aug 2007, 15:24

Re: How to setup SSL SMTP ?

Post by Heinz-Josef Sturm »

Hello Mike_B,

We have changed our Exchange to Exchange 2010 and have now the same problems like described in this thread.

unfortunately your Patch SMTPTLS-1.0.2.opm isn't installable with OTRS 2.3.4. It need's OTRS 2.4.x.

We will upgrade OTRS to 3.x end of the year. Can you help me in between?

Thank you
Heinz-Josef Sturm
Znuny newbie
Posts: 10
Joined: 02 Aug 2007, 15:24

Re: How to setup SSL SMTP ?

Post by Heinz-Josef Sturm »

Hello,

we fixed our problem using a workarround. We use an other MTA for outgoing E-Mails.

Thank you
Locked