Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

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

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
emailodoov11
1 Responder
13340 Vistas
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
Mejor respuesta

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
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
The preferred method to setup emails using a custom domain.
email
Avatar
0
nov 25
361
need more felixiblity and inovation on email marketing tools
email
Avatar
0
nov 25
308
After editing the Sales Order Confirmation email template, Odoo isn't using it.
email
Avatar
Avatar
1
jul 25
2122
How to remove "Powered by Odoo" in email in the Enterprise version Resuelto
email
Avatar
Avatar
Avatar
Avatar
Avatar
5
nov 25
20119
Email Einstellung "Von" ist die Email vom Postausgansgserver
email
Avatar
0
abr 25
1952
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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