Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

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

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
emailodoov11
1 Răspunde
13330 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Ermin Trevisan
Cel mai bun răspuns

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
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
The preferred method to setup emails using a custom domain.
email
Imagine profil
0
nov. 25
331
need more felixiblity and inovation on email marketing tools
email
Imagine profil
0
nov. 25
282
After editing the Sales Order Confirmation email template, Odoo isn't using it.
email
Imagine profil
Imagine profil
1
iul. 25
2104
How to remove "Powered by Odoo" in email in the Enterprise version Rezolvat
email
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
5
nov. 25
20077
Email Einstellung "Von" ist die Email vom Postausgansgserver
email
Imagine profil
0
apr. 25
1941
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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