Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Setting alias domain results in smtp error for multicompanies

By
Victor Bendig
on 11/18/15, 7:08 PM 649 views

Hi ( Avoid unnecessary introductions :P ), in Odoo v8 I setup incomming and outgoing email.

When I leave Alias domain empty I can send emails.  When I put the Alias Domain it does not work.

General Settings >

  • Manage multiple companies checked

  • Alias Domain :  mydomain.com

Currently I have only 1 user administrator@mydomain.com and 1 company MyDomain. 

The error in the logs :

MailDeliveryException: (u'Mail Delivery Failed', u"Mail delivery failed via SMTP server 'smtp.office365.com'.\nSMTPDataError: 550\n5.7.60 SMTP; Client does not have permissions to send as this sender")

Any suggestions (asside of leaving Alias Domain empty)?

Other Aliases for the same owner are info, sales, jobs, _usertemplate (default ones) and administrator which is created from the user preferences page.

0
Victor Bendig
On 11/19/15, 6:52 PM

Update on the issue,
Created a sencond user, added an Alias for the second user under Settings> Technical > Email > Aliases

  • Aliased Model : Users

  • Record Thread ID : 1

  • Default Values :{}

  • Alias Contact Security : Everyone

  • Owner :Second User

  • Parent Model: Users

  • Parent Record Thread ID: 1


Attempted to send emails with the second user but I got the error:

SMTPDataError:550  5.7.60 SMTP; Client does not have permissions to send as this sender

The first user is still able to send emails without errors.

Installed SMTP Server Per User module (By ThinkOpen Solutions Brasil).  Set another smtp server and selected the second user as the owner, after that the emails were sent without problems.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/18/15, 7:08 PM
Seen: 649 times
Last updated: 11/20/15, 3:47 AM