Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

setup aws mail server Odoo 14

Subscribe

Get notified when there's activity on this post

This question has been flagged
mailingmailserver
2 Replies
4783 Views
Avatar
Erpan Johan

Hi ,

anyone know how to setup AWS mail server on ODOO 14 outgoing mail server?

Thanks !

0
Avatar
Discard
Avatar
Guido Leenders
Best Answer

See https://forums\.invantive\.com/t/configure\-an\-external\-email\-server\-on\-odoo\-com\-using\-amazon\-simple\-email\-service\-and\-route\-53/3205


The\ link\ seems\ blocked,\ so\ to\ save\ copy\ \&\ paste\ the URL\ in\ the\ browser,\ this\ is\ the\ text:

Invantive\ is\ replacing\ various\ application\ such\ as\ JIRA,\ Confluence,\ Exact\ Online\ and\ Dlvr\.it\ by\ Odoo\.com\ \(the\ online\ edition\ of\ Odoo\)\.\ For\ background,\ please\ refer\ to\ https://forums\.invantive\.com/t/why\-does\-invantive\-select\-odoo\-as\-an\-internal\-solution\-and\-strategic\-choice/3166\.\ Maybe\ even\ ActiveCampaign\ and\ Sendinblue\ will\ be\ migrated,\ but\ it\ remains\ to\ be\ seen\ whether\ the\ volume\ can\ be\ handled\.

In\ this\ implementation\ process\ we\ experience\ the\ "full\ customer\ journey"\ \(or\ sometimes\ called\ the\ "Odoo\ challenge"\)\ by\ implementing\ the\ software\ ourselves\ using\ manuals,\ learning\ videos\ and\ basic\ business\ software\ implementation\ skills\.\ This\ topic\ describes\ the\ external\ email\ server\ configuration\ ultimately\ used\ on\ Odoo\.com\.

\#\#\ Why\ Use\ an\ External\ Email\ Server\ on\ Odoo\.com\?

The\ Odoo\.com\ platforms\ offers\ each\ environment\ their\ own\ email\ address\ in\ the\ format\ "company\.odoo\.com"\.\ Besides\ incorporating\ 3rd\ party\ in\ the\ domain\ name,\ the\ use\ of\ `company\.odoo\.com`\ has\ some\ disadvantages\ when\ email\ is\ used\ extensively\ for\ business\-critical\ applications\.

The\ most\ important\ disadvantage\ are\ restrictions\ on\ the\ number\ of\ email\ that\ can\ be\ sent\ per\ day\ through\ Odoo's\ provided\ outgoing\ mail\ server,\ starting\ at\ 20\ mails\ per\ day\ for\ a\ trial\ and\ 50\ for\ a\ regular\ subscription\.\ Odoo\ enforces\ such\ limits\ to\ avoid\ that\ their\ outgoing\ mail\ servers\ are\ listed\ as\ frequent\ spammers,\ where\ abusers\ or\ intense\ users\ cause\ a\ service\ loss\ for\ other\ Odoo\ users\ since\ they\ share\ the\ same\ outgoing\ mail\ server\(s\)\. 

Such\ limits\ are\ not\ seen\ on\ Invantive's\ originating\ systems\ such\ as\ JIRA\ or\ Exact\ Online,\ although\ both\ JIRA\ and\ Exact\ Online\ offer\ very\ limited\ to\ absolute\ no\ email\ delivery\ analysis\ tools\.\ In\ that\ aspect\ Odoo\ shines\ by\ providing\ forms\ to\ analyze\ the\ mail\ flow\ through\ the\ outgoing\ mail\ server,\ even\ up\ to\ full\ SMTP\ traffic\ logging\.

It\ is\ possible\ to\ request\ an\ increase\ of\ the\ daily\ outbound\ email\ traffic\ through\ a\ ticket,\ but\ this\ can\ take\ weeks\ to\ process\ and\ get\ approved\ to\ a\ meaningful\ level\.\ Also,\ it\ remains\ unsure\ whether\ the\ policy\ applied\ by\ Odoo\ matches\ the\ needs\ of\ the\ user\ for\ email\ server\ capacity\.

Another\ disadvantage\ is\ that\ the\ qualification\ of\ mail\ originating\ from\ Odoo\.com\ is\ not\ a\ hypothetical\ scenario;\ mails\ from\ Odoo\.com\ users\ seem\ to\ get\ qualified\ as\ spam\ under\ circumstances\ depending\ of\ the\ spam\ settings\ along\ the\ route\ to\ the\ recipient\.\ Therefore,\ for\ business\ critical\ use\ it\ seems\ wise\ to\ offload\ the\ email\ handling\ to\ AWS\ SES\ with\ it's\ dedicated\ handling\ and\ possibility\ for\ custom\ IP\-addresses\.

