
Hi, all. This is my first message to the list. I'm testing OTRS 2.4.0 beta 1 because the release history tells that it supports secure SMTP for outgoing mails, an excellent feature missing in previous versions. I want to know if this feature is working correctly because I cannot make OTRS sends an email using GMail SMTP (smtp.gmail.com) at port 587 as it works for me using Thunderbird as mail client. Every time I tried to send an email I get the error: Message: Can't connect to smtp.gmail.com: ! Traceback (4695): Module: Kernel::System::Email::SMTPS::Send (v1.1) Line: 92 Module: Kernel::System::Email::Send (v1.61) Line: 677 Module: Kernel::System::Ticket::Article::ArticleSend (v1.215) Line: 2018 Module: Kernel::Modules::AgentTicketCompose::Run (v1.66) Line: 418 Module: Kernel::System::Web::InterfaceAgent::Run (v1.42) Line: 826 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48 I'm not an expert with Perl but is not a difficult language to understand so I read the file SMTPS.pm and I found that at line 92 the system tries to establish the connection with the secure SMTP server and there is when it fails. For testing purpose, I tried to replace all the information from Gmail server with my ISP's SMTP server which works at port 25 and it's an standard SMTP. I left the option SMTPS although my ISP's server is not secure hoping getting an error of authentication, but that didn't happen. With this test the error I described was the same, except for the SMTP server address. I've got all needed Perl modules installed in my openSUSE 11.1, because OTRS can successfully retrieve emails from Gmail POP3S to create tickets. Any ideas? Thanks very much in advance to anyone that can give me a hint. Regards from Argentina. Santiago

