Merge pull request #489 from maxking/fix-mailman-root
Run mailman aliases command as mailman user
This commit is contained in:
@@ -224,10 +224,10 @@ echo "HYPERKITTY_API_KEY not defined, skipping HyperKitty setup..."
|
||||
|
||||
fi
|
||||
|
||||
# Generate the LMTP files for postfix if needed.
|
||||
mailman aliases
|
||||
|
||||
# Now chown the places where mailman wants to write stuff.
|
||||
chown -R mailman /opt/mailman
|
||||
|
||||
# Generate the LMTP files for postfix if needed.
|
||||
su-exec mailman mailman aliases
|
||||
|
||||
exec su-exec mailman "$@"
|
||||
|
||||
Reference in New Issue
Block a user