Re: [contact] Problem with auth in your qmail toaster

592 views
Skip to first unread message

Grzegorz Dajuk

unread,
Nov 19, 2010, 1:06:16 PM11/19/10
to qmail-...@googlegroups.com, roberto.p...@sagredo.eu
Hello,


> Hello Grzegorz,
> first of all I ask you to use pure txt for your reply :-) as I see the
> html tags in the msg that drupal forwarded me
ok. sorry.

>
>> I have machine with lastest Debian Stable, and I'am just going
>> with your steps to configure the toaster, but I stopped in testing dovecot
>> point. I try to telnet to pop3 and login-in. Unfortunetely I get the
>> following error:</p>
>> <p>
>> Nov 19 16:12:03 auth: Info:
>> vpopmail(ad...@domain.com,153.19.129.171): unknown user</p>
>> <p>
>> I double check the 10-master.conf and there is a correct entry:</p>
>> <p>
>> default_internal_user = vpopmail</p>
>> <p>
>> &nbsp;</p>
>> <p>
>> So... what can it be?</p>
>
> It seems that that the vpopmail driver is not working.. Did you
> enabled the vpopmail driver? Inside 10-auth.conf you have to comment
> out the line related to vpopmail:
> !include auth-vpopmail.conf.ext # commented out
> and comment
> # !include auth-system.conf.ext
>
> Note that somewhere in my blog I called that file auth-vpopmail.ext
> and not auth-vpopmail.conf.ext. Sorry for that..
>
> This is my auth-vpopmail.conf.ext file
>
> passdb {
> driver = vpopmail
> }
>
> userdb {
> driver = vpopmail
> args = quota_template=quota_rule=*:backend=%q
> }
>
Yes, I add it correctly. And I have the same files.

>> BTW: How does it work? I saw, that in database are stored
>> logins/password, but how does vpopmail/dovecot read from it? I do not
>> configure any connection between them in any files ... i suppose ;-)..</p>
>
> if you configured dovecot in this way, the vpopmail driver tells
> dovecot to look into /home/vpopmail/etc/vpopmail.mysql for the access
> to mysql DB.
Yes, This file look's good too. But My password has characters ( " ; ] )
Hope it is not a problem?

>
> Is the connection via smtp ok?
If I testing via telnet.. it looks good. But if I configure it in my MUA
- it doesn;t work ;/

Grzegorz Dajuk

unread,
Nov 19, 2010, 2:18:24 PM11/19/10
to qmail-...@googlegroups.com, Roberto Puzzanghera
I have dabug mode enabled: Here's the log when i trying to get email by
telnet.
----
Nov 19 20:03:19 auth: Debug: auth client connected (pid=21634)
Nov 19 20:03:46 auth: Debug: client in: AUTH 1 PLAIN
service=pop3 secured lip=127.0.0.1 rip=127.0.0.1 lport=110
rport=59335 resp=AGFkbWluQG1rc2Zsb3RhLnBsADg4MTM0
Nov 19 20:03:46 auth: Debug: Loading modules from directory:
/usr/local/dovecot/lib/dovecot/auth
Nov 19 20:03:46 auth: Debug: vpopmail(ad...@mydomain.com,127.0.0.1):
lookup user=admin domain=mydomain.com
Nov 19 20:03:46 auth: Info: vpopmail(ad...@mydomain.com,127.0.0.1):
unknown user
Nov 19 20:03:48 auth: Debug: client out: FAIL 1
user=ad...@mydomain.com
----


All files in conf.d/* have the following perms:
chmod 644
chown root.staff

File /home/vpopmail/etc/vpopmail.mysqlhas perms:
chmod 640
chown vpopmail.vchkpw


How to check sending the password in PLAIN TEXT?

Grzegorz Dajuk

unread,
Nov 22, 2010, 4:37:57 AM11/22/10
to Roberto Puzzanghera, qmail-...@googlegroups.com
Also, when i'am trying to send an email using telnet from server, where
qmail is working. the is no problem. But when I'am trying to send the
same email in the same way (by telenet) from outernet, I got the
following error:

553 5.7.1 sorry, that domain isn't in my list of allowed rcpthosts (chkuser)


Please answer for this, and previous email if you can Roberto... or mabe
someone else have some idea how to fix it?
Thank you ...


--
Pozdrawiam
Grzegorz Dajuk
Administrator Systemowy

Jaroslav

unread,
Nov 22, 2010, 4:39:04 AM11/22/10
to qmail-...@googlegroups.com
Maybe you should enable Outgoing mail autentification for example in outlook?
so it does pop3 before smtp

Grzegorz Dajuk

unread,
Nov 22, 2010, 4:58:35 AM11/22/10
to qmail-...@googlegroups.com
When i'am trying to send from thunderbird

use username and pass: (secure auth: no)
Sending of message failed.
An error occurred sending mail: Unable to authenticate to SMTP server
mail.domain.com. It does not support authentication (SMTP-AUTH) but you
have chosen to use authentication. Uncheck 'Use name and password' for
that server or contact your service provider.

use username and pass: (secure auth: yes)
Sending of message failed.
An error occurred sending mail: Unable to authenticate to SMTP server
mail.domain.com. It does not support authentication (SMTP-AUTH) but you
have chosen to use authentication. Uncheck 'Use name and password' for
that server or contact your service provider.


use username and pass: (secure auth: yes, STARTTLS)
Sending of message failed.
An error occurred sending mail: Unable to establish a secure link with
SMTP server mail.domain.com using STARTTLS since it doesn't advertise
that feature. Switch off STARTTLS for that server or contact your
service provider.

use username and pass: (secure auth: yes, SSL/TLS)
Can't use this option, because qmail is not listening on 465 port.

On 22.11.2010 10:39, Jaroslav wrote:
> Maybe you should enable Outgoing mail autentification for example in
> outlook?
> so it does pop3 before smtp
>
> On 22 November 2010 11:37, Grzegorz Dajuk <grze...@dajuk.net

Reply all
Reply to author
Forward
0 new messages