[SOLVED] Error fetching Email

Moderator: crythias

Locked
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

[SOLVED] Error fetching Email

Post by aph »

I get the following error when fetching mails from an IMAP account

Code: Select all

IMAP: Can't connect to  xxxx.xxxx.com
Below is the detailed error message is

Code: Select all

Backend ERROR: OTRS-CGI-11 Perl: 5.16.3 OS: MSWin32 Time: Wed Aug 6 11:03:19 2014 Message: IMAP: Can't connect to xxxx.xxxx.com RemoteAddress: ::1 RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=1;ChallengeToken=0ULXwgYIVSYv4kAbUujcaIVne0YN7m8W;;OTRSAgentInterface=NezbBoLQfEy8rkEf0Z26IrQHX5TtgQPa Traceback (4968): Module: Kernel::System::MailAccount::IMAP::_Fetch (OTRS 3.3.8) Line: 124 Module: Kernel::System::MailAccount::IMAP::Fetch (OTRS 3.3.8) Line: 77 Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.3.8) Line: 427 Module: Kernel::Modules::AdminMailAccount::Run (OTRS 3.3.8) Line: 64 Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871 Module: PerlEx::Precompiler::d_::otrs::otrs::bin::cgi2dbin::index_pl::__ANON__ (unknown version) Line: 41 Module: (eval) (unknown version) Line: 458 Module: PerlEx::Precompiler::Execute (unknown version) Line: 458 
The logfile only informs me that:

Code: Select all

[Kernel::System::MailAccount::IMAP::_Fetch][124] IMAP: Can't connect to xxxx.xxxx.com 
I think the problem could be due to a proxy. Can I set proxy via config? Any thoughts?
Last edited by aph on 06 Aug 2014, 15:51, edited 1 time in total.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error fetching Email

Post by jojo »

OTRS can not use Proxy for IMAP, POP or SMTP connections.
"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
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Error fetching Email

Post by aph »

Thanks for the info.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Error fetching Email

Post by aph »

I was able to get OTRS to fetch emails from IMAP without the error message (on clicking fetch mail under mail account management I get the 'Finished' message). However, the fetched email is not visible on dashboard. What could be reason behind it?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Error fetching Email

Post by aph »

I had to enter the full IMAP path since the OTRS folder was a subfolder of Inbox. The correct path was INBOX/OTRS.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Locked