Mercurial > p > roundup > code
comparison roundup/configuration.py @ 5045:a46d5d0fd5f8
Fix issue1615201: Added a new configuration option EMAIL_KEEP_REAL_FROM
which makes the mail gateway ignore a Resent-From:-header and use the
real From:-header of the original author for further processing of the
message. Setting this option to 'yes' restores the original behaviour
of Roundup before the change in version 0.7.0 where the processing of
Resent-From: was added unconditionally.
| author | Peter Funk <pf@artcom-gmbh.de> |
|---|---|
| date | Fri, 18 Mar 2016 16:18:20 +0100 |
| parents | 5251e97b1de0 |
| children | e74c3611b138 |
comparison
equal
deleted
inserted
replaced
| 5044:dce3cfe7ec61 | 5045:a46d5d0fd5f8 |
|---|---|
| 816 "When parsing incoming mails, roundup uses the first\n" | 816 "When parsing incoming mails, roundup uses the first\n" |
| 817 "text/plain part it finds. If this part is inside a\n" | 817 "text/plain part it finds. If this part is inside a\n" |
| 818 "multipart/alternative, and this option is set, all other\n" | 818 "multipart/alternative, and this option is set, all other\n" |
| 819 "parts of the multipart/alternative are ignored. The default\n" | 819 "parts of the multipart/alternative are ignored. The default\n" |
| 820 "is to keep all parts and attach them to the issue."), | 820 "is to keep all parts and attach them to the issue."), |
| 821 ), "Roundup Mail Gateway options"), | 821 (BooleanOption, "keep_real_from", "no", |
| 822 "When handling emails ignore the Resent-From:-header\n" | |
| 823 "and use the original senders From:-header instead.\n" | |
| 824 "(This might be desirable in some situations where a moderator\n" | |
| 825 "reads incoming messages first before bouncing them to Roundup)", | |
| 826 ["EMAIL_KEEP_REAL_FROM"]), | |
| 827 ), "Roundup Mail Gateway options"), | |
| 822 ("pgp", ( | 828 ("pgp", ( |
| 823 (BooleanOption, "enable", "no", | 829 (BooleanOption, "enable", "no", |
| 824 "Enable PGP processing. Requires pyme. If you're planning\n" | 830 "Enable PGP processing. Requires pyme. If you're planning\n" |
| 825 "to send encrypted PGP mail to the tracker, you should also\n" | 831 "to send encrypted PGP mail to the tracker, you should also\n" |
| 826 "enable the encrypt-option below, otherwise mail received\n" | 832 "enable the encrypt-option below, otherwise mail received\n" |
