diff options
| author | bwarsaw | 2002-12-02 14:47:21 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-02 14:47:21 +0000 |
| commit | 593ae5e89571d986c7e9183e53a3fb709fb05a82 (patch) | |
| tree | 5afaabd22a212a669b81b71fcb1ab17c37848963 /cron | |
| parent | aada6d004a142bc001386296ca2bfdd5eb44402c (diff) | |
| download | mailman-593ae5e89571d986c7e9183e53a3fb709fb05a82.tar.gz mailman-593ae5e89571d986c7e9183e53a3fb709fb05a82.tar.zst mailman-593ae5e89571d986c7e9183e53a3fb709fb05a82.zip | |
Diffstat (limited to 'cron')
| -rwxr-xr-x | cron/mailpasswds | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cron/mailpasswds b/cron/mailpasswds index 5d8b60f6b..a009e92b5 100755 --- a/cron/mailpasswds +++ b/cron/mailpasswds @@ -113,7 +113,7 @@ def main(): sys.exit(1) # Group lists by host_name if VIRTUAL_HOST_OVERVIEW is true, otherwise - # there's only one key in this dictionary: mm_cfg.DEFAULT_HOST_NAME. The + # there's only one key in this dictionary: mm_cfg.DEFAULT_EMAIL_HOST. The # values are lists of the unlocked MailList instances. byhost = {} for listname in listnames: @@ -123,7 +123,9 @@ def main(): if mm_cfg.VIRTUAL_HOST_OVERVIEW: host = mlist.host_name else: - host = mm_cfg.DEFAULT_HOST_NAME + # See the note in Defaults.py concerning DEFAULT_HOST_NAME + # vs. DEFAULT_EMAIL_HOST. + host = mm_cfg.DEFAULT_HOST_NAME or mm_cfg.DEFAULT_EMAIL_HOST byhost.setdefault(host, []).append(mlist) # Now for each virtual host, collate the user information. Each user |
