Dovecot doesnt create all folders for virtual users.
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
driver = mysql
#default_pass_scheme = plain
default_pass_scheme = PLAIN-MD5
#connect = host=/var/run/mysqld/mysqld.sock dbname=mail user=root password=default
# Alternatively you can connect to localhost as well:
connect = host=localhost dbname=mail user=mail password=XXXXX
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT '/srv/mail/vmail/%d/%n' as home, 'maildir:/srv/mail/vmail/%d/%n' as mail, 10005 AS uid, 12 AS gid, concat('dirsize:storage=',quota) AS quota FROM mailbox WHERE username ='%u' AND active ='1'
Hello, no if I am using for example roundcube for check mail, there is only Inbox. There is no Sent, or Trash or Drafts. If Im using SquirrelMail then the folders will be created, by SquirrelMail.
I have busted my head to figure it out whats the deal... I know that normaly Dovecot shouldnt create the folders, but who should? and how to set it... coz not everybody likes to use SquirrelMail so then if they use Roundcube, they wont have the stupid folder, only if they use first SquirrelMail
I even had the misfortune to use Outlook Express today, and that forced the creation of necessary folders.
I've never used roundcube - are you sure there's no way of getting it to create what's required? Are you sure it doesn't create them when they're needed? What happens if you delete a message in roundcube if the deleted folder doesn't exist?
Why don't you write a script to create them for new users?