Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

incoming e-mail to postfix

Subscriure's

Get notified when there's activity on this post

This question has been flagged
incominglocal
2 Respostes
12898 Vistes
Avatar
Lelle

Hi all,

I have search like crazy but not found any real answare how to use local (ubuntu) postfix server as incoming email server and how to link e-mail alias to openerp mail addresses.

Thanks in advance

Lennart

2
Avatar
Descartar
Avatar
Liso Gallo
Best Answer

Hi Lennart,

Try the following:

Create a /etc/postfix/virtual_aliases file with the following content:

@sub.domain.com your_local_alias@localhost

Add the following lines to /etc/postfix/main.cf file:

# Virtual user mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_alias_maps = hash:/etc/postfix/virtual_aliases

Add this line to /etc/aliases file:

your_local_alias: "| openerp_mailgate.py --host=localhost --port=8069 -u 1 -p XXXXX -d database"

Finally, run the following commands as sudo:

sudo postmap /etc/postfix/virtual_aliases
sudo newaliases
sudo service postfix restart

Hope it helps.

Regards,

Liso

5
Avatar
Descartar
Ankur Shah

Excellent assistance Liso! Very pleased to get this working in my implementation, thanks to your posting here.

David Arnold

Is the postfix running then as a normal mailserver? There are many opinions not recommending this on your odoo instance for performance reasons...

Avatar
guangrui
Best Answer

fellow the guide ,i got the error,why,>.<!!!

Sep  4 15:20:32 ubuntu postfix/local[29525]: DBA1862151: to=<openerp_mailgate@lo
calhost>, orig_to=<admin@wocai.org>, relay=local, delay=3.9, delays=0.06/0/0/3.8
, dsn=5.3.0, status=bounced (Command died with status 1: "/opt/openerp/openerp_m
ailgate.py --host=localhost -u 1 -p PASSWORD -d DATABASE". Command output: Traceback
 (most recent call last):   File "/opt/openerp/openerp_mailgate.py", line 199, i
n <module>     main()   File "/opt/openerp/openerp_mailgate.py", line 169, in ma
in     email_default= options.default)   File "/opt/openerp/openerp_mailgate.py"
, line 104, in __init__     self.model_id = self.rpc('ir.model', 'search', [('mo
del', '=', model)])[0]   File "/opt/openerp/openerp_mailgate.py", line 94, in __
call__     return self.rpc.execute(self.dbname, self.user_id, self.passwd, *requ
est, **kwargs)   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)   File "/usr/lib/python2.7/xmlrpclib.p
y", line 1578, in __request     verbose=self.__verbose   File "/usr/lib/python2.
7/xmlrpclib.py", line 1264, in request     return self.single_request(host, hand
ler, request_body, verbose)   File "/usr/lib/python2.7/xmlrpclib.py", line 1297,
 in single_request     return self.parse_response(response)   File "/usr/lib/pyt
hon2.7/xmlrpclib.py", line 1473, in parse_response     return u.close()   File "
/usr/lib/python2.7/xmlrpclib.py", line 793, in close     raise Fault(**self._sta
ck[0]) xmlrpclib.Fault: <Fault AccessDenied: 'Access denied.'> )

 

 

0
Avatar
Descartar
Mario Gielissen

AccessDenied: 'Access denied.': Seems your credentials are incorrect.

guangrui

yeah,it should be the the passwd of postgres ?

guangrui

Sep 5 13:43:23 ubuntu postfix/local[29234]: 7AD4E60D0E: to=<openerp_mailgate@lo calhost>, orig_to=<gr@wocai.org>, relay=local, delay=0.14, delays=0.03/0/0/0.12, dsn=5.3.0, status=bounced (Command died with status 1: "/opt/openerp/openerp_ma ilgate.py --host=localhost --port=8069 -u 1 -p 081202 -d www". Command output: T raceback (most recent call last): File "/opt/openerp/openerp_mailgate.py", lin e 200, in main() File "/opt/openerp/openerp_mailgate.py", line 17 0, in main email_default= options.default) File "/opt/openerp/openerp_mail gate.py", line 105, in __init__ self.model_id = self.rpc('ir.model', 'search ', [('model', '=', model)])[0] IndexError: list index out of range ) Sep 5 13:43:23 ubuntu postfix/qmgr[32720]: 7AD4E60D0E: removed

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
Odoo local
local
Avatar
Avatar
1
de maig 22
3872
is it possible to connect Zkteco biometric local ip machine to distant odoo 8.0 on vps
ip local
Avatar
Avatar
Avatar
Avatar
Avatar
7
de jul. 24
28833
Can someone explain the full procedure to configure incoming mail? Solved
email incoming
Avatar
Avatar
Avatar
Avatar
Avatar
7
de maig 22
25740
Document Management System on local installation
dms local
Avatar
Avatar
1
de febr. 21
4566
Handling of incoming SMS possible? Solved
incoming sms
Avatar
Avatar
2
de nov. 19
4182
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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