diff options
Diffstat (limited to 'bin/genaliases')
-rw-r--r-- | bin/genaliases | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/genaliases b/bin/genaliases index 18b67efe..0a1a3dae 100644 --- a/bin/genaliases +++ b/bin/genaliases @@ -79,6 +79,12 @@ def main(): if args: usage(1) + if not mm_cfg.MTA: + mta = repr(mm_cfg.MTA) + usage(2, _( + "genaliases can't do anything useful with mm_cfg.MTA = %(mta)s." + )) + # Import the MTA specific module modulename = 'Mailman.MTA.' + mm_cfg.MTA __import__(modulename) |