\#\#\ Configure\ Odoo\ Email\ Domain

First\ step\ is\ to\ configure\ the\ email\ domain\ in\ the\ Settings\ app\ \->\ General\ Settings\.\ See\ the\ picture\ below\ where\ to\ change\ the\ domain:

!\[Change\ Odoo\ domain\ name\|690x370\]\(upload://mzrMJa1tLDM6dvDWJUHTd5CG7l3\.png\)

\#\#\ Configure\ Odoo\ Outbound\ Email\ Server\ on\ AWS\ SES

Execute\ the\ following\ steps\ to\ use\ AWS\ SES\ as\ outgoing\ mail\ server\ to\ handle\ outbound\ emails:

\-\ Configure\ AWS\ SES\ such\ that\ mails\ can\ be\ sent\ outside\ of\ Odoo\ such\ as\ described\ in\ https://forums\.invantive\.com/t/programmatically\-sending\-email\-from\-sql\-using\-aws\-ses\-simple\-email\-service/2719\.
\-\ Check\ that\ developer\ mode\ is\ enabled\ in\ Settings\ app\ \->\ General\ Settings\.
\-\ Acquire\ a\ user\ name\ to\ send\ outbound\ mails\ \(A\.\.\.lots\ of\ characters\)\ and\ password\ for\ AWS\ SES\.
\-\ Go\ to\ Settings\ app\.
\-\ Open\ Technical\ menu\.
\-\ Choose\ "Outbound\ Email\ Servers"\.
\-\ Create\ a\ new\ outbound\ server\ as\ shown\ below:

!\[Odoo\ outbound\ mail\ server\ on\ AWS\ SES\|690x412\]\(upload://sE9gokI12bK7nwf41pwOdYYpMvV\.png\)

\#\#\ Configure\ Odoo\ Inbound\ Email\ Server\ on\ Custom\ Domain

Execute\ the\ following\ steps\ to\ forward\ emails\ sent\ to\ your\ custom\ domain\ to\ Odoo's\ incoming\ mail\ server:

\-\ Go\ to\ your\ terminal\ window\ using\ `cmd`\ \(Windows\)\ or\ `terminal`\ \(MacOS\)\.
\-\ Start\ `nslookup`\.
\-\ Lookup\ your\ current\ email\ server\ name\ for\ handling\ mail:\ `set\ type=MX`\ and\ `company\.odoo\.com`:
!\[lookup\ MX\ record\ of\ Odoo\|690x336\]\(upload://aTFWluL4gtRHGJW0Zg9oFPY3X8x\.png\)
\-\ In\ this\ case\ the\ mail\ server\ is\ `eu165a\.odoo\.com`\.
\-\ Create\ a\ hosted\ zone\ in\ your\ DNS,\ such\ as\ AWS\ Route53\.
\-\ Instruct\ external\ parties\ to\ direct\ all\ email\ traffic\ to\ the\ server\ found:
!\[Odoo\ MX\ record\ in\ AWS\ SES\|690x382\]\(upload://bGlUrhHhkRSXUDrxuimsOCbEyFc\.png\)
\-\ Add\ additional\ DNS\-records\ where\ deemed\ necessary\ such\ as\ `include:amazonses\.com`\ in\ the\ TXT\-record\ to\ allow\ delivery\ by\ SES\.

\#\#\ Documentation

There\ is\ some\ documentation\ on\ changing\ email\ servers\ on\ Odoo,\ supported\ by\ various\ integrated\ web\ forms:

\-\ https://www\.odoo\.com/documentation/16\.0/applications/general/email_communication/email_servers\.html

Please\ note\ that\ the\ documentation\ holds\ for\ both\ on\-premises\ and\ odoo\.com\ installations\.\ This\ can\ be\ confusing\ sometimes\ since\ not\ all\ content\ was\ written\ with\ the\ different\ deployment\ platforms\ in\ mind\.

\#\#\ Email\ Configuration\ Design

In\ our\ case\ we\ have\ chosen\ to\ delegate\ outbound\ email\ handling\ to\ Amazon\ Simple\ Email\ Service\ using\ a\ separate\ domain\ `erp\.invantive\.com`\. 

AWS\ SES\ can\ easily\ handle\ tens\ of\ thousands\ or\ tens\ of\ millions\ of\ outbound\ emails\ per\ day\ in\ various\ configurations\.\ Daily\ capacity\ can\ easily\ be\ increased\ as\ long\ as\ no\ abuse\ is\ made\ of\ the\ service\.\ And\ excellent\ throughput\ is\ combined\ with\ relatively\ low\ costs:\ the\ so\-called\ "Free\ Tier"\ includes\ 62,000\ free\ emails\ per\ month\ and\ each\ 1,000\ additional\ emails\ cost\ 10\ cents,\ plus\ some\ surcharges\ for\ attachments\.

For\ inbound\ email,\ we\ have\ chosen\ to\ relay\ all\ inbound\ emails\ to\ the\ email\ handler\ provided\ by\ Odoo\.com\.\ An\ MX\ DNS\-record\ for\ `erp\.invantive\.com`\ forward\ all\ emails\ to\ Odoo\.com's\ handler\.

Creating\ a\ separate\ inbound\ email\ server\ was\ deemed\ costly,\ since\ Odoo\.com\ has\ great\ email\ configuration,\ introducing\ frequently\ new\ email\ aliases\ such\ as\ for\ a\ new\ project\.\ An\ overview\ of\ your\ current\ email\ aliases\ can\ be\ found\ in\ the\ menu\ "Technical"\ under\ "Email"\ and\ "Aliases"\.\ Please\ remember\ to\ first\ activate\ developer\ mode\ at\ the\ end\ of\ the\ Generic\ Settings\ in\ the\ Settings\ app\.

Additionally,\ a\ separate\ inbound\ email\ server\ is\ polled\ quite\ infrequently,\ leading\ to\ increased\ turnaround\ times\ for\ interactions\ such\ as\ on\ project\ tasks\.

Summarizing,\ the\ design\ is:

\-\ Use\ a\ domain\ `erp\.invantive\.com`\.
\-\ Use\ AWS\ SES\ as\ outbound\ mail\ server\.
\-\ Forward\ all\ mail\ traffic\ on\ `erp\.invantive\.com`\ to\ the\ default\ Odoo\ server\.

\#\#\ Caveats

\#\#\#\ Outbound\ Port\ 25\ Blocked

The\ documentation\ is\ a\ little\ vague\ about\ the\ port\ to\ use\ for\ outbound\ mail\.\ Tooltips\ show\ port\ 25\ as\ a\ candidate,\ but\ other\ documentation\ forbids\ it\.\ Ultimate\ conclusion\ is\ that\ port\ 25\ is\ not\ made\ available\ for\ security\ reasons,\ even\ though\ STARTTLS\ is\ possible\ on\ it\.

Even\ worse,\ the\ connection\ test\ displays\ success\ with\ port\ 25,\ even\ when\ it\ does\ not\ work\.\ So\ please\ ignore\ the\ connection\ test\ and\ always\ use\ the\ chatter\ to\ trigger\ an\ outbound\ email\.

For\ AWS\ SES\ TLS\ \(STARTTLS\)\ was\ chosen\ using\ port\ 587\ instead\ of\ port\ 25\.

\#\#\#\ MX\-record
An\ MX\-record\ must\ refer\ to\ a\ A\-record\.\ For\ `erp\.invantive\.com`\ we\ have\ used\ the\ following\ statement\ to\ determine\ Odoo\.com's\ email\ handler:

```
nslookup
set\ type=mx
invantive\.odoo\.com
```

It\ remains\ to\ be\ seen\ whether\ the\ value\ `eu165a\.odoo\.com`\ of\ the\ MX\-record\ is\ stable\ or\ must\ be\ updated\ whenever\ Odoo.com changes it configuration.

0
Avatar
Discard
Avatar
Support GeminateCS
Best Answer

Dear Erpan johan,

for outgoing mail server id 14 please follow these steps:-

1} go to settings -> general settings.

2} in general settings, active External Email service.

3} then after go to Outgoing Email servers.

4} then create your new outgoing email server.

5} fill all details.



I hope this information is helpful for you and after view this you can solve your problem very easy


Feel free for further assistance on contact@geminatecs.com

Thank you
Geminate Consultancy Services

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

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

Sign up
Related Posts Replies Views Activity
Bug odoo v18 sending abandoned cart x2
mailing
Avatar
0
Jul 25
1611
Changing the default System Notifications Email in Odoo 17 Solved
mailserver
Avatar
Avatar
2
Nov 24
7145
How can I avoid Odoo emails sent using MAILGUN being flagged as SPAM?
mailserver
Avatar
Avatar
2
Sep 24
2533
How to configure Office 365 mail server for multiple users in odoo? Solved
mailserver
Avatar
Avatar
Avatar
Avatar
4
Jan 23
10079
how to set up office 365 email server work with odoo ?
mailserver
Avatar
Avatar
1
Jun 22
770
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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