Postmaster Mail Account Problem!

Moderator: crythias

Locked
irba
Znuny newbie
Posts: 26
Joined: 06 Mar 2013, 12:41
Znuny Version: 3.2.2
Real Name: Irini
Company: Albtelecom

Postmaster Mail Account Problem!

Post by irba »

Hello,

I'm having some trouble configuring a new postmaster mail account.
We have one already and it is working fine, but we need another account. I tried configuring it using both IMAP and POP but it doesn't fetch and generates the following error:

IMAPTLS: Can't connect to mail server.
or
POP3TLS: Auth for user failed

OTRS is able to ping the mail server . If I see the Error details, there is a Remote Address listed there, which OTRS is not able to ping. Whose address is that?
Does anyone have any idea what might be causing the problem?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Postmaster Mail Account Problem!

Post by crythias »

Errors are reported from the mail server.
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
irba
Znuny newbie
Posts: 26
Joined: 06 Mar 2013, 12:41
Znuny Version: 3.2.2
Real Name: Irini
Company: Albtelecom

Re: Postmaster Mail Account Problem!

Post by irba »

Code: Select all

		
From: ******** (Cron Daemon)
To: *********
Subject: Cron <*****> /opt/otrs/bin/otrs.PostMasterMailbox.pl >> /dev/null
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20140318073504.86A222404CD@*******>
Date: Tue, 18 Mar 2014 08:35:04 +0100 (CET)

ERROR: OTRS-otrs.PostMasterMailbox.pl-11 Perl: 5.10.1 OS: linux Time: Tue Mar 18 08:35:04 2014

 Message: IMAPTLS: Can't connect to[i] domain_name[/i]: Unable to connect to [i]domain_name[/i]:


 Traceback (9038):
   Module: Kernel::System::MailAccount::IMAPTLS::_Fetch (OTRS 3.3.3) Line: 120
   Module: Kernel::System::MailAccount::IMAPTLS::Fetch (OTRS 3.3.3) Line: 72
   Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.3.3) Line: 427
   Module: main::Fetch (unknown version) Line: 177
   Module: /opt/otrs/bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90
I have replaced some names with * for privacy reasons.

Also, referring to the error message generated from IMAPTLS.pm :

Code: Select all

  # connect to host
    my $IMAPObject = Mail::IMAPClient->new(
        Server   => $Param{Host},
        User     => $Param{Login},
        Password => $Param{Password},
        Starttls => [ SSL_verify_mode => 0 ],
        Debug    => $Param{Debug},
        Uid      => 1,

        # see bug#8791: needed for some Microsoft Exchange backends
        Ignoresizeerrors => 1,
    );

    if ( !$IMAPObject ) {
        return ( Successful => 0, Message => "IMAPTLS: Can't connect to $Param{Host}: $@\n" );
    }

    return (
        Successful => 1,
        IMAPObject => $IMAPObject,
    );
}
Still I'm not able to find out where's the problem :(
irba
Znuny newbie
Posts: 26
Joined: 06 Mar 2013, 12:41
Znuny Version: 3.2.2
Real Name: Irini
Company: Albtelecom

Re: Postmaster Mail Account Problem!

Post by irba »

Also this is the complete error I receive:

Code: Select all

Backend ERROR: OTRS-CGI-11 Perl: 5.10.1 OS: linux Time: Tue Mar 18 13:34:09 2014 Message: IMAPTLS: Can't connect to [i]domain_name[/i]: Unable to connect to [i]domain_name[/i]: RemoteAddress: *.*.*.* RequestURI: /otrs/index.pl?Action=AdminMailAccount;Subaction=Run;ID=5;ChallengeToken=5fORNgaMkq8Q3NED8bOrmvqt9UU9FiM3; Traceback (5591): Module: Kernel::System::MailAccount::IMAPTLS::_Fetch (OTRS 3.3.3) Line: 120 Module: Kernel::System::MailAccount::IMAPTLS::Fetch (OTRS 3.3.3) Line: 72 Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.3.3) Line: 427 Module: Kernel::Modules::AdminMailAccount::Run (OTRS 3.3.3) Line: 64 Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.3) Line: 863 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) 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
is the Remote Address listed above the address of mail server?
Locked