Displaying 20 results from an estimated 10000 matches similar to: "mysql query prepending"
2006 Sep 21
1
deliver vda maildir postfix problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi @ll,
sorry i am new to dovecot so this may asked before
i this in dovecot.conf
protocols = pop3 imap
ssl_disable = yes
mail_extra_groups = mail
valid_chroot_dirs = /usr/local/virtual/
default_mail_env = maildir:/usr/local/virtual/%d/%n
disable_plaintext_auth = no
protocol lda {
postmaster_address = postmaster at test.de
}
protocol pop3 {
2011 Aug 01
3
web interface for user creation/vacation
What are the best web interfaces for user/domain management, perhaps one that also allows individual users to edit vacation msgs?
Right now I'm using a postfixadmin based mysql control panel. Curious what is the better stuff out there that people are using with dovecot/sieve these days?
Are there any decent front-ends to setup/manage per-user sieve filters?
2017 Oct 10
2
Mail Alias Stores in mySQL Not working
First of all excuse.. I am having an issue getting maillist responses so I may be responding to this worng
No on topic
I commented out the first user_quesry
The second query was not copied correctly , reads
user_query = SELECT CONCAT('/var/vmail/mail/', maildir) AS home, 5000 AS uid, 5000 AS gid, CONCAT('*:bytes=', quota) AS quota_rule FROM mailbox WHERE username = '%u'
2008 Dec 05
1
Max OS X 10.5 Mail + Dovecot
Hi,
People using the new OS X mail client are unable to connect to the unsigned dovecot-mkcert.sh certificate on my Dovecot installations. Turning off SSL fixes the problem. Is there any way to make it work automatically, or do I just have to get the certificates signed? Has anyone figured this one out before?
Thanks,
Chris
2015 Sep 13
2
no login with MySQL
Hello!
Christian Kivalo <ml+dovecot at valo.at> schrieb am 13.09.15 um 19:51:38 Uhr:
> > Sep 13 11:55:49 imap(a.meyer at nimmini.de): Error: user
> > a.meyer at nimmini.de: Initialization failed: Namespace '': Home
> > directory not set for user. Can't expand ~/ for mail root dir in: ~/
> > Sep 13 11:55:49 imap(a.meyer at nimmini.de): Error: Invalid user
2005 Apr 09
1
Failed to create storage with data
I was trying to configure postfix, mysql with dovecot. The postfix part is
fine, but dovecot seems cannot cannot read the mail directory
dovecot: Apr 09 16:22:37 Info: Dovecot starting up
dovecot-auth: Apr 09 16:22:38 Info: MySQL: connected to localhost
dovecot-auth: Apr 09 16:22:38 Info: Login process 7 connected
dovecot-auth: Apr 09 16:22:38 Info: Login process 8 connected
dovecot-auth: Apr 09
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
2011 Jun 24
2
Please help with Quota dict mysql configuration
Hello
So what i have:
centos 5.6
postfix 2.3.3
dovecot 2.0.13
postfixadmin 2.3.3
roundcube 0.5.3
All general things are working right now i can send receive email with
ssl connections etc...
Now i'm trying to configure additional options like quota and some
other plugins like sieve, trash, expire and deleted-to-trash.
Configuration of quota is on first place. I have read wiki regarding
quota
2015 Sep 13
3
no login with MySQL
Christian Kivalo <ml+dovecot at valo.at> schrieb am 13.09.15 um 22:08:04 Uhr:
> > I think the query-string f?r MySQL would overwrite this mail_location,
> > right? But how do I define it in the query?
>
> yes thats how it should work but your query (looking at the query result
> from your first email) overwrites the mail_location with
>
2010 Apr 14
3
dovecot-2.0-beta4, lda and sieve: Permission lookup failed from /tmp/Dovecot Delivery
Hi all,
I'm testing a dovecot-2.0-beta4 and it is great so far, except that I
can't get the sieve plugin for the LDA configured.
It doesn't find the user's homedir and uses /tmp instead. Thus it never
finds any sieve scripts.
The log shows that the SQL queries return the correct home path, namely
/mnt/data/vmail/example.com/me
dovecot: auth: prefetch(me at example.com): passdb
2008 Feb 05
1
Quota + MySQL
Hello, Im having problems getting Dovecot to read the quota info from
MySQL. My current dovecot.conf file is below.
If I run the user_query of:
user_query = SELECT 1000 AS uid, 1000 AS gid, maildir AS home FROM
mailbox WHERE username = '%u' AND active = '1'
Everything works fine but if I run the user_query of:
user_query = SELECT 1000 AS uid, 1000 AS gid, maildir AS home,
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:
2011 Jun 02
2
Custom sql query for keeping quota with dict-sql
Hello!
I'd like to setup quota for for virtualusers, i'm using both maildir++
and mdbox as storage, and i'm using postgresql to keep users.
I'm keeping all users data in one table:
[...]
login text NOT NULL,
domain text,
password text,
quota_mb integer NOT NULL DEFAULT 0
[... other columns ...]
i'd like to keep present quota in such two columns:
quota_dict_bytes integer NOT
2011 Apr 08
1
mysql lookup on another host performance q?
Hi, new to dovecot
I'm setting a small postfix/dovecot server for virtual domain/users in mysql
dovecot is on one host, mysql on another
seems to be working, but I'm concerned over performance overhead of this
setup;
dumb Q, is there any 'proxy mysql' or cacheing option I can use ?
any suggestions appreciated
also, my mail users as set as 5000/5000
virtual_gid_maps =
2014 Oct 01
1
Simply mysql quota check
Hi there,
I'm setting up a new email server with Dovecot(2.2.9) and MySQL.
My Dovecot configuration:
#/etc/dovecot/conf.d/90-quota.conf
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
user = dovecot
unix_listener quota-warning {
user = vmail
}
}
plugin {
quota = maildir:User quota
quota_warning = storage=95%% quota-warning 95 %u@%d
2017 Oct 12
1
Mail Alias Stores in mySQL Not working
"In an earlier post you said your user_query was:
user_query = SELECT CONCAT('/var/vmail/mail/', maildir) AS home, 5000 AS uid, 5000 AS gid, CONCAT('*:bytes=', quota) AS
quota_rule FROM mailbox WHERE username = '%u' AND active=?1'
Last post you said:
mail is stored at /var/mail/vhosts
and:
mail_location = maildir:/var/mail/vhosts/%d/%n
These don't agree
2009 Dec 14
2
vpopmail/mysql/quota
Hi All,
I'm new to the list and have a quota question. I am building a new server
with dovecot/qmail/vpopmail/mysql and
emails are sending and recieving fine when the quota is set to NOQUOTA, but
when the quota is changed qmail
doesn't deliver any messages. I have read the docs and still need some help
understanding the process for dovecot
quotas relating to the vpopmail mysql database
2013 Sep 08
2
Postfixadmin/MySQL/Dovecot 2 and quota
Hi all,
I'm setting up a new email server based on the softwares list below:
* Postfix
* Dovecot 2.0.9
* MySQL
* Postfixadmin 2.3.6
My current problem is I'm unsure whether quota feature is well
configured or not.
In order to test and validate, I use Roundcubemail GUI which provides
percentage of the space used by the mailbox (quota should be applied per
mailbox).
Here, my
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
2012 May 10
2
Postfix Query
Hello,
Another question!!
Was just trying to sort out mail delivery to subdomains. I set up my
system so that I have a mail address of tim at subdomain.example.com. I've
sorted out Postfix to correctly identify this and pass on to Dovecot for
delivery but Dovecot doesn't seem to deliver where I want it to. Ideally
I would like to have a structure so that mail is delivered to