Hello,
Thank you for the great forum.
I am running into a problem with OTRS notifications.
We moved from Exchange 2010 on premises to Office 365.
I changed the settings for the mail notifications as mentionned by Microsoft but it is not working.
Here is what I've got in the setting for
SMTPTLS
smtp.office365.com
Auth = my email address
Pass = account password on office 365
sendmailnotificationenvelop = existing email address on office 365
Restarted postfix and even restarted the server but still KO
Any ideas or suggestions please ?
Thanks you
Emmanuel
Office 365 and OTRS notifications
Moderator: crythias
-
- Znuny newbie
- Posts: 52
- Joined: 04 Apr 2012, 13:45
- Znuny Version: 3.1.2
- Real Name: Emmanuel Jamin
- Company: Groupe PGS
- Location: France
- Contact:
Office 365 and OTRS notifications
Emmanuel
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Office 365 and OTRS notifications
But it should.emanjamin2002 wrote:it is not working.
But it's not.
Better question: I'm unable to send mail ... the error message is ...
I'm unable to fetch mail/new tickets ... the error message is ...
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
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
-
- Znuny newbie
- Posts: 52
- Joined: 04 Apr 2012, 13:45
- Znuny Version: 3.1.2
- Real Name: Emmanuel Jamin
- Company: Groupe PGS
- Location: France
- Contact:
Re: Office 365 and OTRS notifications
Hi,
Yes you are right.
When a ticket is saved, the notification is not send.
Here is an error message.
"syntax error at /opt/otrs//Kernel/System/Email/SMTPTLS.pm line 49, near ")587"
When I got to the file I see :
# get config data
$Self->{FQDN} = $Self->{ConfigObject}->Get('FQDN');
$Self->{MailHost} = $Self->{ConfigObject}->Get('SendmailModule::Host')
|| die "No SendmailModule::Host found in Core::Postmaster";
$Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port')587;
$Self->{User} = $Self->{ConfigObject}->Get('SendmailModule::AuthUser')
|| die "No SendmailModule::AuthUser found in Core::Postmaster";
$Self->{Password} = $Self->{ConfigObject}->Get('SendmailModule::AuthPassword')
|| die "No SendmailModule::AuthPassword found in Core::Postmaster";
return $Self;
I don't really see the problem line 49 ?
Thanks
Emmanuel
Yes you are right.
When a ticket is saved, the notification is not send.
Here is an error message.
"syntax error at /opt/otrs//Kernel/System/Email/SMTPTLS.pm line 49, near ")587"
When I got to the file I see :
# get config data
$Self->{FQDN} = $Self->{ConfigObject}->Get('FQDN');
$Self->{MailHost} = $Self->{ConfigObject}->Get('SendmailModule::Host')
|| die "No SendmailModule::Host found in Core::Postmaster";
$Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port')587;
$Self->{User} = $Self->{ConfigObject}->Get('SendmailModule::AuthUser')
|| die "No SendmailModule::AuthUser found in Core::Postmaster";
$Self->{Password} = $Self->{ConfigObject}->Get('SendmailModule::AuthPassword')
|| die "No SendmailModule::AuthPassword found in Core::Postmaster";
return $Self;
I don't really see the problem line 49 ?
Thanks
Emmanuel
Emmanuel
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Office 365 and OTRS notifications
"syntax error at /opt/otrs//Kernel/System/Email/SMTPTLS.pm line 49, near ")587"
$Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port')587;
Seems like a syntax error to me.
$Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port')587;
Seems like a syntax error to me.
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
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
-
- Znuny newbie
- Posts: 52
- Joined: 04 Apr 2012, 13:45
- Znuny Version: 3.1.2
- Real Name: Emmanuel Jamin
- Company: Groupe PGS
- Location: France
- Contact:
Re: Office 365 and OTRS notifications
Hi,
The problem was resolved by :
1. using SMTPS + putting in the email adresse and password for Office 365
AND
2. changing the System email adresse by the one used in Office 365 (which was blocking the sending of new tickets notifications.
thanks.
The problem was resolved by :
1. using SMTPS + putting in the email adresse and password for Office 365
AND
2. changing the System email adresse by the one used in Office 365 (which was blocking the sending of new tickets notifications.
thanks.
Emmanuel
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Office 365 and OTRS notifications
Yes, this should becrythias wrote:"syntax error at /opt/otrs//Kernel/System/Email/SMTPTLS.pm line 49, near ")587"
$Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port')587;
Seems like a syntax error to me.
Code: Select all
$Self->{SMTPPort} = $Self->{ConfigObject}->Get('SendmailModule::Port') || 587;
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 52
- Joined: 04 Apr 2012, 13:45
- Znuny Version: 3.1.2
- Real Name: Emmanuel Jamin
- Company: Groupe PGS
- Location: France
- Contact:
Re: Office 365 and OTRS notifications
Hello,
yes I also corrected this but still could not have the notification for new tickets.
This is solved now.
Thanks for your help.
yes I also corrected this but still could not have the notification for new tickets.
This is solved now.
Thanks for your help.
Emmanuel
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5
I.T Networking Technician
Groupe PGS
http://www.groupepgs.com
OTRS Version 3.1.2
on OS: Ubuntu
Apache2/MySQL 5