Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
emailodoov11
1 Odpoveď
13328 Zobrazenia
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
Zrušiť
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
The preferred method to setup emails using a custom domain.
email
Avatar
0
nov 25
324
need more felixiblity and inovation on email marketing tools
email
Avatar
0
nov 25
280
After editing the Sales Order Confirmation email template, Odoo isn't using it.
email
Avatar
Avatar
1
júl 25
2102
How to remove "Powered by Odoo" in email in the Enterprise version Solved
email
Avatar
Avatar
Avatar
Avatar
Avatar
5
nov 25
20072
Email Einstellung "Von" ist die Email vom Postausgansgserver
email
Avatar
0
apr 25
1940
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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