Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
7943 Vistas

I have an Odoo10 enterprise implementation and am using gmail smtp (G-Suite) authenticating as admin@domain.com , the mail all gets sent and arrives at the proper destination however all mail appears to be sent as admin@domain.com.


The name of the sender is the user who sent the message/invoice/report however the email is always admin@domain.com .

Is this the expected behaviour? It is not too surprising since I am authenticating as admin however is there a way that the messages can be sent as the users proper email? 


Or is this likely the smtp service provider modifying the sender address to match the authentication credentials?



Avatar
Descartar
Autor

Thanks Ermin! I will do exactly that.

Autor

Ermin, I took a look at this document. It is in line with my configuration.

However the question still remains "should all email be sent as 'User Name <admin@domain.com>'" or is this an indication of a misconfiguration? Am I being unrealistic thinking that all mail should be sent by 'User Name <username@domain.com>'? Thanks!

Autor

Ermin also added to his statement on a private thread that each Odoo user needs an alias for their email address. So in my case an Odoo login 'username@domain.com' needs an alias 'username@domain.com'

Mejor respuesta

After having spent days and days on understanding and trying a proper setup, I can only recommend to literally follow Odoo's advice and recommendations: https://www.odoo.com/documentation/user/10.0/discuss/email_servers.html. Read it carefully and start from that point on.

Avatar
Descartar
Autor

Ermin, I took a break from this issue and recently just got back to it.

So what I found was the following. My client had a G-suite mail server ( the free tier ). The free tier does not support white listed relaying. So in order to send they had configured their Odoo SMTP server to authenticate as admin@domain.com with the appropriate credentials.

I had mistakenly thought they were authenticating in order to relay. It turned out that they were authenticating to send mail ( and so not surprisingly all mail was sent as the authenticated admin@domain.com ).

In the end I could have done two things. Upgrade to the corporate version of G-suite to unlock the relay functionality or find another relay. I configured a mail server on localhost and configured it to relay for Odoo ( as well as configuring DNS,DKIM,SPF etc ).

All is well.

Publicaciones relacionadas Respuestas Vistas Actividad
14
may 24
234224
2
mar 23
5890
1
may 22
2591
0
mar 16
4448
0
jul 24
2768