[SOLVED] website port number change-can't connect to webmail

Moderator: crythias

Locked
snuffy
Znuny newbie
Posts: 6
Joined: 24 Sep 2012, 15:50
Znuny Version: version3
Real Name: Tim

[SOLVED] website port number change-can't connect to webmail

Post by snuffy »

I have a test setup (3.2.0.beta3) with mail fully working using a gmail IMAP account.

I changed the Apache port listening number to 8079 (picked at random) and can connect internally to http://192.168.0.201:8079/otrs/index.pl? and everything appears to function, except for mail fetching. I now get the following error:

Oops! An Error occurred.
Error Message: IMAPS: Can't connect to imap.gmail.com

Code: Select all

Backend ERROR: OTRS-CGI-01 Perl: 5.10.1 OS: linux Time: Tue Mar 12 17:46:16 2013 Message: IMAPS: Can't connect to imap.gmail.com RemoteAddress: 192.168.0.3 RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=1;ChallengeToken=51ec77670c3b54c803e0a5c22701646e; Traceback (3110): Module: Kernel::System::MailAccount::IMAPS::_Fetch (v1.14) Line: 127 Module: Kernel::System::MailAccount::IMAPS::Fetch (v1.14) Line: 79 Module: Kernel::System::MailAccount::MailAccountFetch (v1.20) Line: 424 Module: Kernel::Modules::AdminMailAccount::Run (v1.30) Line: 69 Module: Kernel::System::Web::InterfaceAgent::Run (v1.73) Line: 866 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.93) Line: 204 Module: ModPerl::RegistryCooker::run (v1.93) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.93) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
I have no idea why? Have I made a stupid noob mistake?

I see the address 192.168.0.3 in the error output; this is the address of another client on my network (unrelated to the web server) so it may be something to do with a configuration somewhere?
Last edited by snuffy on 18 Mar 2013, 09:40, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: website port number changed, now can't connect to webmai

Post by crythias »

IMAPS: Can't connect to imap.gmail.com

DNS or port
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
snuffy
Znuny newbie
Posts: 6
Joined: 24 Sep 2012, 15:50
Znuny Version: version3
Real Name: Tim

Re: website port number changed, now can't connect to webmai

Post by snuffy »

That's what I thought; the only thing that changed was the listening port from 80 to 8079 in Apache. I haven't made any DNS changes.

But why would that cause a connection to imap.gmail.com issue?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: website port number changed, now can't connect to webmai

Post by crythias »

snuffy wrote:But why would that cause a connection to imap.gmail.com issue?
It wouldn't, but the problem is what it says it is. dns or firewall connectivity.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
snuffy
Znuny newbie
Posts: 6
Joined: 24 Sep 2012, 15:50
Znuny Version: version3
Real Name: Tim

[SOLVED] website port number change-can't connect to webmail

Post by snuffy »

Thanks crythias,

After trying everything I could think of I rebooted my stupid Virgin Media Superhub router (well renowned for being garbage) and all is OK.

Thanks.
Tim.
Locked