email reception fails

Bug #1341308 reported by Stefan Helmert
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenERP CRM
Undecided
Unassigned

Bug Description

I chosed my own dovecot as incoming imap-server, test works, after "fetch mail" I got the following output on the terminal and no mail appears in Messaging->Inbox:

Debug log:

2014-07-13 14:47:30,505 9002 INFO entroserv werkzeug: 10.8.0.6 - - [13/Jul/2014 14:47:30] "POST /longpolling/poll HTTP/1.1" 200 -
2014-07-13 14:47:33,942 9002 INFO entroserv openerp.addons.fetchmail.fetchmail: start checking for new emails on imap server owndovecot
2014-07-13 14:47:34,004 9002 ERROR entroserv openerp.addons.fetchmail.fetchmail: Failed to process mail from imap server owndovecot.
Traceback (most recent call last):
  File "/home/stefan/odoo/addons/fetchmail/fetchmail.py", line 207, in fetch_mail
    context=context)
  File "/home/stefan/odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/stefan/odoo/addons/mail/mail_thread.py", line 1157, in message_process
    routes = self.message_route(cr, uid, msg_txt, msg, model, thread_id, custom_values, context=context)
  File "/home/stefan/odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/stefan/odoo/addons/mail/mail_thread.py", line 1042, in message_route
    update_author=True, assert_model=True, context=context)
  File "/home/stefan/odoo/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/stefan/odoo/addons/mail/mail_thread.py", line 821, in message_route_verify
    raise ValueError('Routing: posting a message without model should be with a parent_id (private mesage).')
ValueError: Routing: posting a message without model should be with a parent_id (private mesage).
2014-07-13 14:47:34,007 9002 INFO entroserv openerp.addons.fetchmail.fetchmail: Fetched 1 email(s) on imap server owndovecot; 0 succeeded, 1 failed.
2014-07-13 14:47:34,036 9002 INFO entroserv werkzeug: 10.8.0.6 - - [13/Jul/2014 14:47:34] "POST /web/dataset/call_button HTTP/1.1" 200 -
2014-07-13 14:47:34,446 9002 INFO entroserv werkzeug: 10.8.0.6 - - [13/Jul/2014 14:47:34] "POST /web/dataset/call_kw/fetchmail.server/search_read HTTP/1.1" 200 -
2014-07-13 14:47:34,832 9002 INFO entroserv werkzeug: 10.8.0.6 - - [13/Jul/2014 14:47:34] "POST /web/menu/load_needaction HTTP/1.1" 200 -
2014-07-13 14:47:35,272 9002 INFO entroserv werkzeug: 10.8.0.6 - - [13/Jul/2014 14:47:35] "POST /web/dataset/search_read HTTP/1.1" 200 -
2014-07-13 14:47:53,200 9002 DEBUG ? openerp.service.server: cron1 polling for jobs
2014-07-13 14:47:53,200 9002 DEBUG ? openerp.service.server: cron1 polling for jobs

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers