But after I finished all steps except adding the Sieve filter as the interface is different and complicated, I tried to check if email is still working as normal, but the server is no more receiving emails, and when checked logs and googled a lot, I came to the following error in dovecot-lda-errors.log file:
2022-10-28 09:54:12 lda(2098): Fatal: Plugin 'autocreate' not found from directory /usr/lib64/dovecot
Googling about it clarify that the latest version of dovecot is no more using autocreate plugin, but it is using namespace instead, but I can’t modify the dovecot config file to use the new syntax: https://doc.dovecot.org/settings/plugin/autocreate-plugin/
Any help please?
Magento 2 Payment Restrictions limits additionally make use of superior catalog alternatives and coupon codes. You can restrict fee alternatives while a purchaser makes use of a chit code or a product is sure with the aid of using sure catalog policies. For example, you may save your, clients, from the usage of “coins on transport” or “loose transport” as a fee alternative while making use of a sure coupon code.
Hi,
My mailserver is working and a testing score 10/10. Now want to implement this feature. But have some doubt on it. I will point out my setting before implementing.
Protocols are imap & pop3. It just says add sieve, but seems need to add lmtp and sieve as protocol.
In the instructions says to add the config at the end of dovecot, but some settings have been set up before:
unix_listener auth-master {
mode = 0660
user = vmail
}
Do I need to add the group? as:
unix_listener auth-master {
group = vmail
mode = 0660
user = vmail
}
auth-client wasn’t there and it authenticated. Is it necessary to add the following?
unix_listener auth-client {
group = postfix
mode = 0660
user = postfix
}
The protocol lda block was set. I suppose I need to merge it with your provided lines rather than add another block.
protocol lda {
mail_plugins = $mail_plugins autocreate sieve quota
…
log_path = /var/log/dovecot-lda-errors.log
info_log_path = /var/log/dovecot-lda.log
}
That’s it, thankyou!
Append “sieve” after ‘lmtp’ in protocols on the first line:
protocols = imap pop3 lmtp sieve
After that, add the following lines at the end of the config file and save the file:
Filter is managed on every email.
They do not work with other emails.
Unless you have already forwarded the other emails to 1 email.
Then you can use that filter on 1 email to move emails forwarded from another email.
I can confirm the original post is working on Ubuntu 22.04 LTS with the following fixes and caveats:
Always run sudo apt-get update or equivalent before making changes to CyperPanel and its components. Otherwise you risk mismatch in component versions.
In step 2, append “sieve” AND ‘lmtp’ in protocols on the first line of /etc/dovecot/dovecot.conf:
protocols = imap pop3 lmtp sieve
Again in dovecot.conf pay attention to these lines and replace with your domain:
@usmannasir it would be nice to point this out in the guide, since the code snippet is long and it’s not immediately apparent that changes should be made to it.
Again in dovecot.conf: the autocreate plugin has been deprecated for a long time and is no more included in dovecot. So remove it from the list of active plugins in this line: mail_plugins = $mail_plugins autocreate sieve quota THE LINE APPEARS TWICE, under protocol lda { and protocol lmtp {
it should then read: mail_plugins = $mail_plugins sieve quota
I did NOT remove the line lda_mailbox_autocreate = yes
The fixed line in Step 4, when doing nano /etc/postfix/master.cf is wrong, as it is identical to the outdated one. The correct one is available in the linked reference and reads:
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
It should already be in master.cf though, so check before adding it.
I’m waiting for expiration of a vacation day interval to check if I get the same problem as @T21 . I installed Sieve today, so it will take some time.
This post summarizes various threads and comments, that I cannot recall and credit. But I’d like to thank all the users whose posts helped me to get Sieve working.