This question has been flagged
2 Replies
4419 Views

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

 

Avatar
Discard
Best Answer

Hi,

you can find this file according to below path.

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

I hope you are searching for this.

Avatar
Discard
Best Answer

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:

description

img

src

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

Cheers

Tom stage

Avatar
Discard