Fetching from non-default IMAP/POP3 port

Moderator: crythias

Locked
koki
Znuny newbie
Posts: 9
Joined: 15 Apr 2012, 22:42
Znuny Version: 3.1.2

Fetching from non-default IMAP/POP3 port

Post by koki »

Hi all,

I'm trying to set up e-mail fetching (postmaster mail accounts) from a non-default IMAP port, but I have no info on how to do this, and there is no setting that i know of that would allow this.

Any ideas?

Thanx!
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Re: Fetching from non-default IMAP/POP3 port

Post by seberget2 »

koki wrote:I'm trying to set up e-mail fetching (postmaster mail accounts) from a non-default IMAP port, but I have no info on how to do this, and there is no setting that i know of that would allow this.
You have to 'fix' this yourself by editing a Perl module yourself. Have a look in the

Code: Select all

<OTRS-INSTALL-DIR>/Kernel/System/MailAccount/IMAP.pm
or the

Code: Select all

IMAPS.pm
file. In the

Code: Select all

sub Connect
block. If you decide to amend this file I recommend that you read the

Code: Select all

<OTRS-INSTALL-DIR>/Custom/README
file for how you should do it when you want override some of the default modules.

I seem to remember that there was a module on http://opar.perl-services.de/ that did this, but I can't find it at the moment.

Or you could look into the alternative ways of collecting e-mail in http://doc.otrs.org/3.3/en/html/email-s ... -fetchmail by example.

Hope this gets you going.
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
Locked