OTRS & Office 365

Moderator: crythias

Locked
MStraet
Znuny newbie
Posts: 6
Joined: 27 Feb 2013, 15:43
Znuny Version: 3.1.12

OTRS & Office 365

Post by MStraet »

Hello,

I recently migrated to Office 365 and the mail accounts in use for OTRS are now Shared mailboxes.

I changed the settings for the email addresses

Type: IMAPS
Username: my email
Password : my password
Server: outlook.office365.com
Trusted: Yes

In Framework > Core > Sendmail
Sendmailmodule: SMTPTLS
Host: my smtp relay
Authuser: my email
Authpw: my password

When I try to fetch email it says the following in the error log:

ackend ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Tue Aug 19 09:34:23 2014 Message: IMAPS: Auth for user xxx@xxx.be/outlook.office365.com failed! Traceback (3821): Module: Kernel::System::MailAccount::IMAPS::_Fetch (v1.10) Line: 127 Module: Kernel::System::MailAccount::IMAPS::Fetch (v1.10) Line: 79 Module: Kernel::System::MailAccount::MailAccountFetch (v1.16) Line: 386 Module: Kernel::Modules::AdminMailAccount::Run (v1.23) Line: 63 Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.89.2.1) Line: 204 Module: ModPerl::RegistryCooker::run (v1.89.2.1) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.89.2.1) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31

What could be the problem?
OTRS 3.1.12 on a CentOS 5.9 using Mysql DB :-)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS & Office 365

Post by crythias »

Auth for user xxx@xxx.be/outlook.office365.com failed!
The error message is the problem.
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
MStraet
Znuny newbie
Posts: 6
Joined: 27 Feb 2013, 15:43
Znuny Version: 3.1.12

Re: OTRS & Office 365

Post by MStraet »

crythias wrote:
Auth for user xxx@xxx.be/outlook.office365.com failed!
The error message is the problem.
I was able to change some settings.

Now I get the following error.

Wed Aug 20 14:44:21 2014 notice OTRS-PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running

I followed this
http://techgobind.blogspot.be/2012/02/c ... ilbox.html

When I execute
IMAPS: Message 2/1519 (helpdesk@xxx/outlook.office365.com)
Auth failed: 535 5.7.3 Authentication unsuccessful
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 110

It's an authentication problem but I used the credentials to login on the portal and that works. It means OTRS has some erorrs. It's like OTRS doesn't support SMTPTLS correctly or so.

EDIT: I used SMTPS now and it is working. So I guess there is some bug with SMTPTLS in OTRS.
OTRS 3.1.12 on a CentOS 5.9 using Mysql DB :-)
Locked