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 LOG: -------------------------------------------------------------- Aug 27 14:11:55 auth: Debug: client in: AUTH 1 PLAIN service=imap secured lip=184.106.217.69 rip=178.32.33.247 lport=143 rport=33875 Aug 27 14:11:55 auth: Debug: client out: CONT 1 Aug 27 14:11:56 auth: Debug: client in: CONT 1 AHRvb3JvcEByZXNwdWJsaWNhLmZyAG11cnBoeTI1 Aug 27 14:11:56 auth: Debug: vpopmail(toorop at respublica.fr,178.32.33.247): lookup user=toorop domain=respublica.fr Aug 27 14:11:56 auth: Info: vpopmail(toorop at respublica.fr,178.32.33.247): unknown user Aug 27 14:11:58 auth: Debug: client out: FAIL 1 user=toorop at respublica.fr Aug 27 14:11:58 auth: Debug: client in: AUTH 2 PLAIN service=imap secured lip=184.106.217.69 rip=178.32.33.247 lport=143 rport=33875 resp=AHRvb3JvcEByZXNwdWJsaWNhLmZyAG11cnBoeTI1 Aug 27 14:12:02 auth: Debug: vpopmail(toorop at respublica.fr,178.32.33.247): lookup user=toorop domain=respublica.fr Aug 27 14:12:02 auth: Info: vpopmail(toorop at respublica.fr,178.32.33.247): unknown user Aug 27 14:12:04 auth: Debug: client out: FAIL 2 user=toorop at respublica.fr ----------------------------------------------------------------- ./vuserinfo toorop at respublica.fr name: toorop passwd: $1$sOC22F4C$8.ciZmdTZkNnFLFB8EsZm0 clear passwd: clearpass comment/gecos: toorop uid: 1 gid: 0 flags: 0 gecos: toorop limits: No user limits set. dir: /home/vpopmail/domains/respublica.fr/toorop quota: NOQUOTA usage: 0% (8487 byte(s) in 3 file(s)) Any idea ? Thanks. -- Toorop ?Ils ne savaient pas que c'?tait impossible, alors ils l'ont fait.? Mark Twain
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 > > >dovecot -n is very very simplistic thanks more work itself
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 }
On Fri, 2010-08-27 at 16:15 +0200, Toorop wrote:> I'm working on a setup of dovecot 2 + netqmail + vpopmail 5.5 but auth > doesn't works :(..> #1 0x000000000041f735 in vpopmail_lookup (auth_request=0x23c4358, > callback=0x410770 <auth_request_userdb_callback>) at > userdb-vpopmail.c:99 > _module = 0x23b13f0Yeah, vpopmail keeps changing their APIs in ways I have no idea what to do to fix it. So here's my solution for now: http://hg.dovecot.org/dovecot-2.0/rev/f90590836165 You can always use vpopmail's checkpassword binary or access its database some other way (passdb/userdb sql?)
Reasonably Related Threads
- Error: service(auth): child 2212 killed with signal 11
- [AUTH] Extra @ in user and empty passwd with CRAM-MD5
- antispam - Unable to determine the destination user
- [SIEVE: Redirect] Double ">" in forwarded envelop sender address => Gmail syntax error
- vpopmail support?