Sieve Symlink Creation

dovecot at ptld.com dovecot at ptld.com
Thu Aug 25 12:32:50 UTC 2022


The first time when the sieve files and folders get created, the active symlink is created as a full absolute path

     .active_sieve -> /mnt/email/domain/user/_sieve/filters.sieve

After that, if you disable and enable the rule set the symlink gets recreated as relative

     .active_sieve -> filters.sieve

How can i have the symlink always created as a relative path even on first time creation?
Having a full absolute path over a mounted NSF is fragile.

Dovecot 2.3.16
Pigeonhole 2.3.16

mail_home = /mnt/email/%d/%n/_dovecot
mail_location = maildir:/mnt/email/%d/%n/_folders:INDEX=/mnt/email/%d/%n/_dovecot:CONTROL=/mnt/email/%d/%n/_dovecot
plugin {
   sieve = file:~/../_sieve;active=~/../_sieve/.active_sieve
   sieve_max_script_size = 1M
   sieve_max_actions = 32
   sieve_max_redirects = 4
   sieve_quota_max_scripts = 20
   sieve_quota_max_storage = 5M
   sieve_vacation_min_period = 1d
   sieve_vacation_use_original_recipient = no
   sieve_vacation_dont_check_recipient = no
   sieve_vacation_send_from_recipient = no
   sieve_redirect_envelope_from = sender
   sieve_user_email = %u
}



More information about the dovecot mailing list