Displaying 20 results from an estimated 5000 matches similar to: "Dovecot failed with a correct sql user_query"
2010 May 03
4
Dovecot SQL user_query
Hello folkz,
Is it possible to setup in dovecot-sql.conf file to run user_query
twice if its first run didn't yield any values.
And likewise don't proceed with the second run if the first user_query
execution produced the result.
I have to query two tables which specify there email messages shall be
delivered via Dovecot deliver LDA
depending on the incoming email addresses.
Please
2008 Jan 24
2
SQL user_query question
Hi,
I am working through setting up a virtual hosting system using
Dovecot, Postfix and Postgres on a CentOS 5 box running an install of
the dovecot-1.0-1.2.rc15.el5 RPM.
The question I have is, given this password_query SELECT clause, which
all return valid values from the database:
user
password
domain
can I use a %d in the WHERE clause of my user_query? The reason I ask
is that the
2007 Jul 11
1
Fixing lda user_query error introduces new fault in mail delivery
I was getting these errors below and after fixing it delivery errors
were introduced
dovecot/error_log
==============
dovecot: Jul 11 06:19:28 Error: auth-worker(default):
sql(user at domain.com): User query failed: Table 'postfix.users' doesn't
exist
deliver(user at domain.com): Jul 11 06:19:28 Error: BUG: Unexpected input
from auth master: FAIL 1
dovecot: Jul 11 06:21:41 Error:
2011 May 16
1
user_query and mail_plugins in database
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I have a problem with mail_plugins in dovecot-2.0.x. I will use
mail_plugins within a database, so that I can define plugins for users
in the database.
But I get errors like this.
- -----------------------------%<------------------------------------
lmtp(3933): Error: Can't load plugin imap_quota_plugin: Plugin is
intended to be
2012 Apr 06
1
[WIP PATCH] dri/nouveau: Add S3TC support for nv20.
---
Hi,
this is still WIP, but already passes piglit's s3tc-teximage, s3tc-texsubimage and fbo-generatemipmap-formats(s3tc tests)
and even Wolfenstein:Enemy-Territory works on my nv25. It's based on Ben's newlib branch. I have few issues though:
1) So far it needs libtxc_dxtn, but I might expose the s3tc extensions even without encoder using driconf option -
Is that desirable?
2)
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
2010 Jan 14
3
LDA and POP3/IMAP user_query
How do I get IMAP+POP3 vs. LDA to use different user_query statements?
The problem is that the input fields are different.
IMAP/POP3 is an email address
LDA is a username
I have written a long statement to try and cater for both however it still
only works 99% of the time, and the remaining 1% fails. The 1% that fails
sees the mail being delivered to the wrong mbox. In this particular case
2007 Mar 07
1
Question about auth-master, deliver, and SQL maps
I have been running Postfix/Dovecot with a Postgresql backend for
several months, and everything has been running great.
Now I want to add server side filtering, so I'm attempting to configure
deliver.
The SQL maps for Postfix are all keyed upon the recipient email address.
The SQL map (user_query) for Dovecot is keyed upon the IMAP login name,
which is potentially unrelated to the email
2014 May 27
3
SQL passdb, LDAP userdb
Hi,
in my current setup, LDAP authentication + userdb works fine.
I'd like to integrate Dovecot with Shibboleth. I have a custom module at
the IdP (*) that inserts short-time tokens to an SQL table at user
authentication, and I want Dovecot to use the token table for passdb but
keep LDAP for storing the userdb (uid, quota, etc)
I thought it was simple as omitting the sql user_query, but I
2010 Aug 03
1
Dsync fatal error.
#dsync -D -vv -u stak at nti.uff.br mirror maildir:/CX4/vdomains/
nti.uff.br/stak/mail
dsync(root): Fatal: Mail locations must use the same virtual mailbox
hierarchy separator (specify separator for the default namespace)
My mail.conf
*mail_location =
mbox:/CX4/vdomains/%d/home/%n/mail:INBOX=/CX4/vdomains/%d/var/spool/mail/%n:INDEX=/tmp/imap-index/%d/%n
*What that error means ?
Before when i
2013 Dec 19
1
Performance issues samba4 with e.g. "ls -la"
Hello
I have performace problems with services or commands that uses user or groups on the filesystem.
"wbinfo -u" lasts about 5 seconds for an output of ~150 users
Also a "ls -la" takes about 5 seconds to give an result. ls -lan however is very quick. ps ax is quick, ps -aux slow ...
If samba is stopped the performance is quick always.
A problem is the webserver. Delivering
2017 Jul 22
1
last_logon SQL mapping
Hi
I have been attempting to do a mapping on the last_logon plugin. I have
been reading the documentation on mapping. is there any way to customise
a little more and create a individual SQL query for each of the
functions SELECT and UPDATE, my current SQL setup has the username and
domain in separate tables and my user_query and password_query are
concat which I do not believe can be defined
2004 Sep 24
2
What type of PRI setup is best
I am having my colo set up 2 PRI's for my new asterisk implementation. They
asked the following...
##SNIP##
What type (NI2, NTI, 4ESS, or 5ESS) and whether they want to be USER or
NETWORK.
If the equipment is flexible, NI2, with us as NETWORK is preferred.
##SNIP##
We are using a digium quad span T1 card. What is the recommended setup?
Thanks,
Chris
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
2014 Sep 30
2
home from SQL
Currently I'm using
user_query = SELECT 1000 AS uid, 1000 AS gid, '/srv/vmail/%2.256Hu/%Lu' AS home, ...
so I'm hashing based on %u (basically). But in my SQL db I have a
"unique_identifier" field, which never changes, even when the user is
changing his/her email address (due to marriage or the like).
What I'd really like to do is to use %u to find the value of the
2005 Jun 20
0
MySQL user_query ignored
Hi all,
i installed Dovecot 0.99.14. Everything works fine except that
the mysql setup directive "user_query" seems to be ignored -
however the password_query works.
Instead the default user query in db-mysql.c always takes effect.
Might this be a bug or is something worng wit my setup below?
(To keep on working i changed the default query in db-mysql.c..)
Helmut
2010 Feb 14
1
Virtual plugin and user_query
Hello,
As per a previous reply regarding POP3 I'm now trying to configure the
virtual plugin.
However I don't really understand how to modify the sql user_query to
properly indicate inbox=yes.
I created 3 namespaces as per wiki instructions and I've modified the
password and user queries as bellow:
password_query = \
SELECT email, password, login , concat('*:bytes=',
2011 Jan 29
2
sql : uid, gid, home ignored ?
Hello,
I'm trying to setup a dovecot imap server.
version is 2.0.9
I've setup a mysql database using:
user_query = \
SELECT home, uid, gid, home as userdb_home, uid as userdb_uid, gid as userdb_gid, \
FROM user WHERE username = '%n' AND domain = '%d' AND active = 'Y'
password_query = \
SELECT username AS user, password, home as userdb_home, uid as
2010 Apr 09
1
Dovecot 1.2.11, Quota and SQL
Hello,
I have a problem :(...
I try to define User Quotas in Dovecot (in my DB mySQL) but default
quotas (in my dovecot.conf) are always set for all users.
I've defined default quota to 500M. I set 0 to one account in my DB but
when i see my logs, this account have a 500M quota !
Could you help me ?
My configuration :
# 1.2.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-xenU i686
2012 Feb 21
1
dovecot 2 doesn't start with managesieve
Hi
I build dovecot 2.0.16 and and dovecot-pigeonhole-0.2.5 on two machines with the same options. The config files are equivalent. On the first machine everything works fine - on the second dovecot with managesive won't start (without sieve protocol it does).
Error: socket() failed: Protocol not supported
Error: service(managesieve-login): listen(::, 4190) failed: Protocol not supported