Displaying 20 results from an estimated 10000 matches similar to: "General question for Dovecot under OpenBSD"
2012 Apr 28
2
help with AES_DECRYPT and password lookup - mysql password_query
Hello-
Sorry if this is a noob question, but I cant seem to get my password_query to
work with dovecot + mysql. Im using 'Password verification by SQL server' at:
http://wiki2.dovecot.org/AuthDatabase/SQL
trying to modify it to work with my encrypted passwords in the DB.
Im using the following which isnt working:
password_query = SELECT NULL AS password, \
'Y' as
2012 Oct 11
1
iterate_query does not use userdb - mail_location not found
Hi dovecot-comminity,
can't get iterate_query working. doveadm cannot find mail_location
which comes from userdb query. dovecot itself works fine with sql.
Whats wrong? please help:
[root at glen exim]# /opt/dovecot/bin/doveadm search -A mailbox Trash savedbefore 90d
doveadm(uwe at mitmachnet.de): Error: user uwe at mitmachnet.de: Initialization failed:
2010 Sep 25
1
password_query, user_query and unrelated userid and emails
Let's say one has a SQL table with following fields for John Doe:
login: u0007
password: {SHA1}...
mailhome: /path/to/joeshome
email: john.doe at example.com
To log in, for internal policy reasons, John MUST make use of his userid "u0007".
So, in the password_query, one would need something like:
... WHERE login = '%u' ...
On the other hand, for receiving mail thru
2007 Apr 23
2
Auth MD5 problem
Hi,
I am using dovecot 1.0 with squirrelmail. But when i use $imap_auth_mech
= 'digest-md5' instead of plain, dovecot throws this line:
dovecot: Apr 23 09:16:07 Info: imap-login: Aborted login: user=<azher>,
method=DIGEST-MD5, rip=127.0.0.1, lip=127.0.0.1, secured
and user can't login. Plz suggest.
Regards
-Azher
Settings:
======
disable_plaintext_auth = yes
auth
2010 Dec 16
2
dovecot 2.0.8 LDA with MYSQL issues
Hi, after deciding to use Dovecot 2.0.8 as a postfix LDA using mysql DB I'm
running into some issues. I started to follow,
http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL but noticed that
the auth settings on the config changed, after looking through the dovecot
wiki I think I have that issue fixed. However I still can't get the SQL part
to work right, below is what I have on the
2013 Nov 12
1
how to make quota per user ??
I use dovecot version 1.2.15 and i put quota for all users , now i want to
give more size for some emails , i already added the quota to user database
, and i added the queries from http://wiki.dovecot.org/Quota/1.1
MySQL:
user_query = select uid, gid, home, \
concat('*:bytes=', quota_bytes) as quota_rule \
from users where userid = '%u'
# MySQL with userdb prefetch: Remember
2006 Dec 20
1
Odd Error: Expecting '='
Hi all,
I'm working on setting up dovecot on a test system. When I try to
start dovecot I get this error:
Fatal: Error in configuration file /etc/dovecot/dovecot.conf line
504: Expecting '='
Line 504 in my config is this:
auth default {
passdb sql {
args = /usr/local/etc/dovecot-sql.conf
}
userdb sql {
args = /usr/local/etc/dovecot-sql.conf
2011 Dec 29
1
Trouble with proxy_maybe and auth_default_realm
Hello,
I'm using proxy_maybe and auth_default_realm. It seems that when a user
logs in without the domain name, relying on auth_default_realm, and the
"host" field points to the local server, I get the Proxying loops to
itself error. It does work as expected - log on to the local server
without proxying, if the user does include the domain name in the login.
(IP's and
2009 May 17
2
Problem with domain part in user_query in dovecot 1.1.14
Hi.
I'm using dovecot 1.1.14 with pgsql.
I tried to configure dovecot to get the domain part in user_query by specifying different variants of auth_username_format variable such as %Lu, %Lu@%Ld, %Lu-at-%Ld and so on... So dovecot gets domain part in password_query, but not in user_query. I noticed the username is changed like this: kostas at mgupb.net->kostas in log. For some reason it
2009 Dec 30
2
Issue Authenticating to a new dovecot-postfix installation
I have installed dovecot-postfix and postfixadmin on an Ubuntu 9.10
machine.
The userdb and passdb are both mysql.
If I set up a user in postfixadmin they are able to send.
I can successfully telnet into the server remotely by name on 110 and 25.
I'm not looking for any authentication encryption/ssl any of that, just
POP3/SMTP.
When I telnet into 110 I can enter a username with user
2019 Jan 04
1
Unexpected accounts showing up in replication status (doveadm replicator status '*')
I have a replication set up with two dovecot 2.3.4 servers.
Messages appear to be replicating fine between them, however there is an
oddity when I run doveadm replicator status '*' and I'm worried work is
being carried out needlessly.
Both machines have identical configs and have a mysql backend for
username/passwords.? Both machines point to the same mysql server and
same
2011 Mar 16
1
dovecot 1.2 quota with local users
Hello,
I got problem with setting quota from mysql for local users. In database
are only information with quota. Password are store in passwd/shadow.
My database have only simple info like in wiki description. Table created
with:
CREATE TABLE quota (
username varchar(100) not null,
bytes bigint not null default 0,
messages integer not null default 0,
primary key (username)
);
In
2005 Mar 30
3
[ #14832]: Capital letters in POP3 logins
????????????,
??? ????????????? ????????? ?????????, ??????? ?? ???????? ?? ????.
???? ??????, ???????????? ?? support at majordomo.ru ? ?????
"Capital letters in POP3 logins",
???????? ???????? ???????? ???????-?????????? Majordomo.ru.
??? ??????? ? ????????? ?????.
?????? ?????? ???????? ????? 14832 , ???? ? ?????????? ??
?????? ??????????? ? ???? ?? ??????? ???????,
2005 Oct 11
3
FreeBSD Ports Issues
Installed dovecot for the first time, using the FreeBSD port. Found 2 issues
with the port, and I've only been able to resolve one of them.
First of all, the port, (or perhaps dovecot) does work with mysql 4.1
encryption. I had to create a user with access to the mysql table, then do
'set password = old_password('password');' in order to get dovecot to talk
to the server.
The
2019 Aug 29
1
User / Pass SQL queries
Hi all,
Is there any reason Dovecot shows the 'user' variable (ie:
user at domain.tld) being obtained in the password query and not the (more
logical) user query?
Thanks,
Michael
2010 Jul 19
1
Unknown column username in where clause
Version: Dovecot 2.0 rc2
I'm testing Dovecot with MySQL quotas but I get always this error for
incoming mails:
tux dovecot: lmtp(4928): Error: user testuser at dlutt.de: Auth USER lookup failed
tux dovecot: auth: Error: mysql: Query failed, retrying: Unknown column 'username' in 'where clause'
I dont' know where the field "username" should come from because I
2004 Jul 20
2
Newbie question: configuration for virtual users
Hi!
I'm looking forward to deploying dovecot as an IMAP server. I did some
research into the various options and it looks like dovecot is the right
daemon for me. I'll be using it with Exim.
I am running a few tens of users on my server, most of them small
numbers of people part of a small company, e.g. example.com.
At present I have exim delivering to mbox in each virtual user's
2017 Oct 10
1
Mail Alias Stores in mySQL Not working
This apparently was a problem that i was not aware since i redid my mail server configuration to make use of Postfixadmin. I have update the conf files using the postfix document fromthe down load. The download document seems to be fpr an early version of dovecot (I am using 2.2.4) as it focuse of dovecot.conf which is now broken into file in the conf.d subdirectory I get "dovecot:
2017 Nov 28
2
How to make dovecot access a MySQL database with a certain domain?
I am trying to make a mail server with Postfix using the Dovecot software. At the time of wanting to access my server from a mail client, it does not let me access and see the logs of my server with the command:
$ service dovecot status
with the following error:
dovecot: auth-worker(2769): Error: mysql(127.0.0.1): Connect failed to database (postfix): Access denied for user
2009 Jan 13
2
Can not Create Maildir using userdb
Thank you for your reply.
So, you mean that both user_query and password_query should have the same amount of parameter and the mail parameter from user_query should have the exact parameter as userdb_mail from password_query?
And also I've to turn on userdb prefetch {}
Kind Regards,
Henry
From: Timo Sirainen [mailto:tss at iki.fi]
To: Dovecot Mailing List [mailto:dovecot at dovecot.org]