Hi,
i have a big problem with dovecot...
PAM auth problem i guess, but don't know how to sort it out...
Down the log and the dovecot.conf.
Please soemone can tell me what's broken there?
Thanks a lot
*************************
HERE log
*************************
Jun 9 14:49:46 vps dovecot: pop3-login: Can't connect to auth server at
default: Resource temporarily unavailable
Jun 9 14:49:46 vps dovecot: imap-login: Timeout waiting for handshake from auth
server. my pid=14681, input bytes=0
Jun 9 14:49:46 vps dovecot: imap-login: Can't connect to auth server at
default: Resource temporarily unavailable
Jun 9 14:49:46 vps dovecot: imap-login: Timeout waiting for handshake from auth
server. my pid=14681, input bytes=0
Jun 9 14:49:46 vps dovecot: imap-login: Timeout waiting for handshake from auth
server. my pid=14682, input bytes=0
*************************
HERE my doveconf -a
*************************
# 1.0.15: /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot
log_path:
info_log_path:
log_timestamp: %Y-%m-%d %H:%M:%S
syslog_facility: mail
protocols: imap pop3 imaps pop3s
listen:
ssl_listen:
ssl_disable: no
ssl_ca_file:
ssl_cert_file: /etc/ssl/certs/dovecot.pem
ssl_key_file: /etc/ssl/private/dovecot.pem
ssl_key_password:
ssl_parameters_regenerate: 168
ssl_cipher_list:
ssl_verify_client_cert: no
disable_plaintext_auth: no
verbose_ssl: no
shutdown_clients: yes
nfs_check: yes
version_ignore: 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_user: dovecot
login_greeting: Dovecot ready.
login_log_format_elements: user=<%u> method=%m rip=%r lip=%l %c
login_log_format: %$: %s
login_process_per_connection: yes
login_chroot: yes
login_greeting_capability: no
login_process_size: 64
login_processes_count: 3
login_max_processes_count: 128
login_max_connections: 256
valid_chroot_dirs:
mail_chroot:
max_mail_processes: 1024
verbose_proctitle: no
first_valid_uid: 500
last_valid_uid: 0
first_valid_gid: 1
last_valid_gid: 0
mail_extra_groups:
mail_access_groups:
mail_privileged_group: man
default_mail_env:
mail_location: mbox:~/mail/:INBOX=/var/mail/%u
mail_cache_fields: flags
mail_never_cache_fields: imap.envelope
mail_cache_min_mail_count: 0
mailbox_idle_check_interval: 30
mail_debug: yes
mail_full_filesystem_access: no
mail_max_keyword_length: 50
mail_save_crlf: no
mail_read_mmaped: no
mmap_disable: no
mmap_no_write: no
dotlock_use_excl: no
fsync_disable: no
lock_method: fcntl
maildir_stat_dirs: no
maildir_copy_with_hardlinks: no
maildir_copy_preserve_filename: no
mbox_read_locks: fcntl
mbox_write_locks: fcntl
mbox_lock_timeout: 300
mbox_dotlock_change_timeout: 120
mbox_min_index_size: 0
mbox_dirty_syncs: yes
mbox_very_dirty_syncs: no
mbox_lazy_writes: yes
dbox_rotate_size: 2048
dbox_rotate_min_size: 16
dbox_rotate_days: 1
umask: 63
mail_drop_priv_before_exec: no
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_process_size: 256
mail_plugins:
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
mail_log_prefix: %Us(%u):
mail_log_max_lines_per_sec: 10
imap_max_line_length: 65536
imap_capability:
imap_client_workarounds: outlook-idle
pop3_no_flag_updates: no
pop3_enable_last: no
pop3_reuse_xuidl: no
pop3_lock_session: no
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
pop3_client_workarounds:
pop3_logout_format: top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
managesieve_max_line_length: 65536
managesieve_implementation_string: dovecot
sieve_storage:
sieve:
auth default:
mechanisms: plain login
realms:
default_realm:
cache_size: 0
cache_ttl: 3600
executable: /usr/lib/dovecot/dovecot-auth
user: root
chroot:
username_chars:
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
username_translation:
username_format:
master_user_separator:
anonymous_username: anonymous
krb5_keytab:
gssapi_hostname:
verbose: no
debug: yes
debug_passwords: no
ssl_require_client_cert: no
ssl_username_from_cert: no
count: 1
worker_max_count: 30
process_size: 256
passdb:
driver: pam
args: session=yes dovecot
deny: no
pass: no
master: no
userdb:
driver: passwd
args:
--------------------------
Charles Marcus
2011-Jun-09 14:32 UTC
[Dovecot] dovecot auth server problem PAM handshake imap-login
On 2011-06-09 8:55 AM, emc wrote:> ************************* > HERE my doveconf -a > *************************No - doveconf -n is what is needed, not -a...> # 1.0.15: /etc/dovecot/dovecot.confVery old - an upgrade is in order... -- Best regards, Charles
Charles Marcus <CMarcus <at> Media-Brokers.com> writes:> > On 2011-06-09 8:55 AM, emc wrote: > > ************************* > > HERE my doveconf -a > > ************************* > > No - doveconf -n is what is needed, not -a... > > > # 1.0.15: /etc/dovecot/dovecot.conf > > Very old - an upgrade is in order... >here the dovecot -n **************************** **************************** # 1.0.15: /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap pop3 imaps pop3s listen: 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 mail_privileged_group: man mail_location: mbox:~/mail/:INBOX=/var/mail/%u mail_debug: yes mbox_write_locks: fcntl 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 debug: yes passdb: driver: pam args: session=yes dovecot userdb: driver: passwd **************************** ****************************
Thanks Charles... Someone else can help me? I cannot receive any mail with my client thunderbird. Postfix send mail ok... and the mail they are received by server (i can read it inside webmin), but even squirrelmail give me a imap login error. Im running a Debian Linux 5 Thanks for some reply and help.
Timo Sirainen
2011-Jun-13 13:42 UTC
[Dovecot] dovecot auth server problem PAM handshake imap-login
On Thu, 2011-06-09 at 12:55 +0000, emc wrote:> Jun 9 14:49:46 vps dovecot: pop3-login: Can't connect to auth server at > default: Resource temporarily unavailabledovecot-auth process is hanging for some reason. Do you have any error messages from it in the logs?