This issue can be fix by create a new imap folder: 「Trash」 then you will be able to delete mail from RoundCube.git
As far as I know, VestaCP has this issued because they still using Dovecot 2.0.9 and it’s get fix after version 2.1.0github
So to work around that, you may need to use the plugin (add some code to Dovecot).vim
1api 2this 3spa 4rest 5code 6get 7it 8 9 10 11 12 13 14 15 16 |
# Dovecot automatically create a folders for us :)
# vim /etc/dovecot/conf.d/20-imap.conf mail_plugins = $mail_plugins autocreate
# At the end of file paste following code plugin { autocreate = Trash autocreate2 = Junk autocreate3 = Drafts autocreate4 = Sent autosubscribe = Trash autosubscribe2 = Junk autosubscribe3 = Drafts autosubscribe4 = Sent } |
Rapid Fix in single line:
1 |
if [[ `/usr/sbin/dovecot --version` < 2.1 ]]; then mv /etc/dovecot/conf.d/20-imap.conf /etc/dovecot/conf.d/20-imap.conf.bak && wget -O /etc/dovecot/conf.d/20-imap.conf https://www.dropbox.com/s/7xh7tu9xz5t82px/20-imap.conf?dl=1 && chmod 755 /etc/dovecot/conf.d/20-imap.conf && /etc/init.d/dovecot restart && /etc/init.d/dovecot status else echo "no need"; fi |
Ref1: https://gist.github.com/xdobro4/e1436f79f3707917e57b
Ref2: http://wiki2.dovecot.org/MailboxSettings