diff options
| author | Barry Warsaw | 2009-01-06 19:55:59 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-06 19:55:59 -0500 |
| commit | 89f5f76ed31d6ca2faf8e2a783a37e9009b03413 (patch) | |
| tree | f1023f64501a49917674f5bcd78927aa5cee08ef /mailman/mta/postfix.py | |
| parent | 37c255b7b0c1b8ea10c8d24a44c8586de86ffcc6 (diff) | |
| download | mailman-89f5f76ed31d6ca2faf8e2a783a37e9009b03413.tar.gz mailman-89f5f76ed31d6ca2faf8e2a783a37e9009b03413.tar.zst mailman-89f5f76ed31d6ca2faf8e2a783a37e9009b03413.zip | |
Diffstat (limited to 'mailman/mta/postfix.py')
| -rw-r--r-- | mailman/mta/postfix.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mailman/mta/postfix.py b/mailman/mta/postfix.py index 4b92d5789..be7dc9b9b 100644 --- a/mailman/mta/postfix.py +++ b/mailman/mta/postfix.py @@ -34,7 +34,6 @@ import datetime from locknix.lockfile import Lock from zope.interface import implements -from mailman import Defaults from mailman import Utils from mailman.config import config from mailman.interfaces.mta import IMailTransportAgent @@ -113,7 +112,7 @@ class LMTP: os.rename(path + '.new', path) # Now that the new aliases file has been written, we must tell Postfix # to generate a new .db file. - command = Defaults.POSTFIX_MAP_CMD + ' ' + path + command = config.mta.postfix_map_cmd + ' ' + path status = (os.system(command) >> 8) & 0xff if status: msg = 'command failure: %s, %s, %s' |
