> On 2 Apr 2020, at 14.02, @lbutlr <krem...@kreme.com> wrote:
>
> On 02 Apr 2020, at 03:48, Aki Tuomi <aki.tu...@open-xchange.com> wrote:
>> On 2.4.2020 11.07, @lbutlr wrote:
>>> Is there any reason that a .active_sieve file would not load because it is
>>> a symbolic link? The target of the link is readable by the mail user, but
>>> instead of getting the trace for the .active_sieve file, I only get the
>>> trace for the default sieve file.
>>
>> Does `doveadm sieve list` show it as active script?
>
> Users are all virtual, so not sure who much that matters.
>
> # doveadm sieve list
> doveadm(root): Error: Couldn't drop privileges: User is missing UID (see
> mail_uid setting)
>
> # sudo -u vmail doveadm sieve list
> spamassassin ACTIVE
>
> # doveadm sieve list -u user@domain
> doveadm(user@domain): Warning: sieve: file storage: Active sieve script
> symlink /usr/local/virtual/user@domain/.active_sieve is no symlink.
> spamassassin ACTIVE
>
> # ls -ls /usr/local/virtual/user@domain/.active_sieve
> 0 lrwxr-xr-x 1 root vmail 50 Apr 2 04:58 .active_sieve ->
> /usr/local/virtual/otheruser@domain/.sieve/listid
>
> # ls -lsH /usr/local/virtual/user@domain/.active_sieve
> 8 -rw-r--r-- 2 vmail vmail 1863 Apr 2 01:58 .active_sieve
>
if you do cat /usr/local/virtual/user@domain/.active_sieve does it follow the
symlink correctly?
Sami