Skip to main content

Hello,

While i was trying to configure the Postfix to send mails, I always end up with the same problem :

 

myadress@outlook.com not allowed to send as root@hostname.localdomain  STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message gBeginDiagnosticData]Cannot submit message.
 

The relayhost = tsmtp.office365.com]:587 like it is write in outlook.

Does anyone know how to solve this problem?

Thanks for your help.

Kind regards,

Hello @Ced,

 

You can try to add the “-r sender@something.com” option to the notifcation command in the menu Configuration  >  Commands  >  Notifications.

For services, for example:

/usr/bin/printf "%b" "***** centreon Notification *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATE$ Additional Info : $SERVICEOUTPUT$" | @MAILER@ -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

To:

/usr/bin/printf "%b" "***** centreon Notification *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATE$ Additional Info : $SERVICEOUTPUT$" | @MAILER@ -r "centengine@centreon.com" -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

Regards.


🐝🌼

 


Reply