summaryrefslogtreecommitdiff
path: root/mailman/mta/postfix.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/mta/postfix.py')
-rw-r--r--mailman/mta/postfix.py3
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'