Displaying 20 results from an estimated 40000 matches similar to: "SQL field format for digest-md5?"
2013 Feb 19
1
Dovecot auth works when tested with doveadm, but fails with Postfix
I have three postfix 2.9.5 servers: chombo, rush, yoshi. Chombo relays
to rush and yoshi for outbound email. Outbound relay requires SASL
authentication. Rush and yoshi run Dovecot 2.1.12 servers with simple
passwd-file backends.
If I create a new password hash for chombo's user, houseloki, on either
rush or yoshi:
# doveadm pw -u houseloki -p <password>
{CRAM-MD5}...
Then I
2008 Nov 19
2
CRAM-MD5 and proxy_maybe
When using proxy_maybe CRAM-MD5 authentication fails when the connection
is proxied. Is this expected behavior? Is proxy_maybe too simplified for
this case?
We're using SQL so I could rewrite the query with IFs to fake
proxy_maybe and return the password as NULL and nologin as Y, but if it
works that way couldn't it work with proxy_maybe?
This works:
password_query = \
SELECT NULL AS
2019 Jun 19
2
Help on CRAM-MD5
On 19.6.2019 7.48, Alexander Dalloz via dovecot wrote:
> Am 19.06.2019 um 00:04 schrieb Jorge Bastos via dovecot:
>> Howdy,
>>
>> I'm using dovecot and mysql users, and i'm creating the password with:
>>
>> ENCRYPT('some-passwd',CONCAT('$6$', SUBSTRING(SHA(RAND()), -16)))
>>
>> So far so good, everything's fine.
>>
2008 Dec 25
1
DIGEST-MD5 user/realm mismatch with Postfix
This is a follow-on to the "SQL field format for digest-md5?" thread.
After some additional debugging, I've found the problem is a mismatch in
what Dovecot expects and Postfix uses for the user and realm.
For a username "user at example.com" and password "sekret", Dovecot expects:
username = "user"
realm = "example.com"
but Postfix sends
2019 Jun 18
4
Help on CRAM-MD5
Howdy,
I'm using dovecot and mysql users, and i'm creating the password with:
ENCRYPT('some-passwd',CONCAT('$6$', SUBSTRING(SHA(RAND()), -16)))
So far so good, everything's fine.
Today saw that i didn't enabled CRAM-MD5, but if I do, and the (at least)
IMAP client (roundcube/thunderbird/etc) issues CRAM-MD5 it doesn't
authenticate.
What am i doing wrong, or
2019 Feb 12
6
Using SHA256/512 for SQL based password
I have trying to find how to set the dovecot-sql.conf for using
SHA256/512.? I am going to start clean with the stronger format, not
migrate from the old MD5.? It seems all I need is:
driver = mysql connect = host=/var/lib/mysql/mysql.sock dbname=postfix
user=postfix password=$Postfix_Database_Password default_pass_scheme =
SHAxxx-CRYPT # following should all be on one line. password_query =
2017 Feb 01
2
Dovecot auth-worker error after cram-md5 auth
This is debug log files in syslog:
Feb 1 07:10:25 vps342401 dovecot: auth: Debug: client passdb out:
CONT#0112#011PDAxODg3ODIzMTUwMzgxNzMuMTQ4NTkyOTQyNUB2cHMzNDI0MDEub3ZoLm5ldD4=
Feb 1 07:10:26 vps342401 dovecot: auth: Debug: client in: CONT<hidden>
Feb 1 07:10:26 vps342401 dovecot: auth-worker(27069): Debug: sql(
do_not_reply at example.com,12.173.211.32): query: SELECT email as user,
2017 Feb 01
2
Dovecot auth-worker error after cram-md5 auth
I always restart dovecot after change config. ;) Sure, I commented out
added two lines by me, restarted dovecot and here it is:
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.13.0-100-generic x86_64 Ubuntu 14.04.5 LTS
auth_mechanisms = plain login cram-md5
listen = *,[::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_max_userip_connections = 100
mail_plugins = " quota"
2007 Aug 28
2
quota imap_quota
Hello,
I've been frying my brain with quota and mysql... Here is what I do:
protocol imap {
mail_plugins = quota imap_quota
imap_client_workarounds = outlook-idle delay-newmail
}
plugin {
# 10 MB + 1000 messages quota limit
# quota = maildir:storage=10240:messages=1000
driver = mysql
connect = host=/var/lib/mysql/mysql.sock user=mail_admin
password=XXXXXXXX dbname=mail
2017 Feb 01
2
Dovecot auth-worker error after cram-md5 auth
It still use:
passdb {
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
When I delete above and delete "cram-md5" in auth_mechanisms it still not
working.
2017-02-01 8:45 GMT+01:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
> You are probably wanting to do
> passdb {
> driver = passwd-file
> args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
2017 Feb 01
3
Dovecot auth-worker error after cram-md5 auth
Default it was: "auth_mechanisms = plain login" and I added cram-md5.
After restart all work perfectly. But after I added:
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
I can't set default lines because I got error. Please tell me which lines
should be changed to resolve this issue. Should I remove "login" from
auth_mechanism
2011 Aug 07
1
SQL passdb lookups not working
Hello everyone,
I'm trying to make dovecot do user authentication against a SQL
database. The passwords (managed by Django) are stored as salted SHA1
encoded in hex. I monkey patched Django's password method so that the
password hash is made with <password><salt> (Django does
<salt><password>, the patched method was verified to return same value
as
2017 Feb 01
3
Dovecot auth-worker error after cram-md5 auth
When I used backup copy of the dovecot.conf file I have this same error. So
I think that maybe something was written to database? I really would point
out that I only added
passdb {
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
and comment out from above block default lines
#args = /etc/dovecot/dovecot-sql.conf
#driver = sql
And in auth_mechanisms add line
2007 Dec 13
2
Dependency error for perl-Digest-Perl-MD5
I enabled rpmforge on a fresh install as per the centos wiki with priorities and attempted to execute 'yum install perl-Digest-Perl-MD5' and received the following:
[root at test ~]# yum install perl-Digest-Perl-MD5
Loading "installonlyn" plugin
Loading "priorities" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local
2019 Jun 20
5
Help on CRAM-MD5
Hello,
The world is not black or white.
Yes CRAM-MD5 is old and his successor SCRAM-XXXXXX is not widely
available/implemented which is sad.
For your need, use TLS and forget about it.
Thunderbird is conservative. If you don't configure TLS or TLS is not
available, it try to use something that not expose the password.
There is plenty of context where TLS is not possible/desirable.
And
2017 Oct 27
3
Need help in understanding auth digest-md5 and realm
Hello dovecot community,
I've setup dovecot and need a bit help in understanding the auth
mechanism digest-md5 and realm
in 10-auth.conf I got
auth_mechanisms = plain login digest-md5 cram-md5 apop
#auth_realms =
#auth_default_realm =
So i got empty realms.
Auth normally works fine and clients can auth with mechanism digest-md5
and I see the following log entries:
dovecot: auth: Debug:
2017 Oct 28
2
Need help in understanding auth digest-md5 and realm
On 27.10.2017 20:35, Aki Tuomi wrote:
>> On October 27, 2017 at 6:00 PM Admin Beckspaced <admin at beckspaced.com> wrote:
>>
>>
>> Hello dovecot community,
>> ...
>>
>> If someone could shed some light on this I would be more than grateful ;)
>>
>> Thanks & greetings
>> Becki
> We actually discovered that Android has a bug
2015 Jul 07
3
SASL DIGEST-MD5 NT_STATUS_INVALID_PARAMETER
I've googled and I believe that SASL method DIGEST-MD5 is supported and
I see it in the samba startup, but it doesn't work.
ldapsearch -Y DIGEST-MD5 -h dc03.mediture.dom
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Operations error (1)
additional info: SASL:[DIGEST-MD5]: Failed to start authentication backend: NT_STATUS_INVALID_PARAMETER
[root at dc03 ~]# samba
2005 May 04
4
Yum Amavisd Update fails Digest::MD5 error
Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22
required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33
(http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
Downloaded it untared it
perl ./Makefile.PL
...error missing Digest::Base
Download from CPAN
perl ./Makefile.PL
make
make test
make install
Back to Digest::MD5
perl ./Makefile.PL
2017 Feb 01
2
Dovecot auth-worker error after cram-md5 auth
Is there any strange thing in these config lines?
2017-02-01 9:40 GMT+01:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
> doveadm log errors can be helpful too
>
>
> On 01.02.2017 10:25, Poliman - Serwis wrote:
> > I can check each logs, I have root privileges.
> >
> > 2017-02-01 9:04 GMT+01:00 Aki Tuomi <aki.tuomi at dovecot.fi>:
> >
> >> Can