Commit 5a1b47ae authored by Paul Cammish's avatar Paul Cammish
Browse files

Fixes forwards for mailboxes

parent 15c8c20f
......@@ -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
......
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