office 365

Moderator: crythias

Post Reply
lucks
Znuny newbie
Posts: 4
Joined: 13 Nov 2012, 22:22
Znuny Version: 3.1.11

office 365

Post by lucks »

I try to configure office 365 account to send emails
(Sendmail module: smtptls)
but not work
log is clear

How I configure sendmail module to work with office 365 account?
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: office 365

Post by jojo »

which Port are you using?
"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
lucks
Znuny newbie
Posts: 4
Joined: 13 Nov 2012, 22:22
Znuny Version: 3.1.11

Re: office 365

Post by lucks »

host: pod51014.outlook.com
Port: 587
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: office 365

Post by jojo »

username and password are set?

what is the exact error in the logfile? What error does the mailserveradmin get?
"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
lucks
Znuny newbie
Posts: 4
Joined: 13 Nov 2012, 22:22
Znuny Version: 3.1.11

Re: office 365

Post by lucks »

password and username is set.
log is clear.

when I put wrong password or username i see autentication error in otrs log, when password is ok log is clear
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: office 365

Post by jojo »

if OTRS can deliver it to office365 without any error you need to ask the office365 admins
"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
lucks
Znuny newbie
Posts: 4
Joined: 13 Nov 2012, 22:22
Znuny Version: 3.1.11

Re: office 365

Post by lucks »

otrs log is clear but i found this in the apache log:

[error] Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender\n at C:/PROGRA~2/OTRS/OTRS//Kernel/System/Email/SMTPTLS.pm line 172\n

550 5.7.1 suggest to authentication problem but i'm sure is ok.

I tested TLS connection on this account with outlook and everything is ok
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: office 365

Post by crythias »

lucks wrote: Client does not have permissions to send as this sender\n
This isn't authentication. This is exactly what it says and means what it says. The email address being used to send does not have permission to be used as a From address for the user who is currently properly authenticated for SMTP.

Or, in "English", the error message.

What to do? Don't Do That, for instance. Use another SMTP provider that allows this. or do some iterations with Send As permissions on distribution lists (but only in domains that Office 365 manages).
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
atoajay
Znuny newbie
Posts: 30
Joined: 03 Apr 2012, 20:28
Znuny Version: 3.0.8
Real Name: Ajay Ghose
Company: GAVS

Re: office 365

Post by atoajay »

I had the same issue when i setup Office365 with OTRS , the SMTP server has only one email address that is authenticated. Use that email address to send email notifications, else go for an additional SMTP server and set the email address u prefer to use to send emails from OTRS

Regards
Ajay
Post Reply