Quiet parametr for creating "manual" MTA is noisy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Undecided
|
Mark Sapiro |
Bug Description
[ steps ]
call Mailman.
eg
if mm_cfg.MTA:
[ result ]
output:
test-devel: "|/var/
test-devel-admin: "|/var/
test-devel-bounces: "|/var/
test-devel-confirm: "|/var/
test-devel-join: "|/var/
test-devel-leave: "|/var/
test-devel-owner: "|/var/
test-devel-request: "|/var/
test-devel-
test-devel-
[ expected result]
totaly quiet "output"
[ fix ]
Sorry Iam kind of busy right now - cant make the patch
Line 82-87 in Mailman/
82 print _("""\
83 ## %(listname)s mailing list""")
84 outfp = sys.stdout
85 # Common path
86 for k, v in makealiases(
87 print >> outfp, k + ':', ((fieldsz - len(k)) * ' '), v
The current behavior is what is intended.
The only thing in Mailman which calls MTA.Manual. create( ..., quiet=True) is "bin/genaliases --quiet" when MTA="Manual". The documentation for the genaliases --quiet option is
. Some MTA output can include more verbose help text. Use this to tone
. down the verbosity.
Further, when MTA = "Manual" the only thing genaliases does is print aliases. Thus, if calling MTA.Manual. create( ..., quiet=True) produced no output, "bin/genaliases --quiet" would do nothing so why would one want to run it at all.