On 29/07/2021 22:39 dovecot@ptld.com wrote:
In the sieve plugin settings i have plugin { ... sieve_user_email = %u }
Variables pages says %u = full username (e.g. user@domain)
This config seems to work in practice, the email is from: the users email address.
However on starting dovecot im getting a warning twice: dovecot[35893]: managesieve: Warning: sieve: Invalid address value for setting
sieve_user_email': Missing domain dovecot[35893]: master: Dovecot v2.3.8 (9df20d2db) starting up for imap, lmtp, sieve dovecot[35897]: managesieve: Warning: sieve: Invalid address value for setting
sieve_user_email': Missing domainSo is there really an issue? Or just an improper warning?
Maybe some of your users do not have domain in the username? %u will only expand into user@domain if the username has domain. It won't magic up the domain value there.
So if your username is magick
%u will always expand into magick
.
Aki