Displaying 20 results from an estimated 4000 matches similar to: "Cutting down on sql connections"
2017 Apr 13
1
Cutting down on sql connections
Hello,
I'm running dovecot 2.29 on a freebsd 10.3 system. I'm trying to cut
down queries to my database and tried to do a userdb static and
prefetch. I modified the password query to pull in userdb_quota and
got an error that that was not valid. Is this behavior normal?
Apr 13 17:22:15 hostname dovecot: master: Dovecot v2.2.29 (13ebc01)
starting up for imap, sieve
Apr 13 17:22:24
2007 Jun 22
2
Quota from passdb sql
Hello folks!
Is it possible to retrieve quota information from a passdb sql lookup and
using static userdb?
I've tried here without success, and I can't find in the wiki or forum.
Some ways I configured dovecot-sql.conf:
1)
password_query = SELECT email AS user, CONCAT('maildir:storage=',quota) AS
quota, password FROM users WHERE email = '%u'
2)
password_query = SELECT
2009 Feb 05
1
dirsize quota in sql pass db?
Is there a way to return a per user dirsize quota from a passdb sql
lookup? If so, what is the syntax?
maybe "select quota as userdb_quota"?
..and in mysql table, quota column would be:
"quota=dirsize:storage=10240" ?
I'm using mbox, with /etc/passwd userdb, and mysql passdb.
Thanks,
Ken
--
Ken Anderson
Pacific.Net
2018 Apr 11
3
two unrelated issues, lastlogin, and an out of memory fatal error
Hello Aki,
Thanks for your suggestion. I followed it and the wiki at:
https://wiki.dovecot.org/Plugins/LastLogin
Good news, I get a record in the users table, with the username that
just logged in. This is good. Bad news is I got unexpected output from
the last_login time stamp. Here's the table and the user:
mysql> describe users;
2014 Nov 03
2
Example records for SQL AUTH
Hi,
Where can I get examples for the records for the "users" table?
For SHA512-CRYPT, I tried:
replace into users values ('a at a.com','a.com',ENCRYPT('b', CONCAT('$6$',
SUBSTRING(SHA(RAND()), -16))),'',0,0,'true');
schema is:
CREATE TABLE `users` (
`username` varchar(255) NOT NULL,
`domain` varchar(255) NOT NULL,
2018 Apr 11
0
two unrelated issues, lastlogin, and an out of memory fatal error
Hi!
On 10.04.2018 19:31, David Mehler wrote:
> Hello,
>
> I've got a few misc issues that I'm trying to get a handle on.
>
> I'm having what is probably a simple error with last logins. It's not
> working, unable to write values to the database. Here's the log lines:
>
> 2018-04-10 10:43:34 imap-login: Info: Login: user=<user at domain.com>,
>
2017 Mar 03
2
welcome plugin
Hello,
Thank you. My configuration is below. It looks like a perm problem,
i've set +r on the directory and it is readable.
One other thing I noticed when going through the log the testuser logs
in, then logs out. Then logs in again, and then gets the error. Any
ideas why the two logins? I see this all the time, a log in log out,
then another log in log out then the email transaction.
2017 Apr 29
0
Dovecot last_login plugin and Mysql
Hi,
Thanks for the pointing out of the oops! I missed that. Don't worry
that has been changed.
Any suggestions on my issue?
Thanks.
Dave.
On 4/28/17, David Mehler <dave.mehler at gmail.com> wrote:
> Hi,
>
> OOPS! I missed that one and it was big.
>
> Changing now.
>
> Thanks.
> Dave.
>
>
> On 4/28/17, Noel Butler <noel.butler at ausics.net>
2018 Jul 03
0
Failing connections. Warning: Auth process not responding, delayed ..
can?t access mail after some upgrades. Everything else seems to be working - but dovecot seems to have caught a problem.
Jul 3 09:03:35 zeus dovecot[310]: imap-login: Warning: Auth process not responding, delayed sending initial response (greeting): user=<>, rip=5.188.207.15, lip=192.168.0.15, session=<4Wk9wBNw1AAFvM8P>
Jul 3 09:03:41 zeus dovecot[310]: imap-login: Warning: Auth
2018 Apr 10
2
two unrelated issues, lastlogin, and an out of memory fatal error
Hello,
I've got a few misc issues that I'm trying to get a handle on.
I'm having what is probably a simple error with last logins. It's not
working, unable to write values to the database. Here's the log lines:
2018-04-10 10:43:34 imap-login: Info: Login: user=<user at domain.com>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=75934, TLS,
2017 Apr 28
4
Dovecot last_login plugin and Mysql
Hello,
Trying to implement lastlogin via mysql. I'm getting an unknown column
username which I don't get. Here's the log:
Apr 28 17:18:15 ohio dovecot: imap-login: Login:
user=<user at example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
mpid=16257, secured, session=<KxiSnEBOwUx/AAAB>
Apr 28 17:18:15 ohio dovecot: dict(17099): Error: sql dict: commit
failed: Unknown
2019 Aug 21
0
imapsieve suddenly not working anymore
Setting logging to debug reveals something is happening but the actual
scripts do not run i suppose.
Aug 21 11:54:23 imap(himbeere)<31571><ndLQjp2Q2K1/AAAB>: Debug: Mailbox
INBOX: Mailbox opened because: SELECT
Aug 21 11:54:23 imap(himbeere)<31569><kqPPjp2Q1q1/AAAB>: Debug:
imapsieve: mailbox INBOX.Spam: MOVE event
Aug 21 11:54:23
2019 Aug 21
1
imapsieve suddenly not working anymore
On 2019-08-21 12:30, Thomas Stein via dovecot wrote:
> Setting logging to debug reveals something is happening but the actual
> scripts do not run i suppose.
>
> Aug 21 11:54:23 imap(himbeere)<31571><ndLQjp2Q2K1/AAAB>: Debug:
> Mailbox INBOX: Mailbox opened because: SELECT
> Aug 21 11:54:23 imap(himbeere)<31569><kqPPjp2Q1q1/AAAB>: Debug:
> imapsieve:
2017 Apr 28
0
Dovecot last_login plugin and Mysql
> On April 29, 2017 at 12:29 AM David Mehler <dave.mehler at gmail.com> wrote:
>
>
> Hello,
>
> Trying to implement lastlogin via mysql. I'm getting an unknown column
> username which I don't get. Here's the log:
>
> Apr 28 17:18:15 ohio dovecot: imap-login: Login:
> user=<user at example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
2014 May 20
0
Dovecot 2.2.13+ and master user db
Hello, I'm upgrading one of our servers to the last HG 2.2.13 versi?n
and I've found some problems with our configuration which has been
working fine with previous versions.
We have a LDAP userdb for the users and a master userdb for user
assistance, Until now the definition of usersdb in 10-auth.conf was:
!include auth-master.conf.ext
!include auth-system.conf.ext
!include
2012 Apr 28
1
Session IDs
v2.1.2 added support for "session IDs", which is a 9 year unique identifier for that specific IMAP/POP3 connection. Initially I thought it would only be useful for tracking connections going through Dovecot proxies to backends (the session ID is forwarded), but then I thought it could be useful for everyone if auth process also logs the session ID. So I thought for v2.1.6 I'd change
2012 Aug 13
0
master user auth problem
Hi,
I tried to setup a master auth authentication. I also use
auth_pop3wrapper to authenticate from qmail-ldap. But I could not
login with master user.
Here is the config.
auth_master_user_separator = *
passdb {
driver = passwd-file
args = /usr/local/etc/dovecot/passwd.masterusers
master = yes
pass = yes
}
passdb {
# Path for checkpassword binary
driver = checkpassword
2018 Apr 14
1
imapsieve fail to pipe to sa-learn-spam.sh
Hello,
I'm trying to get Dovecot 2.31, pidgeonhole 0.51 going with imapsieve
and rspamd. I'm getting the below in my errorlog:
cat dovecot.log
2018-04-13 17:35:34 imap-login: Info: Login:
user=<testuser at domain.com>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, mpid=57977, secured, session=<o4T2psFpje5/AAAB>
2018-04-13 17:35:34
imap(testuser at
2014 Mar 03
1
Dovecot, AD and authenticated binds...
I posted earlier with reports of less than stellar success in using Active Directory for dovecot authentication.
My approach is to using the two-step approach of
- obtaining the user DN by a search using an authenticated bind (using a service account)
- then binding as that DN, and returning the relevant user attributes
This hasn't been succesful. Dovecot's authentication process does
2007 Jan 12
1
dovecot Digest, Vol 45, Issue 18
>
> I use postfx 2.3.5 + dovecot (pop3/imap/lda/auth daemon for postfix) rc15.
>
> root at post /etc/postfix# grep dovecot main.cf
> smtpd_sasl_type = dovecot
> virtual_transport = dovecot
> dovecot_destination_recipient_limit = 1
>
> root at post /etc/dovecot# grep password_query dovecot-sql.conf
> password_query = SELECT mail as user, cryptp as password,
>