I enabled mail_debug, here is my configuration
# dovecot -n # /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.info log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s ssl_cert_file: /etc/dovecot/server.crt ssl_key_file: /etc/dovecot/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login login_greeting: Welcome to ltd. Gercon IMAP service. Ready to authenticate you. first_valid_uid: 100 last_valid_uid: 10000 first_valid_gid: 100 last_valid_gid: 10000 mail_access_groups: mail mail_privileged_group: mail mail_location: maildir:/var/mail/%d/%1n/%n mail_debug: yes maildir_stat_dirs: yes maildir_copy_with_hardlinks: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login username_format: %n@%d debug: yes debug_passwords: yes passdb: driver: passwd-file args: /etc/dovecot/dovecot.passwd passdb: driver: sql args: /etc/dovecot/dovecot-pgsql-all.conf userdb: driver: passwd-file args: /etc/dovecot/dovecot.passwd userdb: driver: prefetch userdb: driver: sql args: /etc/dovecot/dovecot-pgsql-all.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master:
dovecot.log tail:
dovecot: 2008-09-02 16:14:12 Info: auth(default):
passwd-file(dukenukem@vpcit.ru): unknown user
dovecot: 2008-09-02 16:14:12 Info: auth(default): sql(dukenukem@vpcit.ru):
query: SELECT <...>
dovecot: 2008-09-02 16:14:12 Info: auth(default): client out: OK 2
user=<..>
dovecot: 2008-09-02 16:14:19 Info: auth(default): client in: AUTH 1
PLAIN service=POP3 lip=91
.192.168.241 rip=91.192.169.225
resp=AGZjc2VuX3ZwQHZwY2l0LnJ1ADEwMzMzOA==
And that's it.
Yours faithfully, Andrey
On Tuesday 02 September 2008 15:41:08 Steffen Kaiser wrote:
On Tue, 2 Sep 2008, Андрей wrote:
First, enable mail_debug and show us:
a) output of dovecot -n b) the log lines when delivering a new message.
Bye,