Odoo Help


where can I find openerp_mailgate.py on v8?

Luc Bonjean
on 12/6/14, 9:38 AM 1,691 views

Does anyone know where the openerp_mailgate.py (or is it odoo_mailgate.py?) on odoo v8?




you can find this file according to below path.

mail (module) => static => scripts => openerp_mailgate.py

I hope you are searching for this.

Tom Stage
On 8/11/15, 4:13 AM

Hi all

Sorry for bringing new life to a solved issue, but i have installed Odoo 8 on a CentOS 7 installation, and want to set up the local mail server and I am looking for the openerp_mailgate.py script.

The installation of Odoo was done with the rpm installation described on the Odoo web site.

Everything else is working, but when i try to download the script from the setup of a internal mail server it gives me a 404 page not found, if i look in the /usr/lib/python2.7/site-packages/openerp/addons/mail/static i only have the following directories:




I have tried to find it else where on the system but with no luck.

Is the RPM installation of Odoo 8 missing this file?

What i have done to solve this for now is download the file from: https://github.com/odoo/odoo/blob/8.0/addons/mail/static/scripts/openerp_mailgate.py

using the Raw link: https://github.com/odoo/odoo/raw/8.0/addons/mail/static/scripts/openerp_mailgate.py

I did it this way:

mkdir -p /usr/lib/python2.7/site-packages/openerp/addons/mail/static/scripts

cd /usr/lib/python2.7/site-packages/openerp/addons/mail/static/scripts

wget https://github.com/odoo/odoo/raw/8.0/addons/mail/static/scripts/openerp_mailgate.py

chmod 775 /usr/lib/python2.7/site-packages/openerp/addons/mail/static/scripts/openerp_mailgate.py


Tom stage

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 12/6/14, 9:38 AM
Seen: 1691 times
Last updated: 8/11/15, 4:13 AM