Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

incoming email imap ssl fetch mail error

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
2 Réponses
11620 Vues
Avatar
joachim grubelnik

hi 

i just have a new instance of Odoo v8 and tried to configure an exchange server IMAP account to receive emails. 

as usual i did the setup for email client, but hits time i get an error message i never got before. 

anyone already seen this and have an idea ? After the incoming mailserver setup the "Test & Confirm" button works fine. but on clicking fetch now pops up this message. 

thanks joe

Traceback (most recent call last): File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 500, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 517, in dispatch result = self._call_function(**self.params) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 283, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 280, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 733, in __call__ return self.method(*args, **kw) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 376, in response_wrap response = f(*args, **kw) File "/opt/odoo_v8.0/intdadi/odoo/addons/web/controllers/main.py", line 952, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo_v8.0/intdadi/odoo/addons/web/controllers/main.py", line 940, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/addons/fetchmail/fetchmail.py", line 221, in fetch_mail imap_server.close() File "/usr/lib/python2.7/imaplib.py", line 394, in close typ, dat = self._simple_command('CLOSE') File "/usr/lib/python2.7/imaplib.py", line 1087, in _simple_command return self._command_complete(name, self._command(name, *args)) File "/usr/lib/python2.7/imaplib.py", line 837, in _command ', '.join(Commands[name]))) error: command CLOSE illegal in state AUTH, only allowed in states SELECTED

2
Avatar
Ignorer
joachim grubelnik
Auteur

just checked the logs from server directly 2014-11-14 12:56:27,537 2295 INFO o8_intdadi openerp.addons.fetchmail.fetchmail: start checking for new emails on imap server Exchange 2014-11-14 12:56:29,651 2295 ERROR o8_intdadi_ openerp.addons.fetchmail.fetchmail: General failure when trying to fetch mail from imap server Exchange.mydomain. Traceback (most recent call last): File "/opt/odoo_v8.0/intdadi/odoo/addons/fetchmail/fetchmail.py", line 197, in fetch_mail result, data = imap_server.search(None, '(UNSEEN)') File "/usr/lib/python2.7/imaplib.py", line 639, in search typ, dat = self._simple_command(name, *criteria) File "/usr/lib/python2.7/imaplib.py", line 1087, in _simple_command return self._command_complete(name, self._command(name, *args)) File "/usr/lib/python2.7/imaplib.py", line 837, in _command ', '.join(Commands[name]))) error: command SEARCH illegal in state AUTH, only allowed in states SELECTED 2014-11-14 12:56:29,652 2295 ERROR o8_intdadi_ openerp.http: Exception during JSON request handling. Traceback (most recent call last): File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 500, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 517, in dispatch result = self._call_function(**self.params) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 283, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 280, in checked_call return self.endpoint(*a, **kw) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 733, in __call__ return self.method(*args, **kw) File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 376, in response_wrap response = f(*args, **kw) File "/opt/odoo_v8.0/intdadi/odoo/addons/web/controllers/main.py", line 952, in call_button action = self._call_kw(model, method, args, {}) File "/opt/odoo_v8.0/intdadi/odoo/addons/web/controllers/main.py", line 940, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/openerp/api.py", line 237, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo_v8.0/intdadi/odoo/addons/fetchmail/fetchmail.py", line 221, in fetch_mail imap_server.close() File "/usr/lib/python2.7/imaplib.py", line 394, in close typ, dat = self._simple_command('CLOSE') File "/usr/lib/python2.7/imaplib.py", line 1087, in _simple_command return self._command_complete(name, self._command(name, *args)) File "/usr/lib/python2.7/imaplib.py", line 837, in _command ', '.join(Commands[name]))) error: command CLOSE illegal in state AUTH, only allowed in states SELECTED

Avatar
joachim grubelnik
Auteur Meilleure réponse

Ok tried to minimize errors and removed the security at the exchange server side, used port 143 instead of 993 so it seems there is a really a problem with the imaplib.py somehow  ? 

Noone else has this problem with an exchange server ? 

i keep on going testing and will test an external server like google or zimbra, curiouse if this is the same situation

1
Avatar
Ignorer
joachim grubelnik
Auteur

Interesting... Just tried with zimbra server, also ssl tls port 993 aso ... everything work fine immediately ... so it seems some kind of missconfiguration in ms exchange or some rfc problem soemwhere....

Avatar
orsomannaro
Meilleure réponse

Same problem with a local installation of Zimbra via SSL.

Test is ok but fetching email Odoo show the error.

Zimbra log don't show any connection from Odoo.

This happen only with last OCB version (the one with "Folders to monitor " parameters).

May be this problem related to server-tool "Email gateway - folders"?

0
Avatar
Ignorer
orsomannaro

Yes. I uninstall "Email gateway - folders" module and all seem work fine now.

orsomannaro

This also seem to influence users creation.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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