[Bug 661399] [NEW] Quiet parametr for creating "manual" MTA is noisy

Bartosz Szatkowski bulislaw at gmail.com
Fri Oct 15 20:34:23 CEST 2010

Public bug reported:

[ steps ]
  call Mailman.MTA.Manual.create(..., quiet=True)

         if mm_cfg.MTA:
             modname = 'Mailman.MTA.' + mm_cfg.MTA
             sys.modules[modname].create(mlist, quiet=True)

[ result ]
 test-devel:              "|/var/lib/mailman/mail/mailman post test-devel"
test-devel-admin:        "|/var/lib/mailman/mail/mailman admin test-devel"
test-devel-bounces:      "|/var/lib/mailman/mail/mailman bounces test-devel"
test-devel-confirm:      "|/var/lib/mailman/mail/mailman confirm test-devel"
test-devel-join:         "|/var/lib/mailman/mail/mailman join test-devel"
test-devel-leave:        "|/var/lib/mailman/mail/mailman leave test-devel"
test-devel-owner:        "|/var/lib/mailman/mail/mailman owner test-devel"
test-devel-request:      "|/var/lib/mailman/mail/mailman request test-devel"
test-devel-subscribe:    "|/var/lib/mailman/mail/mailman subscribe test-devel"
test-devel-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe test-devel"

[ expected result]

  totaly quiet "output"

[ fix ]
Sorry Iam kind of busy right now - cant make the patch
Line 82-87 in Mailman/MTA/Manual.py should be indented one more level

 82       print _("""\
 83 ## %(listname)s mailing list""")
 84         outfp = sys.stdout
 85     # Common path
 86     for k, v in makealiases(listname):
 87         print >> outfp, k + ':', ((fieldsz - len(k)) * ' '), v

** Affects: mailman
     Importance: Undecided
         Status: New

Quiet parametr for creating "manual" MTA is noisy 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

More information about the Mailman-coders mailing list