Sieve Symlink Creation

João Silva joaopfmlist at lipc.fis.uc.pt
Thu Aug 25 13:10:27 UTC 2022


User home != mail home?

mail not in the user home? is that the situation?

On 25/08/2022 13:32, dovecot at ptld.com wrote:
> 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