[Dovecot] vpopmail auth always return "unknown user"

fakessh fakessh at fakessh.eu
Sat Aug 28 04:20:59 EEST 2010


On Fri, 27 Aug 2010 16:15:42 +0200, Toorop <toorop at toorop.fr> wrote:
> Hi,
> 
> I'm working on a setup of dovecot 2 + netqmail + vpopmail 5.5 but
> auth doesn't works :(
> 
> dovecot -n
> # 2.0.1: /etc/dovecot/dovecot/dovecot.conf
> # OS: Linux 2.6.35.1-rscloud x86_64 Ubuntu 10.04.1 LTS
> auth_debug = yes
> auth_debug_passwords = yes
> auth_mechanisms = plain login cram-md5
> auth_verbose = yes
> auth_verbose_passwords = plain
> disable_plaintext_auth = no
> log_path = /var/log/dovecot/dovecot.log
> login_greeting = Dovecot ready.
> mail_debug = yes
> passdb {
>   driver = vpopmail
> }
> ssl_cert = </etc/ssl/certs/dovecot.pem
> ssl_key = </etc/ssl/private/dovecot.pem
> userdb {
>   driver = vpopmail
> }
> verbose_ssl = yes
> 
> 


you send my dovecot -n for inspiration
consult the archive of the ml
it's full documented


[root at r13151 ~]# /usr/sbin/dovecot -n
# 2.0.0: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32.2-xxxx-grs-ipv4-32 i686 CentOS release 5.5 (Final) 
auth_mechanisms = plain login
base_dir = /var/run/dovecot/
listen = [::]
log_path = /var/log/maillog
log_timestamp = %Y-%m-%d %H:%M:%S
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = comparator-i;octet
comparator-i;ascii-casemap fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex
imap4flags copy include variables body enotify environment mailbox date
spamtest spamtestplus virustest
passdb {
  driver = pam
}
plugin {
  plugin = autocreate managesieve  sieve
  sieve = ~/.dovecot.sieve
  sieve_before = /var/sieve-scripts/roundcube.sieve
  sieve_dir = ~/sieve
  sieve_global_path = whatever
}
protocols = sieve imap pop3
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-master {
    mode = 0666
  }
  vsz_limit = 256
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    address = *
    port = 993
  }
  process_limit = 128
  vsz_limit = 64
}
service managesieve-login {
  inet_listener managesieve-login {
    address = *
    port = 2000
  }
  process_limit = 128
  vsz_limit = 64
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    address = *
    port = 995
  }
  process_limit = 128
  vsz_limit = 64
}
ssl_ca = </etc/pki/tls/certs/root.crt
ssl_cert = </etc/pki/tls/certs/r13151.ovh.net.crt
ssl_key = </etc/pki/tls/private/r13151.ovh.net.key
ssl_verify_client_cert = yes
userdb {
  driver = passwd
}
version_ignore = yes
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
  imap_max_line_length = 65536
  mail_plugins = autocreate
}
protocol pop3 {
  mail_plugins = autocreate
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
}
protocol lda {
  hostname = r13151.ovh.net
  mail_plugins = autocreate  sieve
  postmaster_address = postmaster at fakessh.eu
  sendmail_path = /usr/lib/sendmail
}
protocol sieve {
  managesieve_implementation_string = dovecot
  managesieve_logout_format = bytes ( in=%i : out=%o )
  managesieve_max_line_length = 65536
}




More information about the dovecot mailing list