стоит сабж. аутенфицирую юзеров через систему.
вот логи что пишет.
не могу натсроить аутенфикацию. как не одно выскакивает так другое ovecot: Sep 29 14:55:33 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=192.168.1.10 rip=192.168.1.2 resp=AHBlcmxpawBhZDBzNXM=
dovecot: Sep 29 14:55:33 Info: auth(default): passwd(perlik,192.168.1.2): lookup
dovecot: Sep 29 14:55:33 Info: auth(default): client out: OK 1 user=perlik
dovecot: Sep 29 14:55:33 Info: auth(default): master in: REQUEST 13 50152 1
dovecot: Sep 29 14:55:33 Info: auth(default): passwd(perlik,192.168.1.2): lookup
dovecot: Sep 29 14:55:33 Info: auth(default): master out: USER 13 perlik system_user=perlik uid=1001 gid=0 home=/home/perlik
dovecot: Sep 29 14:55:33 Info: pop3-login: Login: user=<perlik>, method=PLAIN, rip=192.168.1.2, lip=192.168.1.10
dovecot: Sep 29 14:55:33 Info: POP3(perlik): Effective uid=1001, gid=0
dovecot: Sep 29 14:55:33 Info: POP3(perlik): mbox: data=/var/mail/perlik
dovecot: Sep 29 14:55:33 Info: POP3(perlik): mbox: INBOX defaulted to /var/mail/perlik/inbox
dovecot: Sep 29 14:55:33 Info: POP3(perlik): mbox: root=/var/mail/perlik, index=/var/mail/perlik, inbox=/var/mail/perlik/inbox
dovecot: Sep 29 14:55:33 Error: POP3(perlik): mbox root directory can't be a file: /var/mail/perlik (http://wiki.dovecot.org/MailLocation/Mbox)
dovecot: Sep 29 14:55:33 Error: POP3(perlik): mkdir_parents(/var/mail/perlik/.imap/INBOX) failed: Not a directory
dovecot: Sep 29 14:55:33 Error: POP3(perlik): stat() failed with mbox file /var/mail/perlik/inbox: Not a directory
dovecot: Sep 29 14:55:33 Error: POP3(perlik): Couldn't init INBOX: Internal error occurred. Refer to server log for more information. [2007-09-29 14:55:33]
dovecot: Sep 29 14:55:33 Info: POP3(perlik): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0
вот мой конфиг
base_dir = /var/run/dovecot/
protocols = pop3 imap
protocol pop3 {
listen = *:110
}
protocol imap {
listen = *:143
}
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
#ssl_cert_file = /etc/ssl/certs/dovecot.pem
#ssl_key_file = /etc/ssl/private/dovecot.key
ssl_disable = yes
disable_plaintext_auth = no
login_greeting = Welcome to IMAP/POP3 server
mail_location = mbox:/var/mail/%u
mail_debug = yes
first_valid_uid = 0
first_valid_gid = 0
pop3_uidl_format = %m
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
perlik@router$ cat /usr/local/etc/dovecot.conf
base_dir = /var/run/dovecot/
protocols = pop3 imap
protocol pop3 {
listen = *:110
}
protocol imap {
listen = *:143
}
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot.log
#ssl_cert_file = /etc/ssl/certs/dovecot.pem
#ssl_key_file = /etc/ssl/private/dovecot.key
ssl_disable = yes
disable_plaintext_auth = no
login_greeting = Welcome to IMAP/POP3 server
mail_location = mbox:/var/mail/%u
mail_debug = yes
first_valid_uid = 0
first_valid_gid = 0
pop3_uidl_format = %m
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
# Разделенный пробелами список, используемых механизмов аутентификации:
# plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
mechanisms = plain
# passdb sql {
# args = /usr/local/etc/dovecot-mysql.conf
#}
#
#userdb sql {
# args = /usr/local/etc/dovecot-mysql.conf
# }
passdb passwd {
args = /etc/passwd
}
userdb passwd {
args = /etc/passwd
}
user = root
}