We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
[SOLVED] Problem Roundcube doesn't have default folders
[SOLVED] Problem Roundcube doesn't have default folders
My "out of the box" installation of Vesta works flawlesly but I've found something weird and suposse to be easy to fix. Newly created inboxes doesn't have the default folders appropieate, only inbox and sent, but not trash and others like de bin.
Is any way to do it automatically, because it's pretty hard to create and assign to special folders each address.
Thanks in advance.
Is any way to do it automatically, because it's pretty hard to create and assign to special folders each address.
Thanks in advance.
Last edited by array on Tue Apr 22, 2014 7:21 am, edited 1 time in total.
Re: Problem Roundcube doesn't have default folders for trash
i have th same problem
i fix it in creating manualy the differents folders Trash, Send etc ...
but i suppose there is a more simple solution ?
i fix it in creating manualy the differents folders Trash, Send etc ...
but i suppose there is a more simple solution ?
Re: Problem Roundcube doesn't have default folders for trash
Hi. I'm pretty sure that might be another way to do this. And even do it automatically, but haven't found it yet.
Hope someone could help us. I'm also doing it manually at this moment.
Hope someone could help us. I'm also doing it manually at this moment.
Re: Problem Roundcube doesn't have default folders for trash
You can create trash without ssh access. Just go to roundcube and login to your mail. In lower left corner click on "setting icon" and Administer folders. Then again in lower left corner click on "plus icon", name of a folder set to "Trash" and save it. From now trash appear in mail account. Maybe I can make automated solution unil VestaDevs fix it, but now I don't have much time to do this. Report this problem to https://bugs.vestacp.com.
Solution
Solution:
After deeper research I found native solution and deprecated.
To get Dovecot version:
Restart service
Restart service
After deeper research I found native solution and deprecated.
To get Dovecot version:
Native solution - Dovecot 2.1+# dovecot --version
In default looks dovecot.conf like this:# nano /etc/dovecot/dovecot.conf
Below !include... add this:protocols = imap pop3
listen = *, ::
base_dir = /var/run/dovecot/
!include conf.d/*.conf
Code: Select all
namespace {
type = private
separator = /
prefix =
inbox = yes
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
}
Deprecated solution - Dovecot 2.0 and below# service dovecot restart
Replace /etc/dovecot/conf.d/20-imap.conf by this:# nano /etc/dovecot/conf.d/20-imap.conf
Code: Select all
protocol imap {
mail_plugins = $mail_plugins autocreate
}
plugin {
autocreate = Trash
autocreate2 = Spam
autocreate3 = Sent
autocreate4 = Drafts
#autocreate5 = Custom
autosubscribe = Trash
autosubscribe2 = Spam
autosubscribe3 = Sent
autosubscribe4 = Drafts
#autosubscribe5 = Custom
}
Now folders will be automatically created for new users.# service dovecot restart
Last edited by MyKEcz on Wed Apr 09, 2014 7:38 am, edited 2 times in total.
-
- Posts: 83
- Joined: Tue Jan 14, 2014 6:43 am
Re: Solution
You should really change your plugin code to this, even though it may create the Drafts folder for you when you create an email, but you can't always take that chance and should set plan for it ahead of time.
Code: Select all
plugin {
autocreate = Trash
autocreate2 = Spam
autocreate3 = Sent
autocreate4 = Drafts
autosubscribe = Trash
autosubscribe2 = Spam
autosubscribe3 = Sent
autosubscribe4 = Drafts
}
Re: Solution
I found new solution check it out and try it above.nightstryke wrote:You should really change your plugin code to this, even though it may create the Drafts folder for you when you create an email, but you can't always take that chance and should set plan for it ahead of time.
Code: Select all
plugin { autocreate = Trash autocreate2 = Spam autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Spam autosubscribe3 = Sent autosubscribe4 = Drafts }
-
- Posts: 83
- Joined: Tue Jan 14, 2014 6:43 am
Re: Problem Roundcube doesn't have default folders for trash
2.1 Solution does not work
Edit: I was having some problems getting this working, turned out to be a formatting issue, disregard.
Code: Select all
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: protocols: Unknown protocol: listen
[....] Restarting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: protocols: Unknown protocol: listen
failed!
Edit: I was having some problems getting this working, turned out to be a formatting issue, disregard.
Re: Problem Roundcube doesn't have default folders for trash
Hi.
Tried de 2.0 solution but doesn't work for me.
At least I cannot open webmail "failed conneciton with IMAP", restoring the 20-imap.conf file reactivates access to webmail.
any suggestion? I've tried several times to check spelling correctly but can't make it work.
Thanks
Tried de 2.0 solution but doesn't work for me.
At least I cannot open webmail "failed conneciton with IMAP", restoring the 20-imap.conf file reactivates access to webmail.
any suggestion? I've tried several times to check spelling correctly but can't make it work.
Thanks