sieve-filter ignores -u argument

Christian Mack christian.mack at uni-konstanz.de
Tue Jan 25 16:08:19 UTC 2022


Hello

What do you get for
doveadm user postmaster at domain.tld


Kind regards,
Christian Mack

Am 24.01.22 um 13:59 schrieb Андрей Куницын:
> Hello
> I try to test my sieve script, but found out that it is impossible to use a
> sieve-filter tool with virtual mail users. It always uses a real user name
> instead of passed via -u argument.
> 
> 
> # sieve-filter -v -u postmaster at domain.tld ~/sieve/managesieve.sieve INBOX
> sieve-filter(root): Fatal: Unknown user
> 
> sudo -u vmail sieve-filter -u postmaster at domain.tld
> ~/sieve/managesieve.sieve INBOX
> sieve-filter(vmail): Fatal: Unknown user
> 
> Also there is the same question on serverfault, but without an answer.
> https://serverfault.com/questions/1055407/how-to-make-sieve-filter-use-virtual-users
> 
> My environment is Ubuntu 20.04
> dovecot --version
> 2.3.7.2 (3c910f64b)
> 


-- 
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung und Lehre
78457 Konstanz
+49 7531 88-4416

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5351 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220125/56ac1cb5/attachment.bin>


More information about the dovecot mailing list