插入代码:\addons\mail\mail_mail.py #309 line
this = self.pool.get('res.users').browse(cr, uid, uid, context=context)
if tools.email_split(email.get('email_to')[0])[0].split('@')[1]==this.alias_domain and tools.email_split(mail.email_from)[0].split('@')[1]!=this.alias_domain:
return True
插入代码:\addons\mail\mail_followers.py #177 line
this = self.pool.get('res.users').browse(cr, uid, uid, context=context)
if tools.email_split(email_from)[0].split('@')[1]==this.alias_domain and msg.type=='email':
return False