<div dir="ltr"><div>Hello</div><div>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.</div><div><br></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"># sieve-filter -v -u postmaster@domain.tld ~/sieve/managesieve.sieve INBOX
</span><br>sieve-filter(root): Fatal: Unknown user<br></span></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">sudo -u vmail sieve-filter -u postmaster@domain.tld ~/sieve/managesieve.sieve INBOX
</span><br>sieve-filter(vmail): Fatal: Unknown user<br>
</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Also there is the same question on serverfault, but without an answer.<br></span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><a href="https://serverfault.com/questions/1055407/how-to-make-sieve-filter-use-virtual-users">https://serverfault.com/questions/1055407/how-to-make-sieve-filter-use-virtual-users</a></span></div><div><br></div><div>My environment is Ubuntu 20.04</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">dovecot --version
</span><br>2.3.7.2 (3c910f64b)<br></span></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><span class="gmail-VIiyi" lang="en"><span class="gmail-JLqJ4b gmail-ChMk0b"><span>Sincerely, Andrey Kunitsyn</span></span></span> </div></div></div>