Commit 3814b9b8 authored by Paul Cammish's avatar Paul Cammish
Browse files

Adjust group setting

parent 331d4d65
......@@ -113,15 +113,6 @@ Require valid-user" > "${domain}/public/htdocs/stats/.htaccess"
fi
# Enforce permissions for mailboxes directory
if [ -d ${domain}/mailboxes ]; then
find "${domain}/mailboxes" \( -type f -o -type d \) \( ! -user sympl -o ! -group sympl \) -exec chown sympl:sympl {} \;
find "${domain}/mailboxes" \( -type f -a ! -perm 660 -exec chmod 660 {} \; \) -o \( -type d -a ! -perm 2770 -exec chmod 2770 {} \; \)
fi
}
# Enforce permissions on /var/backups
......
......@@ -12,7 +12,6 @@
# setting, and consequently the address is unrouteable.
dnslookup_with_dkim:
group = ${extract{gid}{${stat:VHOST_DIR/$sender_address_domain/VHOST_CONFIG_DIR}}}
debug_print = "R: dnslookup_with_dkim for $local_part@$domain (using $sender_address_domain)"
driver = dnslookup
condition = ${if and{ \
......
......@@ -3,7 +3,6 @@
remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain"
driver = smtp
group = ${extract{gid}{${stat:VHOST_DIR/$sender_address_domain/VHOST_CONFIG_DIR}}}
#
# Use the domain's IP (if it has one) to send outgoing mail. We use
# $sender_address_domain, or a default value kept in
......
......@@ -9,9 +9,6 @@ remote_smtp_with_dkim:
debug_print = "T: remote_smtp_with_dkim for $local_part@$domain ($sender_address_domain key)"
driver = smtp
#
# Use the 'sympl' group so we can read config/dkim.* and config/ip(s).
#
group = ${extract{gid}{${stat:VHOST_DIR/$sender_address_domain/VHOST_CONFIG_DIR}}}
#
......
......@@ -3,7 +3,6 @@
# as a directory name rather than a file name.
address_directory:
group = ${extract{gid}{${stat:VHOST_DIR/$domain/VHOST_CONFIG_DIR}}}
debug_print = "T: address_directory for $local_part@$domain"
driver = appendfile
envelope_to_add
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment