Encrypt smtp_password?

Asked by Erik Heeren

I've configured an OpenERP installation to send e-mails through a GMail account. In order to do this I've filled in the smtp_* parameters in ~/.openerp_serverrc
Is it possible to enter an encrypted version of the password in smtp_password ? If so, how do I indicate this, and how should the password be encrypted?
If not, is there a 'cleaner' way of configuring this via the web interface or GTK gui that will result in an encrypted password stored in the DB?

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Husen Daudi
Solved:
Last query:
Last reply:
Revision history for this message
Best Husen Daudi (husendaudi) said :
#1

you can use smtpclient module from extra addons to configure smtp servers.
for encrypting passwork in database you need to customize module, currently it is storing normal passwork in database.
using base_crypt module logic we can customize smtpclient module and store password in encrypted form,

Revision history for this message
Erik Heeren (erik-heeren) said :
#2

Thanks Husen Daudi, that solved my question.