IMAP auth failed

Moderator: crythias

Locked
donkamesen
Znuny newbie
Posts: 2
Joined: 13 Oct 2010, 18:57
Znuny Version: 2.4.8

IMAP auth failed

Post by donkamesen »

Installed otrs 2.4.9 from rpm package on Centos5. Everything went fine. System check found no errors.
When I try and setup an email for Postmaster Mail Account. When I hit 'Run Now!' I get the following errors:

Error: IMAP: Auth for user donkamesen@xxx.com mail.server.com failed!
Comment:
Bug Report:
Traceback: ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Tue Nov 23 12:57:49 2010

Message: IMAP: Auth for user donkamesen@xxx.com mail.server.com/10.0.0.7 failed!

Traceback (5249):
Module: Kernel::System::MailAccount::IMAP::_Fetch (v1.7.2.1) Line: 95
Module: Kernel::System::MailAccount::IMAP::Fetch (v1.7.2.1) Line: 42
Module: Kernel::System::MailAccount::MailAccountFetch (v1.9) Line: 380
Module: Kernel::Modules::AdminMailAccount::Run (v1.7) Line: 62
Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 819
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48
Module: (eval) (v1.88) Line: 204
Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31

Error in otrs.log:
[Error][Kernel::System::MailAccount::IMAP::_Fetch][95] IMAP: Auth for user donkamesen@xxx.com mail.server.com/10.0.0.7 failed!

any hints?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: IMAP auth failed

Post by jojo »

The Auth for the user failed. So have a look on your IMAP Server and check username and passwort
"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
donkamesen
Znuny newbie
Posts: 2
Joined: 13 Oct 2010, 18:57
Znuny Version: 2.4.8

Re: IMAP auth failed

Post by donkamesen »

Setup issue. I had to add sendmail and smtp info to the Config.pm file.
To save some time for someone else...

The instructions that I was following did not include this piece:
put this info in ../otrs/Kernel/Config.pm

$Self->{'SendmailModule'} = 'Kernel::System::Email::Sendmail';
$Self->{'SendmailModule::CMD'} = '/usr/sbin/sendmail -t -i -f ';
# SendmailModule
$Self->{"SendmailModule"} = "Kernel::System::Email::SMTP";
$Self->{"SendmailModule::Host"} = "mx.xxx.com";
$Self->{"SendmailModule::AuthUser"} = "otrs";
$Self->{"SendmailModule::AuthPassword"} = "xxxxx";
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: IMAP auth failed

Post by jojo »

You won't need this code in Config.pm as it is set via SysConfig.

As you are using sendmail you won't need the data for Host, User etc because it is not used
"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
Locked