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

Error Sending email

By
Dawari George
on 12/27/14, 3:07 AM 3,622 views

I have a seriou problem sending emails with my host Smtp account,

here are the steps

1. setup smtp account on outgoing email server on operner,test it and it says everything seems perfect.

2. click on a customers profile form and send a message/email to customer

i go ahead to check the server log and i see the error

SMTPRecipientsRefused: {'xxxxxxx@hotmail.com': (550, 'Verification failed for <bounce-148-res.partner-52@xxxx.com>\nNo Such User Here\nSender verify failed')} 2014-12-27 07:38:42,598 2324 ERROR 92Trade_Limited openerp.addons.mail.mail_mail: failed sending mail.mail 148 Traceback (most recent call last): File "/opt/odoo1/odoo1-server/addons/mail/mail_mail.py", line 303, in send context=context) File "/opt/odoo1/odoo1-server/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo1/odoo1-server/openerp/addons/base/ir/ir_mail_server.py", line 485, in send_email raise MailDeliveryException(_("Mail Delivery Failed"), msg)

so i go ahead and contact my hosting provider just to confirm where the issue is and they tell me

The issues is that when an email is sent or delivered to your xxxx.com account, the addressed is matched to determine if it is a legitatmate mail item. This is to prevent spam.

The address used: bounce-140-res.partner-52@xxxxx.com is not a valid cPanel email account, and so the sender verification fails:

SMTPRecipientsRefused: {'xxxxx@gmail.com': (550, 'Verification failed for
\nNo Such User Here\nSender verify
failed')}

openerp does not take the email address of the user that is registered when it is sending the email instead it takes bounce-140-res.partner-52@xxxxx.com

And since that address is not registered on the hosting server the email is never sent.

Can someone please tell me how to fix this? why cant i send mails using my hosting smtp server and why does openerp not take the email address of the user. I have read every book and description on the internet about openerp emails but cannot find a fix to this.

Please someone help me.

0
Matt Fasola
On 4/20/16, 7:30 AM

set the System Parameters:

mail.catchall.domain = yourdomain.xx
mail.catchall.alias = account-alias

then the smpt_from will be set to account-alias@yourdomain.xx ... and it will be accepted by the smtp. had the same problem with owa, gmail isn't that picky...

0
Dev12
On 7/20/15, 8:31 PM


Check for "Sender Verification" with your host!

Exim Configuration Manager -- ControlF for "Sender Verification"

disable => senders verifications

But if a mail really bounces, then the bounce message will never find the way back as long as you do not have set up a catchall address. And if you have set up a catchall address, the bounce return-path will go through and the message will be sent properly.

Ermin Trevisan
on 11/24/15, 5:02 AM
0
Thomas Winteler
On 1/28/15, 8:20 AM

seams you have similar problem as in this bug described:

https://github.com/odoo/odoo/issues/3347

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

2 follower(s)

Stats

Asked: 12/27/14, 3:07 AM
Seen: 3622 times
Last updated: 4/20/16, 7:30 AM