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
Sympl
Sympl
Commits
5a1b47ae
Commit
5a1b47ae
authored
Feb 12, 2021
by
Paul Cammish
Browse files
Fixes forwards for mailboxes
parent
15c8c20f
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mail/exim4/sympl.d/20-routers/22-vhost-forward
View file @
5a1b47ae
...
...
@@ -8,13 +8,13 @@ vhost_forward:
local_parts = ${lookup{$local_part}dsearch{VHOST_DIR/$domain_data/VHOST_MAILBOX_DIR}}
# Make sure the files exists to avoid awkward failures
condition = ${if exists{VHOST_DIR/$domain/VHOST_MAILBOX_DIR/$local_part/forward}}
file = VHOST_DIR/$domain/VHOST_MAILBOX_DIR/$local_part/forward
file = VHOST_DIR/$domain
_data
/VHOST_MAILBOX_DIR/$local_part
_data
/forward
# Set permissions for any actions we might take
user = ${extract{uid}{${stat:VHOST_DIR/$domain/VHOST_CONFIG_DIR}}}
group = ${extract{gid}{${stat:VHOST_DIR/$domain/VHOST_CONFIG_DIR}}}
# Set the home directory for any routers/transports.
router_home_directory = VHOST_DIR/$domain/VHOST_MAILBOX_DIR/$local_part
transport_home_directory = VHOST_DIR/$domain/VHOST_MAILBOX_DIR/$local_part
router_home_directory = VHOST_DIR/$domain
_data
/VHOST_MAILBOX_DIR/$local_part
_data
transport_home_directory = VHOST_DIR/$domain
_data
/VHOST_MAILBOX_DIR/$local_part
_data
directory_transport = address_directory
file_transport = address_file
pipe_transport = address_pipe
...
...
Paul Cammish
@kelduum
mentioned in issue
#307 (closed)
·
Feb 12, 2021
mentioned in issue
#307 (closed)
mentioned in issue #307
Toggle commit list
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