
same "error" as mine ... ;)
as in faq for that:
Select *465 *as SendmailModule::Port - *Please note that Google also uses
port 587, but only for TLS. OTRS uses SSL communication, so we should select
port 465 here.*
*
*
*
*
On Mon, Apr 12, 2010 at 10:27 AM, Rodney McDuff
Isn't it port 587?
Kenneth Thorman wrote:
Hi everyone
I have spent a long time testing the different suggestions here but nothing seems to work.
I would like to send outgoing emails from OTRS through Google Apps.
More specifically
Config Options: Framework -> Core::Sendmail SendmailModule: SMTPS SendmailModule::Host: smtp.gmail.com http://smtp.gmail.com SendmailModule::Port: 465 SendmailModule::AuthUser: XXXXXX@XXXXX.com (a valid username) SendmailModule::AuthPassword: XXXXXXXXXXXX (corresponding password to username above)
I have added debugging in the SMTPS.pm file
# debug $Self->{Debug} = 1000; # ****************** Added line $Self->{Debug} = $Param{Debug} || 0; if ( $Self->{Debug} > 2 ) {
# shown on STDERR $Self->{SMTPDebug} = 1; }
as well as additional debug information at
# return if no connect was possible if ( !$SMTP ) { $Self->{LogObject}->Log( Priority => 'error', Message => "Can't connect to $Self->{MailHost}: $!! </br>Self->{FQDN} = $Self->{FQDN}</br>Self->{SMTPPort} = $Self->{SMTPPort}</br>Self->{SMTPTimeout} = $Self->{SMTPTimeout}</br>Self->{MailHost} = $Self->{MailHost}</br>Self->{User} = $Self->{User}</br>Self->{Password} = $Self->{Password}", ); return; # ***************************** Added some more information here to see what is going on }
Trying to connect on the command line is working fine
root@XXXXXXXXXXXXX /vol/otrs/Kernel/System/Email #telnet smtp.gmail.com http://smtp.gmail.com 465 Trying 216.239.59.109... Connected to smtp.gmail.com http://smtp.gmail.com (216.239.59.109). Escape character is '^]'.
Just for info retrieving emails on the same account works fine
Checking modules
root@XXXXXXXXXXXXXX /vol/otrs/bin #./otrs.checkModules o CGI............................ok (v3.49) o Date::Pcalc....................ok (v1.2) o Date::Format...................ok (v2.22) o DBI............................ok (v1.52) o DBD::mysql.....................ok (v3.0007) o Digest::MD5....................ok (v2.36) o Crypt::PasswdMD5...............ok (v1.3) o LWP::UserAgent.................ok (v2.033) o Encode::HanExtra...............ok (v0.23) o IO::Scalar.....................ok (v2.110) o IO::Wrap.......................ok (v2.110) o MIME::Base64...................ok (v3.07) o Mail::Internet.................ok (v2.04) o MIME::Tools....................ok (v5.427) o Net::DNS.......................ok (v0.66) o Net::POP3......................ok (v2.29) o Mail::POP3Client...............ok (v2.18 ) o IO::Socket::SSL.............ok (v1.01) o Net::IMAP::Simple..............ok (v1.17) o Net::IMAP::Simple::SSL......ok (v1.3) o Net::SMTP......................ok (v2.31) o Authen::SASL................ok (v2.12) o Net::SMTP::SSL..............ok (v1.01) o Net::LDAP......................ok (v0.33) o GD.............................ok (v2.35) o GD::Text....................ok (v0.86) o GD::Graph...................ok (v1.44) o GD::Graph::lines............ok (v1.15) o GD::Text::Align.............ok (v1.18) o PDF::API2......................ok (v0.73) o Compress::Zlib..............ok (v2.024) o SOAP::Lite.....................ok (v0.710.07) o XML::Parser....................ok (v2.36)
SELinux is disabled root@XXXXXXXXXXXX /vol/otrs/bin #getenforce Disabled
The error that is showed when trying to send a reply email is
Error: Can't connect to smtp.gmail.com http://smtp.gmail.com: ! </br>Self->{FQDN} = XXXXX[..] Comment: Bug Report: Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Mon Apr 12 10:18:21 2010
Message: Can't connect to smtp.gmail.com http://smtp.gmail.com: ! </br>Self->{FQDN} =XXXXXXXX</br>Self->{SMTPPort} = 465</br>Self->{SMTPTimeout} = 30</br>Self->{MailHost} = smtp.gmail.com http://smtp.gmail.com</br>Self->{User} = XXXXXXX</br>Self->{Password} =XXXXXXX
Traceback (24125): Module: Kernel::System::Email::SMTPS::Send (v1.2) Line: 101 Module: Kernel::System::Email::Send (v1.64.2.1) Line: 690 Module: Kernel::System::Ticket::Article::ArticleSend (v1.232.2.1) Line: 2027 Module: Kernel::Modules::AgentTicketCompose::Run (v1.81.2.4) Line: 424 Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 819 Module:
ModPerl::ROOT::ModPerl::Registry::vol_otrs_bin_cgi_2dbin_index_2epl::handler
(unknown version) Line: 48 Module: (eval) (v1.88) Line: 203 Module: ModPerl::RegistryCooker::run (v1.88) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30
(servername, usernam and passwords have been replaced by XXXXXXXX in the entire email above)
All suggestions in the following links have been tried: http://osdir.com/ml/otrs.user/2004-05/msg00089.html http://lists.otrs.org/pipermail/otrs/2009-November/029454.html http://lists.otrs.org/pipermail/otrs/2009-December/029909.html http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&ItemID=363 http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&ItemID=363
I am pretty much stumped at this.
I must be missing something very obvious?
Thank you in advance
Regards Kenneth Thorman
------------------------------------------------------------------------
--------------------------------------------------------------------- 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/
-- Dr. Rodney G. McDuff |Ex ignorantia ad sapientiam Manager, Strategic Technologies Group| Ex luce ad tenebras Information Technology Services | The University of Queensland | EMAIL: mcduff@its.uq.edu.au | TELEPHONE: +61 7 3365 8220 |
--------------------------------------------------------------------- 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/