# This router handles forwards for local users
local_users_forward_sieve:
  debug_print = "R: local_users_forward_sieve for $local_part@$domain"
  driver = accept
  # Make sure there's a local user.
  check_local_user
  domains = $primary_hostname
  # Make sure the files exists to avoid awkward failures
  condition  = ${if exists{$home/.sieve}}
  # Set permissions for any actions we might take
  user  = $local_user_uid
  group = $local_user_gid
  local_parts = ! root : ! admin
  local_part_suffix = +*
  local_part_suffix_optional
  transport = dovecot_lda
  # This stops this router from trying to change uid/gid whilst verifying the
  # address by skipping this router.  The address will get validated by the
  # next router.
  no_verify

