Roundup Tracker - Issues

Issue 2550922

classification
make mail addressed to tracker+issue25@some.address.com update issue 25.
Type: rfe Severity: normal
Components: Mail interface Versions: devel
process
Status: new
:
: : rouilj, schlatterbeck
Priority: normal : Effort-Medium

Created on 2016-07-07 00:23 by rouilj, last changed 2016-07-12 15:32 by schlatterbeck.

Messages
msg5772 Author: [hidden] (rouilj) Date: 2016-07-07 00:23
roundup/mailgw.py has the following code:

       # XXX Don't enable. This doesn't work yet.
# 
"[^A-z.]tracker\+(?P<classname>[^\d\s]+)(?P<nodeid>\d+)\@some.dom.ain[^A-z.]"
        # handle delivery to addresses like:tracker+issue25@some.dom.ain
        # use the embedded issue number as our issue
#            issue_re = config['MAILGW_ISSUE_ADDRESS_RE']
#            if issue_re:
#                for header in ['to', 'cc', 'bcc']:
#                    addresses = message.getheader(header, '')
#                if addresses:
#                  # FIXME, this only finds the first match in the
addresses.
#                    issue = re.search(issue_re, addresses, 'i')
#                    if issue:
#                        classname = issue.group('classname')
#                        nodeid = issue.group('nodeid')
#                        break


we should make that work.
History
Date User Action Args
2016-07-12 15:32:56schlatterbecksetnosy: + schlatterbeck
2016-07-07 00:23:53rouiljcreate