Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu May 10, 2012 2:30 pm 
Offline
Junior Member

Joined: Sun May 06, 2012 2:30 pm
Posts: 25
Location: San Diego, California
The config files for Dovecot should be pretty platform independent across linux distros I'd imagine. What errors were you getting?

Wish I could be of more help as far as finding a Dovecot 1.x package but I have no experience with CentOS/yum.

Hope you get things working.


Top
   
 Post subject:
PostPosted: Wed May 16, 2012 4:03 am 
Offline
Senior Member

Joined: Thu Apr 12, 2012 6:26 am
Posts: 62
Location: Earth
Hi @Jerzzp,

First it was around the lower part of the namespace block

namespace {
inbox = yes
location =
prefix = INBOX.
separator = .
type = private
}

a delimiter was being expected. I think it was the "." after "separator"

when I got past that, then there was another issue:
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem

it was something about the URLs not being correct/files did not exist.
I eventually had to get some help.

It is working fine now.
Thanks a whole lot.

How do you now create virtual mailbox users?
from the command line?

Been searching for a visual tool, then I ran into Postfix Admin.. but Postfix admin has its own database for managing virtual domains/user mailboxes and you're supposed to configure Postfix to work with that..

but I have already created a database in MySQL for that....

How did you get around this problem?


Top
   
 Post subject:
PostPosted: Wed May 16, 2012 3:06 pm 
Offline
Junior Member

Joined: Sun May 06, 2012 2:30 pm
Posts: 25
Location: San Diego, California
Well I'd just get a tool for MySQL. I use phpMyAdmin.


Top
   
PostPosted: Sun Jul 15, 2012 11:40 pm 
Offline
Newbie

Joined: Sun Jul 15, 2012 11:36 pm
Posts: 2
I used the built-in tool to convert my config files. Things are working pretty well.

Code:
doveconf -n -c dovecot.conf-centos5 > dovecot.conf


/etc/dovecot/dovecot.conf (notice the directory structure change).
Code:
# 2.0.9: dovecot.conf-centos5
# OS: Linux 2.6.32-220.el6.i686 i686 CentOS release 6.3 (Final) ext4
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir
namespace {
  inbox = yes
  location =
  prefix = INBOX.
  separator = .
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocols = imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix                                                           
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    mode = 0600
    user = vmail
  }
  user = root
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
  driver = static
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  log_path = /home/vmail/dovecot-deliver.log
  postmaster_address = postmaster@jackmanlabs.net
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group