qmail-to-mailman.py missing commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Low
|
Mark Sapiro |
Bug Description
I have 2 patches for this script.
The first one I found at http://
@@ -66,2 +66,3 @@
local = string.lower(local)
- local = re.sub(
+ user = os.environ["USER"]
+ local = re.sub("^" + user + "-","",local)
The second one I found in part at http://
@@ -77,10 +77,15 @@
type = "post"
types = (("-admin$", "bounces"),
+ ("-bounces[-+].*$", "bounces"),
+ ("-confirm$", "confirm"),
+ ("-confirm[-+].*$", "confirm"),
- ("-request$", "request"))
+ ("-request$", "request"),
+ ("-subscribe$", "subscribe"),
+ ("-unsubscribe$", "unsubscribe"))
for i in types:
if re.search(
I doubt that this module is used very much at all, but I think it'd be nice to have it fixed for the next poor soul who might come along and try using it. Anyone using qmail these days deserves a break. ;)
Related branches
Changed in mailman: | |
assignee: | nobody → Mark Sapiro (msapiro) |
importance: | Undecided → Low |
milestone: | none → 2.1.17 |
status: | New → Confirmed |
Changed in mailman: | |
status: | Confirmed → Fix Committed |
Changed in mailman: | |
status: | Fix Committed → Fix Released |
I am using qmail. ;-) I have applied this patch and it works fine, just tested the -unsubscribe email alias. Thanks.