Current time: 04-26-2024, 01:46 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[HowTo] Replace courier with dovecot
Author Message
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #83
RE: [HowTo] Replace courier with dovecot
To make dovecot work with new encripted passwords in database modify dovecot. conf in
Quote:base_dir = /var/run/dovecot/
protocols = imap pop3
disable_plaintext_auth = no
listen=*
syslog_facility = mail
login_greeting = Dovecot ready.
mail_location = maildir:/var/mail/virtual/%d/%n
mail_privileged_group = mail
protocol imap {
}
namespace private {
prefix = INBOX.
inbox = yes
}
protocol pop3 {
pop3_uidl_format = %u-%v
}
protocol lda {
postmaster_address = postmaster@yourdomain.tld
auth_socket_path = /var/run/dovecot/auth-master
}
auth default {
mechanisms = plain login
passdb checkpassword {
args = /var/www/ispcp/engine/ispcp-dovecot-mngr
}
userdb prefetch {
}

socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
group = mail
}
}
user = root
}
plugin {
}
. Save attached file as /var/www/ispcp/engine/ispcp-dovecot-mngr and make it executable (chmod 0755 /var/www/ispcp/engine/ispcp-dovecot-mngr). restart dovecot and enjoy.
So the problem was file rigths. File were accessible only for root but dovecot runs as vmail user. Please test and confirm if possible.


Attached File(s)
.txt  ispcp-dovecot-mngr.txt (Size: 2.34 KB / Downloads: 174)
(This post was last modified: 10-03-2008 05:17 AM by sci2tech.)
10-03-2008 04:29 AM
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
RE: [HowTo] Replace courier with dovecot - sci2tech - 10-03-2008 04:29 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)