[Dovecot] Courier

kosovo73 at web.de
Tue, 31 Mar 2009 11:58:01 -0000

Hello,


For months I have the following configuration in run.
Postfix with Mysql and Postfixadmin, Courier Imap + Pop

I get a new server and, therefore, would like to change on Dovecot.
The installation has also clapped without problems and the configuration
has run so far also without defects. If I liked to call away the emails, I
always get the announcement Internal Login failure.

/usr/local/etc/dovecot.conf
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log
log_timestamp = "%b %d %H:%M:%S "
ssl_disable = yes
auth_verbose=yes
auth_debug=yes
auth_debug_passwords=yes
mail_debug=yes

protocols = imap imaps pop3 pop3s
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/usr/local/virtual/%d/%n
mail_access_groups = virtual
first_valid_uid = 1004
first_valid_gid = 1005
protocol imap {
}

protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}
auth default {
mechanisms = digest-md5 plain
passdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
userdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
user = root
}

/usr/local/etc/dovecot-sql.conf
driver = mysql
connect = dbname=postfix user=postfix host=localhost password=********
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT maildir, 106 AS uid, 106 AS gid FROM mailbox WHERE
username = '%u'


server1:/etc/init.d# ls -l /usr/local/virtual
insgesamt 8
drwx--S--- 5 virtual virtual 4096 26. Aug 2008  silviosiefke.de
drwx--S--- 3 virtual virtual 4096 25. Aug 2008  silvio-siefke.de

server1:/etc/init.d# ls -l /usr/local/virtual/silviosiefke.de
insgesamt 12
drwx--S--- 15 virtual virtual 4096  4. Feb 13:37 info
drwx--S--- 12 virtual virtual 4096 13. Dez 11:56 listen
drwx--S--- 12 virtual virtual 4096 13. Dez 11:55 webmaster

server1:/etc/init.d# ls -l /usr/local/virtual/silviosiefke.de/webmaster
insgesamt 76
drwx--S--- 2 virtual virtual  4096  8. Dez 16:26 courierimaphieracl
-rw-r--r-- 1 virtual virtual   175 31. M?r 11:30 courierpop3dsizelist
drwx--S--- 2 virtual virtual 28672 31. M?r 11:30 cur
drwx--S--- 2 virtual virtual 20480 31. M?r 11:30 new
drwx--S--- 2 virtual virtual  4096 13. Dez 11:55 sqwebmail-curcache
-rw------- 1 virtual virtual     1 13. Dez 11:55 sqwebmail-curcache.nfshack
-rw------- 1 virtual virtual     7  8. Dez 16:26 sqwebmail-sentstamp
-rw------- 1 virtual virtual     1 13. Dez 11:55 sqwebmail-timestamp
drwx--S--- 2 virtual virtual  4096 31. M?r 11:30 tmp


Log:
dovecot: 2009-03-31 13:50:16 Info: auth(default): client in: AUTH	1
PLAIN	service=pop3	lip=212.43.81.97	rip=78.50.83.149	lport=110	rport=2740
respdovecot: 2009-03-31 13:50:16 Info: auth(default): client out: CONT	1
dovecot: 2009-03-31 13:50:16 Info: auth(default): client in: CONT	1
gklshjksdhshghsgslgls
dovecot: 2009-03-31 13:50:16 Info: auth-worker(default):
sql(webmaster at silviosiefke.de,78.50.83.149): query: SELECT password FROM
mailbox WHERE username = 'webmaster at silviosiefke.de'
dovecot: 2009-03-31 13:50:16 Info: auth(default): client out: OK	1
user=webmaster at silviosiefke.de
dovecot: 2009-03-31 13:50:16 Info: auth(default): master in: REQUEST	2	20275	1
dovecot: 2009-03-31 13:50:16 Info: auth-worker(default):
sql(webmaster at silviosiefke.de,78.50.83.149): SELECT maildir, 1000 AS uid,
1000 AS gid FROM mailbox WHERE username = 'webmaster at silviosiefke.de'
dovecot: 2009-03-31 13:50:16 Info: auth(default): master out: USER	2
webmaster at silviosiefke.de	maildir=silviosiefke.de/webmaster/	uid=1000
gid=1000
dovecot: 2009-03-31 13:50:16 Info: pop3-login: Login:
user=<webmaster at silviosiefke.de>, method=PLAIN, rip=78.50.83.149,
lip=212.43.81.97
dovecot: 2009-03-31 13:50:16 Info: POP3(webmaster at silviosiefke.de):
Effective uid=1000, gid=1000, homedovecot: 2009-03-31 13:50:16 Info:
POP3(webmaster at silviosiefke.de):
maildir: data=/usr/local/virtual/silviosiefke.de/webmaster
dovecot: 2009-03-31 13:50:16 Info: POP3(webmaster at silviosiefke.de):
maildir++: root=/usr/local/virtual/silviosiefke.de/webmaster, index=,
control=, inbox=/usr/local/virtual/silviosiefke.de/webmaster
dovecot: 2009-03-31 13:50:16 Info: POP3(webmaster at silviosiefke.de):
Couldn't open INBOX top=0/0, retr=0/0, del=0/0, size=0


Does somebody have an idea what it can lie with?



Greeting
Silvio Siefke