Skip to Content
Menu
This question has been flagged
2 Replies
2703 Views

 Apparently it doesnt work when we send emails through SMTP not using catchall, nor doesnt asign correctly the ID to the content behind the mails. Only users with just one alias in the system can do it correctly. Mails received by users with external mail configured are not attached to the connecting discussion. We ignore if it is well configred and have not found any information with real guarantee to fix it. Can anyone solve this problem??? Thanks in advance.

Avatar
Discard

I can not understand your problem. Please try to make it clear, maybe you provide screenshots and log entries and explain it better.

Author

Thanks Ermin, I will tray to explain mayself better:

regarding problems with emails,

enclose log made with two different users, one internal using SMTP localhost (Odoo VPS server) and another using SMTP of Gmail. Incoming server in both cases with gmail IMAP account, one particular for the first and catchall for second also issued in google under natrus.es domain.

LOG SMTP localhost:

r/175/image_small HTTP/1.1" 200 -

2017-03-20 20:05:13,170 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "GET /web/image/res.partner/291/image_small HTTP/1.1" 304 -

2017-03-20 20:05:13,257 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "POST /web/dataset/call_kw/mail.message/tracking_status HTTP/1.1" 200 -

2017-03-20 20:05:13,381 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "GET /mail/tracking/open/natrus/562/2017-03-20 20:05:12,697 20456 INFO natrus odoo.addons.mail.models.mail_mail: Mail with ID 1058 and Message-Id u'<1490040312.216089010238647.829281852906414-openerp-175-res.partner@bs485.localdomain>' successfully sent

2017-03-20 20:05:12,706 20456 INFO natrus odoo.models.unlink: User #1 deleted mail.mail records with IDs: [1058]

2017-03-20 20:05:12,713 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:12] "POST /web/dataset/call_kw/res.partner/message_post HTTP/1.1" 200 -

2017-03-20 20:05:12,766 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:12] "POST /longpolling/poll HTTP/1.1" 200 -

2017-03-20 20:05:12,829 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:12] "POST /web/dataset/call_kw/mail.message/message_format HTTP/1.1" 200 -

2017-03-20 20:05:12,999 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:12] "POST /web/dataset/call_kw/mail.message/tracking_status HTTP/1.1" 200 -

2017-03-20 20:05:13,003 20456 INFO natrus odoo.models.unlink: User #1 deleted mail.notification records with IDs: [2255]

2017-03-20 20:05:13,036 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "POST /web/dataset/call_kw/mail.message/set_message_done HTTP/1.1" 200 -

2017-03-20 20:05:13,108 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "POST /longpolling/poll HTTP/1.1" 200 -

2017-03-20 20:05:13,150 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "POST /web/dataset/call_kw/mail.message/tracking_status HTTP/1.1" 200 -

2017-03-20 20:05:13,162 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "POST /web/dataset/call_kw/mail.message/tracking_status HTTP/1.1" 200 -

2017-03-20 20:05:13,168 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "GET /web/image/res.partneblank.gif HTTP/1.1" 200 -

2017-03-20 20:05:13,474 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "GET /web/image/res.partner/291/image_small HTTP/1.1" 304 -

2017-03-20 20:05:13,481 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:13] "GET /web/image/res.partner/175/image_small HTTP/1.1" 304 -

2017-03-20 20:05:14,098 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:14] "POST /web/dataset/call_kw/mail.message/tracking_status HTTP/1.1" 200 -

2017-03-20 20:05:14,205 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:14] "GET /web/image/res.partner/175/image_small HTTP/1.1" 304 -

2017-03-20 20:05:26,937 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:26] "POST /longpolling/poll HTTP/1.1" 200 -

2017-03-20 20:05:31,844 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:31] "GET / HTTP/1.1" 302 -

2017-03-20 20:05:58,403 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:58] "POST /web/dataset/search_read HTTP/1.1" 200 -

2017-03-20 20:05:59,737 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:59] "POST /web/dataset/call_kw/fetchmail.server/read HTTP/1.1" 200 -

2017-03-20 20:05:59,861 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:05:59] "POST /web/dataset/call_kw/google.drive.config/get_google_drive_config HTTP/1.1" 200 -

2017-03-20 20:06:00,124 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:06:00] "POST /web/dataset/search_read HTTP/1.1" 200 -

2017-03-20 20:06:01,630 20456 INFO natrus odoo.addons.fetchmail.models.fetchmail: start checking for new emails on imap server Catchall NATRUS

2017-03-20 20:06:02,920 20456 INFO natrus odoo.addons.mail.models.mail_thread: Routing mail from Juani <juani@aizean.com> to "Natrus S.L." <catchall@natrus.es> with Message-Id <6a2db59d-774b-51ca-8c4c-8c420a349736@aizean.com>: direct reply to msg: model: res.partner, thread_id: 175, custom_values: None, uid: 11

2017-03-20 20:06:03,197 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 20:06:03] "POST /longpolling/poll HTTP/1.1" 200 -

In red whatch msg atatched to correct thread id 175 and can be replied from inbox whih is also attached to same thread. I works fine although sometimes msg doesnt appear at users debate.

In the other case: account SMTP pro gmail account

2017-03-20 19:58:36,473 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 19:58:36] "POST /longpolling/poll HTTP/1.1" 200 -

2017-03-20 19:58:48,022 20456 INFO natrus odoo.addons.mail.models.mail_mail: Mail with ID 1057 and Message-Id u'<1490039926.201780080795288.073875487472903-openerp-175-res.partner@bs485.localdomain>' successfully sent

2017-03-20 19:58:48,031 20456 INFO natrus odoo.models.unlink: User #1 deleted mail.mail records with IDs: [1057]

2017-03-20 19:58:48,041 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 19:58:48] "POST /web/dataset/call_kw/res.partner/message_post HTTP/1.1" 200 -

2017-03-20 19:58:48,180 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 19:58:48] "POST /web/dataset/call_kw/mail.message/message_format HTTP/1.1" 200 -

2017-03-20 19:58:48,356 20456 INFO natrus werkzeug: 127.0.0.1 - - [20/Mar/2017 19:58:48] "POST /web/dataset/call_kw/mail.message/tracking_status HTTP/1.1" 200 -

2017-03-20 19:59:23,245 20456 INFO natrus odoo.addons.fetchmail.models.fetchmail: start checking for new emails on imap server Luis Prada

2017-03-20 19:59:24,799 20456 INFO natrus odoo.addons.mail.models.mail_thread: Routing mail from Juani <juani@aizean.com> to Luis Prada Perez <luis.prada@natrus.es> with Message-Id <d380d769-e3a0-8737-dd43-381dde1bf4fc@aizean.com>: direct alias match: (u'res.users', 11, {}, 11, mail.alias(39,))

2017-03-20 19:59:25,210 20456 INFO natrus odoo.addons.fetchmail.models.fetchmail: Fetched 1 email(s) on imap server Luis Prada; 1 succeeded, 0 failed.

can verify how msg is not attached to thread id:175 and only finds res-users 11 (me) and goes to my inbox but not to thread, and in consequence cannot be replied from Debates.

Hope is clearer now and can have a solution to my question.

Author Best Answer

thanks Ermin, will be back to you with screen shots and clearer explanation.

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
597
1
May 24
1191
2
May 24
792
1
Apr 24
1383
1
Feb 24
441