[Dovecot] Changes in authentication's???
Boris Ivanov
boris.ivanov at gmail.com
Thu May 10 12:01:04 EEST 2007
HI
I use dovecot-1.0.r17 on FreeBSD scat.setcom 6.2-RELEASE.
Recently authentification stop working.
May 10 02:56:02 scat dovecot: auth(default): passwd(test,127.0.0.1): unknown
user
May 10 02:56:02 scat dovecot: auth(default): client out: OK 1
user=test User= &:/home/test:/tmp/email/bin/nonexistance=
May 10 02:56:02 scat dovecot: auth(default): master in: REQUEST 23
43856 1
May 10 02:56:02 scat dovecot: auth(default): passwd(test,127.0.0.1): unknown
user
May 10 02:56:02 scat dovecot: auth(default): master out: USER 23
test uid=1004 gid=31415 home=/home/test
May 10 02:56:02 scat dovecot: imap-login: Login: user=<test>, method=PLAIN,
rip=127.0.0.1, lip=127.0.0.1, secured
May 10 02:56:02 scat dovecot: IMAP(test): Effective uid=1004, gid=31415
May 10 02:56:02 scat dovecot: IMAP(test): mbox: data=/tmp/email/mbox/s/test
May 10 02:56:02 scat dovecot: IMAP(test): mbox: INBOX defaulted to
/tmp/email/mbox/s/test/inbox
May 10 02:56:02 scat dovecot: IMAP(test): mbox: root=/tmp/email/mbox/s/test,
index=/tmp/email/mbox/s/test, inbox=/tmp/email/mbox/s/test/inbox
I generate passwd using next script:
etc_path = /usr/local/www/data/Email/RefCont/etc
pwd_mkdb -d ${etc_path} ${etc_path}master.passwd
pw useradd -V ${etc_path} -n $1 -g mailusers -s /tmp/email/bin/nonexistance
echo "$2" | pw usermod -V ${etc_path} -n $1 -h 0
My config:
# /usr/local/etc/dovecot.conf
protocols: imap pop3
listen(default): *:10143
listen(imap): *:10143
listen(pop3): *:10110
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
login_process_size: 64
verbose_proctitle: yes
first_valid_uid: 0
first_valid_gid: 0
mail_extra_groups: mail
default_mail_env: mbox:/tmp/email/mbox/s/%u
mail_location: mbox:/tmp/email/mbox/s/%u
mail_debug: yes
mbox_min_index_size: 100000
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
imap_client_workarounds(pop3): outlook-idle
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
mechanisms: plain login
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: pam
passdb:
driver: passwd
passdb:
driver: passwd-file
args: /usr/local/www/data/Email/RefCont/etc/master.passwd
userdb:
driver: passwd
userdb:
driver: passwd-file
args: /usr/local/www/data/Email/RefCont/etc/passwd
Whats wrong? Can it be fixed?
Thanks
--
Yours
Boris
More information about the dovecot
mailing list