Hi! You could also use
doveadm sieve put -u your-username default doveadm sieve activate -u your-username default to setup your sieve filter, it seems you're probably missing the active link. Aki > On 09/11/2022 23:29 EET Ellie McNeill <[email protected]> wrote: > > > Thanks for some of the advice folks. I've got the delete/trash problem > solved, but I'm still having trouble getting sieve to work. > > I've read the documentation and installed dovecot-sieve. I'm not > installing dovecot-managesieved at the moment though. > > I have added 'sieve' to the mail_plugins= line on both 15-lda.conf and > 20-lmtp.conf files. I put a simple .dovecot.sieve script in my home > directory and tested it with sieve-test and the script works fine. > However, sieve itself is still not working. I have run 'doveadm reload' > a few times but it still won't work. What could I be overlooking? > > Ellie > > On 09/11/2022 06:20, Ellie McNeill wrote: > > Hi, I'm running my own mail server on Debian 11 with exim and Dovecot > > 2.3.13. I have it working, but I'm seeking advice on further customising > > my setup. I'm using the Maildir++ format with some personal folders. I > > use IMAP to retrieve mail and Dovecot's submission server to send mail. > > > > 1. I want to have incoming emails automatically placed in certain > > folders instead of 'Inbox' based on certain criteria. For example, I > > want all emails from PayPal to go into the 'PayPal' folder and all > > emails from the Debian mailing list to go into the 'Debian' folder. Can > > dovecot do this for me and what is the best approach? > > > > 2. When I delete an email using my user client, it is only 'marked' as > > deleted (Thunderbird places a scored line through it, and a 'T' is added > > to the filename in the Maildir). How can I get dovecot to automatically > > move mail marked 'deleted' to the Trash folder each time? > > > > I also want further delete operations on any mail in the 'Trash' folder > > to be permanently deleted. > > > > 3. I want to hide my client IP address from the headers when submitting > > mail to Dovecot's submissiond, but I can't seem to find any way to > > disable this. I would prefer that recipients only see the server IP > > address, but not the IP address of the mail client which submitted it. > > > > Regards, > > Ellie > > > > PS - When signing up for the mailing list, there was no selection > > ability on the question "Would you like to get replies to your mails > > only to the list, ie. add a Reply-To header?"
