Modify ↓
Opened 16 years ago
Closed 15 years ago
#39 closed task (fixed)
blacklisting, check for case insensitive mailer-daemon@
Reported by: | jodok@… | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | email2trac | Version: | 0.13 |
Keywords: | Cc: |
Description
not all mailer-daemons specify ther e-mail adress in uppercase letters. re.IGNORECASE should be included.
def blacklisted_from(self): FROM_RE = re.compile(r""" MAILER-DAEMON@ """, re.VERBOSE|re.IGNORECASE) result = FROM_RE.search(self.email_addr) if result: return True else: return False """, re.VERBOSE|re.IGNORECASE)
Attachments (0)
Change History (4)
comment:1 Changed 16 years ago by bas
- Status changed from new to assigned
- Type changed from defect to task
comment:2 Changed 16 years ago by anonymous
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in new version and trunk
comment:3 Changed 15 years ago by bas
- Resolution fixed deleted
- Status changed from closed to reopened
- Version changed from 0.1 to 0.13
reopen-ed, must still be implemented
comment:4 Changed 15 years ago by bas
- Resolution set to fixed
- Status changed from reopened to closed
black_list is now an option, applied to trunk
Note: See
TracTickets for help on using
tickets.
Thanks for the suggestion and fix, I will apply it to trunk and it must also be option in /etc/email2trac.conf. So we do not have to adjust the source when we have to change the blacklist.