Hi Santiago, For me the Secure SMTP feature works but for one reason or another I do have to use port 465 instead of 587 for smtp.gmail.com in order to connect with my Google Apps for Domains mail account. If I try to use 587 I receive the message "Can't connect to smtp.gmail.com: Bad file descriptor!". I am no SMTP guru - I can't tell the difference between the two but just One warning about the following:
I've got all needed Perl modules installed in my openSUSE 11.1, because OTRS can successfully retrieve emails from Gmail POP3S to create tickets.
That is not true. To send out emails using Secure SMTP you'd need to have
Net::SMTP::SSL installed which is not needed for POP3S but only for sending.
Please let me know if you can resolve your issue by changing the SMTP port
to 465.
Kind regards,
--
Michiel Beijen
Software Consultant
+31 6 - 457 42 418
Bee Free IT + http://beefreeit.nl
On Wed, May 6, 2009 at 13:31, Santiago Gonzalez Rodriguez - OverTech
Argentina
Hi, all.
This is my first message to the list.
I'm testing OTRS 2.4.0 beta 1 because the release history tells that it supports secure SMTP for outgoing mails, an excellent feature missing in previous versions.
I want to know if this feature is working correctly because I cannot make OTRS sends an email using GMail SMTP (smtp.gmail.com) at port 587 as it works for me using Thunderbird as mail client.
Every time I tried to send an email I get the error:
Message: Can't connect to smtp.gmail.com: !
Traceback (4695): Module: Kernel::System::Email::SMTPS::Send (v1.1) Line: 92 Module: Kernel::System::Email::Send (v1.61) Line: 677 Module: Kernel::System::Ticket::Article::ArticleSend (v1.215) Line: 2018 Module: Kernel::Modules::AgentTicketCompose::Run (v1.66) Line: 418 Module: Kernel::System::Web::InterfaceAgent::Run (v1.42) Line: 826 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48
I'm not an expert with Perl but is not a difficult language to understand so I read the file SMTPS.pm and I found that at line 92 the system tries to establish the connection with the secure SMTP server and there is when it fails.
For testing purpose, I tried to replace all the information from Gmail server with my ISP's SMTP server which works at port 25 and it's an standard SMTP. I left the option SMTPS although my ISP's server is not secure hoping getting an error of authentication, but that didn't happen. With this test the error I described was the same, except for the SMTP server address.
I've got all needed Perl modules installed in my openSUSE 11.1, because OTRS can successfully retrieve emails from Gmail POP3S to create tickets.
Any ideas?
Thanks very much in advance to anyone that can give me a hint.
Regards from Argentina.
Santiago
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Hi Michiel
Thanks very much for your answer. I'm also using Google Apps for Domains
mail account.
The problem was solve, and it was the port number. I tried 465 and it
worked!!!
I originally use 587 because two things:
1) When using the accounts with IMAP in Thunderbird the connection to port
465 doesn't respond, only connection to port 587
2) After the firt try with OTRS and port 587 I used telnet to
smtp.gmail.comport 465 and I didn't get any answer, and with port 587
the Gmail SMTP
responded.
I always thought that the port number depends on the region of the IP that
starts the connection, so port 587 accepts connections from some part of the
world and not others, and port 465 does the same, like a load balance... but
today that silly theory that I use to had goes to the garbage because I
tried port 465 and it worked, although with Thunderbird I still have to use
port 587. Note: The IP address of our office to outside world is only one,
we are behind a NAT.
Thanks again.
Santiago
On Wed, May 6, 2009 at 11:14, Michiel Beijen
Hi Santiago,
For me the Secure SMTP feature works but for one reason or another I do have to use port 465 instead of 587 for smtp.gmail.com in order to connect with my Google Apps for Domains mail account. If I try to use 587 I receive the message "Can't connect to smtp.gmail.com: Bad file descriptor!". I am no SMTP guru - I can't tell the difference between the two but just
One warning about the following:
I've got all needed Perl modules installed in my openSUSE 11.1, because OTRS can successfully retrieve emails from Gmail POP3S to create tickets.
That is not true. To send out emails using Secure SMTP you'd need to have Net::SMTP::SSL installed which is not needed for POP3S but only for sending.
Please let me know if you can resolve your issue by changing the SMTP port to 465.
Kind regards, -- Michiel Beijen Software Consultant +31 6 - 457 42 418 Bee Free IT + http://beefreeit.nl
On Wed, May 6, 2009 at 13:31, Santiago Gonzalez Rodriguez - OverTech Argentina
wrote: Hi, all.
This is my first message to the list.
I'm testing OTRS 2.4.0 beta 1 because the release history tells that it supports secure SMTP for outgoing mails, an excellent feature missing in previous versions.
I want to know if this feature is working correctly because I cannot make OTRS sends an email using GMail SMTP (smtp.gmail.com) at port 587 as it works for me using Thunderbird as mail client.
Every time I tried to send an email I get the error:
Message: Can't connect to smtp.gmail.com: !
Traceback (4695): Module: Kernel::System::Email::SMTPS::Send (v1.1) Line: 92 Module: Kernel::System::Email::Send (v1.61) Line: 677 Module: Kernel::System::Ticket::Article::ArticleSend (v1.215) Line: 2018 Module: Kernel::Modules::AgentTicketCompose::Run (v1.66) Line: 418 Module: Kernel::System::Web::InterfaceAgent::Run (v1.42) Line: 826 Module: /opt/otrs/bin/cgi-bin/index.pl (v1.88) Line: 48
I'm not an expert with Perl but is not a difficult language to understand so I read the file SMTPS.pm and I found that at line 92 the system tries to establish the connection with the secure SMTP server and there is when it fails.
For testing purpose, I tried to replace all the information from Gmail server with my ISP's SMTP server which works at port 25 and it's an standard SMTP. I left the option SMTPS although my ISP's server is not secure hoping getting an error of authentication, but that didn't happen. With this test the error I described was the same, except for the SMTP server address.
I've got all needed Perl modules installed in my openSUSE 11.1, because OTRS can successfully retrieve emails from Gmail POP3S to create tickets.
Any ideas?
Thanks very much in advance to anyone that can give me a hint.
Regards from Argentina.
Santiago
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (2)
-
Michiel Beijen
-
Santiago Gonzalez Rodriguez - OverTech Argentina