| Linode Forum https://forum.linode.com/ |
|
| Dovecot/MySQL/Postfix - Setting up Folders https://forum.linode.com/viewtopic.php?f=11&t=7273 |
Page 1 of 1 |
| Author: | iWizardPro [ Fri Jun 17, 2011 2:21 pm ] |
| Post subject: | Dovecot/MySQL/Postfix - Setting up Folders |
Hello everybody. Would somebody mind explaining how I can set up folders with a Dovecot/MySQL/Postfix setup on Ubuntu 11.04? I have my server running already, but I cannot for the life of me, get folders to work. I am trying to setup folders like Spam and Trash. I have tried setting it up in the Dovecot configuration file (dovecot.conf). But, it still doesn't seem to operate as expected (or at all). My current dovecot.conf: Quote: protocols = imap imaps pop3 pop3s
log_timestamp = "%Y-%m-%d %H:%M:%S " mail_location = maildir:/home/vmail/%d/%n/Maildir ssl_cert_file = /etc/ssl/certs/dovecot.pem ssl_key_file = /etc/ssl/private/dovecot.pem namespace private { separator = . prefix = INBOX. inbox = yes } namespace private { separator = . prefix = INBOX.Trash. inbox = no } protocol lda { log_path = /home/vmail/dovecot-deliver.log auth_socket_path = /var/run/dovecot/auth-master postmaster_address = postmaster@<omitted>.com mail_plugins = sieve global_script_path = /home/vmail/globalsieverc } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } auth default { user = root passdb sql { args = /etc/dovecot/dovecot-sql.conf } userdb static { args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes } socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vmail } client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } } Thank you for your help! |
|
| Author: | andmart [ Mon Jun 20, 2011 5:13 pm ] |
| Post subject: | Re: Dovecot/MySQL/Postfix - Setting up Folders |
Hi I'm with the same problem. I did follow this tutorial [1] and I can telnet to dovecot and postfix, but there isn't anything under /home/vmail - user's home where the mailboxes is supposed to be. If somebody could give me any hints ou clues, I'll appreciate. Thanks in advance. 1 - http://library.linode.com/email/postfix ... 0.04-lucid |
|
| Author: | bjl [ Mon Jun 20, 2011 7:42 pm ] |
| Post subject: | |
IIRC, folders under /home/vmail are not created until mail has been received. |
|
| Author: | iWizardPro [ Tue Jun 21, 2011 5:38 pm ] |
| Post subject: | |
If you are still looking for a solution, you need to create the account and login for the first time. Then after, in order to create folders like Trash, Spam, and so-forth you need to run the following command: Code: sudo maildirmake.dovecot /etc/skel/Maildir Make sure you replace the directories as necessary. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|