Pigeonhole Sieve Config Warning

Aki Tuomi aki.tuomi at open-xchange.com
Mon Aug 9 07:55:52 EEST 2021


> On 29/07/2021 22:39 dovecot at ptld.com wrote:
> 
>  
> In the sieve plugin settings i have
>    plugin {
>      ...
>      sieve_user_email = %u
>    }
> 
> Variables pages says
>    %u = full username (e.g. user at 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 domain
> 
> So 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 at 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


More information about the dovecot mailing list