summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/MTA/Postfix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MTA/Postfix.py b/Mailman/MTA/Postfix.py
index db719a0e1..d72a1ff73 100644
--- a/Mailman/MTA/Postfix.py
+++ b/Mailman/MTA/Postfix.py
@@ -239,14 +239,14 @@ def checkperms(state):
# group ownership of the file, since check_perms checks this itself.
if state.VERBOSE:
print _('checking ownership of %(DBFILE)s')
- rootuid = pwd.getpwnam('root')[2]
+ rootuid = pwd.getpwnam('mailman')[2]
ownerok = stat[ST_UID] == rootuid
if not ownerok:
try:
owner = pwd.getpwuid(stat[ST_UID])[0]
except KeyError:
owner = 'uid %d' % stat[ST_UID]
- print _('%(DBFILE)s owned by %(owner)s (must be owned by root)')
+ print _('%(DBFILE)s owned by %(owner)s (must be owned by mailman)')
state.ERRORS += 1
if state.FIX:
print _('(fixing)')