Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
3814b9b8
Commit
3814b9b8
authored
Jul 02, 2019
by
Paul Cammish
Browse files
Adjust group setting
parent
331d4d65
Changes
5
Hide whitespace changes
Inline
Side-by-side
core/sbin/sympl-filesystem-security
View file @
3814b9b8
...
...
@@ -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
...
...
mail/exim4/sympl.d/20-routers/05-dnslookup-with-dkim
View file @
3814b9b8
...
...
@@ -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{ \
...
...
mail/exim4/sympl.d/30-transports/10-remote-smtp
View file @
3814b9b8
...
...
@@ -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
...
...
mail/exim4/sympl.d/30-transports/15-remote-smtp-with-dkim
View file @
3814b9b8
...
...
@@ -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}}}
#
...
...
mail/exim4/sympl.d/30-transports/30-address-directory
View file @
3814b9b8
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment