summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-11-20 17:00:24 +0000
committerbwarsaw2001-11-20 17:00:24 +0000
commitc4c1ea74156f7950af8c5bf9770cb7edd18acdac (patch)
tree682c2baf641e591c669d0fc91cb28cc0ae2d9aed
parent93396e396b526a027918960d7184f32e15f5841d (diff)
downloadmailman-c4c1ea74156f7950af8c5bf9770cb7edd18acdac.tar.gz
mailman-c4c1ea74156f7950af8c5bf9770cb7edd18acdac.tar.zst
mailman-c4c1ea74156f7950af8c5bf9770cb7edd18acdac.zip
makealiases(): The list of aliases now includes -bounces which goes to
the new bounces script. -admin no longer delivers to the mailowner script since the mailowner script no longer does bounce processing. For backwards compatibility -admin goes to the bounces script now (should it?). Also, -owner is no longer an alias for -admin but pipes to the mailowner script directly.
-rw-r--r--Mailman/MTA/Utils.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/Mailman/MTA/Utils.py b/Mailman/MTA/Utils.py
index 1dac4b80d..5010aa704 100644
--- a/Mailman/MTA/Utils.py
+++ b/Mailman/MTA/Utils.py
@@ -37,10 +37,12 @@ def getusername():
def makealiases(listname):
wrapper = os.path.join(mm_cfg.WRAPPER_DIR, 'wrapper')
return (
+ # All the normal delivery addresses
(listname, '"|%s post %s"' % (wrapper, listname)),
- (listname + '-admin', '"|%s mailowner %s"' % (wrapper, listname)),
- (listname + '-request', '"|%s mailcmd %s"' % (wrapper, listname)),
+ (listname + '-admin', '"|%s bounces %s"' % (wrapper, listname)),
+ (listname + '-bounces', '"|%s bounces %s' % (wrapper, listname)),
(listname + '-join', '"|%s join %s"' % (wrapper, listname)),
- (listname + '-leave', '"|%s leave %s"' % (wrapper, listname)),
- (listname + '-owner', '%s-admin' % listname),
+ (listname + '-leave', '"|%s leave %s"' % (wrapper, listname)),
+ (listname + '-owner', '"|%s mailowner %s' % (wrapper, listname)),
+ (listname + '-request', '"|%s mailcmd %s"' % (wrapper, listname)),
)