Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

incoming email imap ssl fetch mail error

Odoberať

Get notified when there's activity on this post

This question has been flagged
2 Replies
11719 Zobrazenia
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
Zrušiť
joachim grubelnik
Autor

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
Autor Best Answer

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
Zrušiť
joachim grubelnik
Autor

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
Best Answer

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
Zrušiť
orsomannaro

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

orsomannaro

This also seem to influence users creation.

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

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

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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