On 2022-11-09 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?"
Hi Ellie,
For the first question, you can use pigeonholes with sieve to place
specific emails from specific addresses in specific folder.
Refer to the documentations for pigeonholes and dovecot sieve plugin,
you will find enough information to guide you in implementing this.
https://doc.dovecot.org/configuration_manual/sieve/
https://doc.dovecot.org/configuration_manual/sieve/examples/
Good luck.
Zakaria.