Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Cannot send Invitation Emails without using address with localhost...

Subscriure's

Get notified when there's activity on this post

This question has been flagged
emailodoov11
1 Respondre
13331 Vistes
Avatar
brett

According to this help website, "About This Communit", this is a platform for beginners too, so if this question lacks detail, or needs something I couldn't find addressed in "Read the Guidelines", please let me know in a comment what information is missing and I will respond to address the concern.  Thank you for your time and help.



I have a problem exactly the same as in this closed question:

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

I am using a dockerized version to get a feel for Odoo before going forward with it, from here:
https://unkkuri.com/blog/unkkuri-blog-1/post/install-odoo-version-11-in-docker-container-21
as of July 10,2018 - so with

postgres:10.0
veivaa/odoo:11.0 ---> Odoo 11.0-20180710 (Community Edition)

and am experiencing the exact same error as W360S. When I clear the Alias Field under General Settings, the Email Invitation works, but it sends a link to the user with "locahost" in it, e.g.

http://localhost:8069/web/reset_password?db=Everything&token=1kwQSGujVuFAULw

and so most users cannot access the link. My static WLAN IP is known so how do I send that address instead?

I tried editing System Parameters - web.base.url to be http://<my WLAN static IP>:8068, which is visible from the world as I have ran other docker images from here, but still complains of


2018-07-10 19:17:20,831 1 INFO Everything odoo.addons.fetchmail.models.fetchmail: Fetched 0 email(s) on imap server imap yandex com; 0 succeeded, 0 failed.
2018-07-10 19:17:33,352 1 INFO Everything werkzeug: 172.18.0.1 - - [10/Jul/2018 19:17:33] "POST /longpolling/poll HTTP/1.1" 200 -
2018-07-10 19:17:34,592 1 INFO Everything odoo.addons.base.ir.ir_mail_server: Mail delivery failed via SMTP server 'None'.
SMTPSenderRefused: 553
5.7.1 Sender address rejected: not owned by auth user.
bounce+40-res.users-13@yandex.com
2018-07-10 19:17:34,592 1 ERROR Everything odoo.addons.mail.models.mail_mail: failed sending mail (id: 40) due to Mail Delivery Failed
Mail delivery failed via SMTP server 'None'.
SMTPSenderRefused: 553
5.7.1 Sender address rejected: not owned by auth user.
bounce+40-res.users-13@yandex.com
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_mail_server.py", line 460, in send_email
    smtp.sendmail(smtp_from, smtp_to_list, message.as_string())
  File "/usr/lib/python3.5/smtplib.py", line 862, in sendmail
    raise SMTPSenderRefused(code, resp, from_addr)
smtplib.SMTPSenderRefused: (553, b'5.7.1 Sender address rejected: not owned by auth user.', 'bounce+40-res.users-13@yandex.com')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_mail.py", line 329, in _send
    msg, mail_server_id=mail.mail_server_id.id, smtp_session=smtp_session)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_mail_server.py", line 469, in send_email
    raise MailDeliveryException(_("Mail Delivery Failed"), msg)
odoo.addons.base.ir.ir_mail_server.MailDeliveryException: ('Mail Delivery Failed', "Mail delivery failed via SMTP server 'None'.\nSMTPSenderRefused: 553\n5.7.1 Sender address rejected: not owned by auth user.\nbounce+40-res.users-13@yandex.com")
2018-07-10 19:17:34,844 1 INFO Everything werkzeug: 172.18.0.1 - - [10/Jul/2018 19:17:34] "POST /web/dataset/call_button HTTP/1.1" 200 -
2018-07-10 19:17:34,862 1 INFO ? werkzeug: 172.18.0.1 - - [10/Jul/2018 19:17:34] "GET /web/static/src/xml/dialog.xml?debug=1531250254860 HTTP/1.1" 200 -
2018-07-10 19:17:34,884 1 INFO Everything werkzeug: 172.18.0.1 - - [10/Jul/2018 19:17:34] "POST /web/dataset/call_kw/res.users/read HTTP/1.1" 200 -
2018-07-10 19:17:34,897 1 INFO Everything werkzeug: 172.18.0.1 - - [10/Jul/2018 19:17:34] "POST /web/dataset/call_kw/res.company/read HTTP/1.1" 200 -




On Yandex's website, they are aware of the error and offered this advice (so apparently they expect this service to work);

“Sender address rejected: not owned by auth user”
If you receive the message “Sender address rejected: not owned by auth user”, the address you are trying to send a message from does not match the username under which you are authenticated at the SMTP server. Make sure the mail program's reply-to address is configured to the address the username of which is used in SMTP authorization settings.




The administrator's email is the same account as the Incoming & Outgoing (IMAP/STMP) servers at yandex. The company's website is blank for now since it doesn't seem to matter what I put there, and the company's email address is the same as the administrator's. The latter, according to https://www.odoo.com/forum/help-1/question/cannot-send-email-out-using-own-smtp-18900 should be the "Reply-To" address mentioned above in Yandex's advice I believe.

I also downloaded the image's soruce to a local directory before reloading back into a new container - so I have access to the source.

Regardless of the title, "How to use my mail server to send and receive emails in Odoo" this page: https://www.odoo.com/documentation/user/11.0/discuss/email_servers.html hasn't been helpful enough for me.





Inside the docker image is the odoo.conf: (should the 25 port be uncommented?)

3d951a6:/$ cat /etc/odoo/odoo.conf
[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
; admin_passwd = admin
; csv_internal_sep = ,
; db_maxconn = 64
; db_name = False
; db_template = template1
; dbfilter = .*
; debug_mode = False
; email_from = False
; limit_memory_hard = 2684354560
; limit_memory_soft = 2147483648
; limit_request = 8192
; limit_time_cpu = 60
; limit_time_real = 120
; list_db = True
; log_db = False
; log_handler = [':INFO']
; log_level = info
; logfile = None
; longpolling_port = 8072
; max_cron_threads = 2
; osv_memory_age_limit = 1.0
; osv_memory_count_limit = False
; smtp_password = False
; smtp_port = 25
; smtp_server = localhost
; smtp_ssl = False
; smtp_user = False
; workers = 0
; xmlrpc = True
; xmlrpc_interface =
; xmlrpc_port = 8069
; xmlrpcs = True
; xmlrpcs_interface =
; xmlrpcs_port = 8071



0
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

Just my recommendation:

Do not use the email features as long as you have not set up Odoo with a proper public domain using a proxy server. Then follow the documentation for the email setup.

However I'm not sure you have understood your error message properly. I think your problem is the dynamic reply-to address bounce+40....

In order to make this work, you should have a catchall email address, which is not offered by all email hosters and your hoster has to allow email relaying which Yandex seems not to do. Otherwise change the provider, that makes it much easier.

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
The preferred method to setup emails using a custom domain.
email
Avatar
0
de nov. 25
334
need more felixiblity and inovation on email marketing tools
email
Avatar
0
de nov. 25
282
After editing the Sales Order Confirmation email template, Odoo isn't using it.
email
Avatar
Avatar
1
de jul. 25
2105
How to remove "Powered by Odoo" in email in the Enterprise version Solved
email
Avatar
Avatar
Avatar
Avatar
Avatar
5
de nov. 25
20084
Email Einstellung "Von" ist die Email vom Postausgansgserver
email
Avatar
0
d’abr. 25
1943
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now