← Back to team overview

openerp-india team mailing list archive

[Bug 1221639] Re: Send mail to user alias: model res.users does not accept incoming emails

 

This turns out to be a mixed bag of things, partly due to data
corruption and partly because I think there is a bug in the 'special'
security evalution of mail.message in mail_message.py method
check_access_rule.

After correcting the data corruption the error turns into an 'operation
cannot be completed due to security restrictions', but only for one
address.

In short, I think it's working in 99% of the cases now, except for one
specific 'From' address which leads to the security error.

Marking as invalid as I can't provide the proper information for that 1%

** Changed in: openobject-addons
       Status: New => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1221639

Title:
  Send mail to user alias: model res.users does not accept incoming
  emails

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  alias domain:  sub.example.com

  users are created with aliases login@xxxxxxxxxxxxxxx

  System is setup with a catchall IMAP box. 
  We have the system working for  tasks/project issues/leads so I'm fairly confident the setup is sane.

  
  When a mail message is sent to  somelogin@xxxxxxxxxxxxxxx The following happens:

  1. mail is properly routed to the imap mailbox
  2. openerp cronjob tries to retrieve it. 
  3. Server log contains error:
  "
  2013-09-06 08:40:08,316 17524 ERROR hsd openerp.addons.fetchmail.fetchmail: Failed to fetch mail from imap server Catch All openobject address.
  Traceback (most recent call last):
    File "/var/openobject-server/hsd-7.0/addons/fetchmail/fetchmail.py", line 205, in fetch_mail
      context=context)
    File "/var/openobject-server/hsd-7.0/addons/mail/mail_thread.py", line 662, in message_process
      (msg['message_id'], model)
  AssertionError: Undeliverable mail with Message-Id <CACE=Qopsr5+f+zwKiD6ccgOwYGeewRaOxqHnKpmbuGbP8hG+fA@xxxxxxxxxxxxxx>, model res.users does not accept incoming emails
  "

  Code revistions used (7.0 branches):
  server      : 5061
  web         : 4023
  addons      : 9406

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1221639/+subscriptions


References