Re: Sieve Symlink Creation

2022-09-12 Thread dovecot
On 09-12-2022 12:16 pm, hi@zakaria.website wrote: It seems that dovecot doesn't understand the relative format and requires absolute format, per the documentation example. Perhaps find the code which parses the absolute path, and compile your own dovecot build, which can understand the path fo

Re: Sieve Symlink Creation

2022-08-26 Thread dovecot
ls /home/../tmp is valid, it's relative or absolute? While valid, do you actually do that in your absolute paths? And i still fail to see what any of it has to do with relative vs absolute symlink creation as you acknowledge starting with ~ makes it relative to the home directory. I feel lik

Re: Sieve Symlink Creation

2022-08-26 Thread João Silva
On 26/08/2022 16:43, dove...@ptld.com wrote: On 08-26-2022 11:34 am, João Silva wrote: As far as I understood the sieve location is relative to the home. True. In my server I kept the default sieve = file:~/sieve;active=~/.dovecot.sieve In your definition there are ../ in the mix Yes, mi

Re: Sieve Symlink Creation

2022-08-26 Thread dovecot
On 08-26-2022 11:34 am, João Silva wrote: As far as I understood the sieve location is relative to the home. True. In my server I kept the default sieve = file:~/sieve;active=~/.dovecot.sieve In your definition there are ../ in the mix Yes, mine is "active=~/../_sieve/.active_sieve" which h

Re: Sieve Symlink Creation

2022-08-26 Thread João Silva
As far as I understood the sieve location is relative to the home. In my server I kept the default sieve = file:~/sieve;active=~/.dovecot.sieve the sieve is defined with relation to the home ~ In your definition there are ../ in the mix so home inside the home a Maildir or whetever you want

Re: Sieve Symlink Creation

2022-08-26 Thread dovecot
On 08-26-2022 9:22 am, João Silva wrote: Made the question before knowing about the virtual users. But dovecot allow to set a "home" for virtual users (as far as I undestood) https://wiki2.dovecot.org/VirtualUsers/Home?highlight=%28home%29|%28mail%29 If already had read that and didn't help let

Re: Sieve Symlink Creation

2022-08-26 Thread João Silva
On 25/08/2022 15:20, dove...@ptld.com wrote: On 08-25-2022 9:10 am, João Silva wrote: User home != mail home? mail not in the user home? is that the situation? Do you mean `/home/user` when you say user home? Made the question before knowing about the virtual users. But dovecot allow to

Re: Sieve Symlink Creation

2022-08-25 Thread dovecot
On 08-25-2022 9:10 am, João Silva wrote: User home != mail home? mail not in the user home? is that the situation? Do you mean `/home/user` when you say user home? No, mail is not stored in `/home/` because these are virtual users. I would not want to create 1,000+ linux users with home direct

Re: Sieve Symlink Creation

2022-08-25 Thread João Silva
User home != mail home? mail not in the user home? is that the situation? On 25/08/2022 13:32, dove...@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 Symlink Creation

2022-08-25 Thread dovecot
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 -> fi