Displaying 20 results from an estimated 10000 matches similar to: "mail directory error solved!"
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 May 04
1
virtual mailbox users users can send, but can't read e-mail
Greetings,
I am trying to add the second virtual mailbox domain (transco.org.au) to
an existing Postfix/Dovecot/MySQL mail server. Users of the first
virtual mailbox domain (transylvania.org.au) have no problems
sending and receiving mail.
Users belonging to the second virtual mailbox domain can successfully
send mail to outside, however they won't receive the mail, though
Postfix
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
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]
2010 Jul 22
1
problem mysql and dovecot 1.2
Hi everybody ,
Since my version 1.2. I have a problem with the management of quotas.
select * from virtual_users;
+----+-----------+----------------------------------+---------------------------+----------+----------------+
| id | domain_id | password | email
| quota_kb | quota_messages |
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
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
2014 Oct 04
0
Dovecot does not update maildirsize after expunge
Hello,
At the first, sorry for my englishJ
I have a problem with dovecot quota since i migrated from courier. Dovecot
does not update the Maildirsize after expunge, and the user running out of
his quota very quickly.
I checked, the file is deleted from the filesystem. If i delete the
Maildirsize file, dovecot regenerate it with the correct datas when a new
mail arrive.
Also tried to
2005 Dec 24
0
dovecot - postgresql ERR No INBOX for user.
I've setup dovecot to authenticate against postgresql.
But I consistently get a "No INBOX for user" error when I try to do pop
requests.
Any pointers would be helpful.
Postfix deposits mails in maildirs in the format
/var/spool/virtual_mailboxes/{domain}/{username}/
below is the result of a telnet test (altered slightly of course, but gives
the idea)
telnet localhost 110
Trying
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
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
2005 Aug 29
1
MySQL user cant log in
Hi,
I configured dovecot IMAP for MySQL authentification.
--- start dovecot.conf ---
auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf
auth_passdb = mysql /etc/dovecot/dovecot-mysql.conf
--- end dovecot.conf ---
--- start dovecot-mysql.conf ---
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = users
db_user = users
db_passwd = xxx
db_client_flags = 0
2020 Mar 18
2
Headsup on feature removal
Hi Aki and Remo,
switch from vpopmail driver to SQL driver (if you are using vpopmail
with mysql as backend) is very simple.
First you need to setup the right query for vpopmail database:
# cat /etc/dovecot/dovecot-sql.conf.ext
### Vpopmail
driver = mysql
connect = host=192.168.1.2 dbname=vpopmail user=vpopmail password=Vp0pM4iL
default_pass_scheme = MD5-CRYPT
### Query to get a list of all
2007 Nov 13
1
Dovecot does not fetch mails from Maildir
Hello
I have the following configuration. I am trying to login through pop3 and
fetch e-mails but it does not fetch anything. I see that there is a mail
there. Here is what i have
List from my homedir. Set correct on MySQL as (home)
--
[root at axis info]# ls -al new
total 12
drwx------ 2 exim exim 4096 Nov 12 21:11 .
drwxrwx--- 6 exim exim 4096 Nov 12 21:11 ..
-rw------- 1 exim exim 1996 Nov
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
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
2013 Apr 27
1
dovecot-sql.conf - Unknown setting: driver
Im upgrading my dovecot from 2.1.14 to dovecot 2.2.1 on linux.
Im using the same configuration file against my MySQL db and getting
the following error:
doveconf -n
# 2.2.1: /opt/dovecot221/etc/dovecot/dovecot.conf
doveconf: Fatal: Error in configuration file /opt/dovecot221/etc/dovecot/conf.d/dovecot-sql.conf line 2: Unknown setting: driver
dovecot-sql.conf:
# The mysqld.sock socket may be in
2006 Apr 03
1
problem with userdb_ on pgsql
# 1
password_query = SELECT login as user, passwd as password
FROM mail.dovecot_passwd_v WHERE login = '%n'
# 2
user_query = SELECT home, 5020 as uid, 5020 as gid
FROM mail.dovecot_passwd_v WHERE login = '%n'
# 3
# password_query = SELECT login as user, passwd as password,
home as userdb_home, 5020 as userdb_uid, 5020 as userdb_gid
FROM mail.dovecot_passwd_v WHERE
2017 Oct 10
1
How to map email addresses to usernames?
Hello,
I have a general question about userdb and passdb lookups, in my case related
to driver=sql.
The documentation and most examples in the internet seem to assume that a
user's login username to access a mailbox is identical to his email-address,
or at least to the local-part of this email-address. This setup works fine.
But I don't understand how to setup dovecot, when login