Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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

outgoing email error - mystery bounce vs notifications

Suscribirse

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

Se marcó esta pregunta
emailCommunityErrorv17
1 Responder
3445 Vistas
Avatar
David G Noon

brand new db in Odoo 17, CE from git (17.0)

after doing initial config, setup of incoming and outgoing email servers, email domains, set mail.default.from (notifications@...com), setup of user email config's (and partner) all email 'setup' tests OK.

The Error:  

I create a new user. click send invitation... this gives me an error.

Invalid Operation
There was an error when trying to deliver your Email, please check your configuration

Looking at the error messages i get the following:

File "/opt/odoo17/addons/mail/models/mail_mail.py", line 648, in _send

    res = SendIrMailServer.send_email(

  File "/opt/odoo17/odoo/addons/base/models/ir_mail_server.py", line 706, in send_email

    raise MailDeliveryException(_("Mail Delivery Failed"), msg)

odoo.addons.base.models.ir_mail_server.MailDeliveryException: ('Mail Delivery Failed', "Mail delivery failed via SMTP server 'None'.\nSMTPSenderRefused: 550\nAuthenticated user notifications@domain.com cannot send mail as bounce@domain.com\nbounce@domain.com")

2024-02-14 06:46:13,909 60069 WARNING domain.com odoo.http: There was an error when trying to deliver your Email, please check your configuration 


My understanding is that 'Authenticated user' here (notifications@...) is the correct user, correct password etc. 

However, why is it trying to send as bounce@? Where is this set because I can not find this anywhere... the two mailboxes use the same password config etc.

The DNS setup is correct, accounts all setup correctly on the server, SPF set properly - working on 'identical' system.

changing the default.from either in system parameters or company or user records etc does not fix the issue. 

adding various parameters to system parameters doesn't seem to help (per the odoo email config docs).  

As mentioned, I have two systems using identical configs, same/relevant email server and DNS records - it seems to come down to the order in which things are done, luck or some ghostbuster chant required!?? 

Please help... if you have the secret sauce please share... it would be greatly appreciated.


0
Avatar
Descartar
David G Noon
Autor

Perhaps this is a clue. odoo/addons/base/models/ir_mail_server from line 567:
# Use the default bounce address **only if** no Return-Path was
# provided by caller. Caller may be using Variable Envelope Return
# Path (VERP) to detect no-longer valid email addresses.
# context may force a value, e.g. mail.alias.domain usage
bounce_address = self.env.context.get('domain_bounce_address') or message['Return-Path'] or self._get_default_bounce_address() or message['From']

smtp_from = message['From'] or bounce_address
assert smtp_from, self.NO_FOUND_SMTP_FROM

so the reason it is trying to use bounce is no reply is set...?
# Use the default bounce address **only if** no Return-Path was
# provided by caller.
So presumably there should be a way to 'set' the return-path for such system email notification calls and that should fix the problem... I'll see if i can find it.

Avatar
David G Noon
Autor Mejor respuesta

For whatever reason (ie bug or a feature???) the way i solved it is the following.

in outgoing email servers I set 2 servers:

From_filter to notifications@domain.com as 1st (with a priority of 5) and login etc using the notification@ domain.com

From_Filter bounce@domain.com as the second outgoing server with priority 10 and login using bounce@domain.com..

various other combinations didn't work. 

this leaves me with some more work to do and still no clarify on why which worries me but on we march.

Cheers.

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
How to create and execute the custom view inside the inherited view Resuelto
Community v17
Avatar
Avatar
2
abr 24
2065
Disable emails to customers.
email v17
Avatar
Avatar
2
feb 24
6810
How to separate mail campaign and mail contact on email marketing module for multi company schema ?
email emailmarketing v17
Avatar
0
ene 25
1918
Helpdesk Ticket automatic customer assignment V17
email helpdesk v17
Avatar
Avatar
1
oct 24
2859
Google Workspace Email V17
email Google v17
Avatar
1
oct 25
2857
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 estar totalmente integrado.

Sitio web hecho con

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