Mailing configuration errors

Moderator: crythias

Post Reply
davemzcs
Znuny newbie
Posts: 1
Joined: 08 Nov 2016, 22:57
Znuny Version: 5.0.13

Mailing configuration errors

Post by davemzcs »

Hi Guys-

Well i have a "simple" issue with the Mail configuration in my OTRS system 5.0.13

i set up the imap and/or the pop configuration (following the google information*) but i keep getting this errors:

-----------------------------------------------------------------------------------------------------------------
Backend ERROR: OTRS-CGI-00 Perl: 5.16.3 OS: linux Time: Tue Nov 8 16:07:19 2016

Message: IMAP: Can't connect to imap.gmail.com

RemoteAddress: 192.168.100.113 (why do i get my computer IP address in this?)
RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=2;ChallengeToken=sNYI5YhLJVEfC3IhRRMBvRimEIeDAaEk;

Traceback (2280):
Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 142
Module: Kernel::System::MailAccount::IMAP::Fetch Line: 86
Module: Kernel::System::MailAccount::MailAccountFetch Line: 440
Module: Kernel::Modules::AdminMailAccount::Run Line: 56
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1053
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 40
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32


Logs:

Tue Nov 8 16:02:09 2016 error OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-00 There was an error executing Execute() in Kernel::System::Console::Command::Maint::PostMaster::MailAccountFetch: ERROR: OTRS-otrs.Console.pl-Maint::PostMaster::MailAccountFetch-00 Perl: 5.16.3 OS: linux Time: Tue Nov 8 16:02:09 2016
-----------------------------------------------------------------------------------------------------------------

I am running OTRS on CentOs 7, the firewall is disable, the DNS servers are 8.8.8.8 and 8.8.4.4, Clock and Time Zones are ok.

Thank you guys for your help!

* https://support.google.com/mail/answer/7126229?hl=en
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: Mailing configuration errors

Post by klausneil »

Message: IMAP: Can't connect to imap.gmail.com
This is by Google not use pot generic only port secure, IMAPS POPS SMTPS. You change the account to IMAPS this work
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Mailing configuration errors

Post by Mahesh »

Hi,

I have tried IMAPS and it did not work for me. There is not issue with the modules / DNS and other services. Early help would be appreciated.

Here is the error --

Backend ERROR: OTRS-CGI-20 Perl: 5.10.1 OS: linux Time: Thu Dec 8 18:08:54 2016 Message: IMAPS: Can't connect to imap.gmail.com RemoteAddress: 10.41.12.31 RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=8;ChallengeToken=vHDPEtz7jpJuJU5vSbioChBm2HduLEet; Traceback (14249): Module: Kernel::System::MailAccount::IMAP::_Fetch Line: 143 Module: Kernel::System::MailAccount::IMAP::Fetch Line: 87 Module: Kernel::System::MailAccount::MailAccountFetch Line: 441 Module: Kernel::Modules::AdminMailAccount::Run Line: 63 Module: Kernel::System::Web::InterfaceAgent::Run Line: 996 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 41 Module: (eval) (v1.99) Line: 204 Module: ModPerl::RegistryCooker::run (v1.99) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Mailing configuration errors

Post by skullz »

1. Turn on less secure apps
2. google unlock captcha
3. 2fa should be turn off / generate specific pass if u using 2fa
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Re: Mailing configuration errors

Post by Mahesh »

Have already allowed less secure apps and we are not using 2 factor authentication.

Any other suggestions ?

Thanks
Mahesh
Post Reply