f.ext
map
{
pattern = priv/quota/storage
table = used_quota
username_field = username
value_field = bytes
}
map
{
pattern = priv/quota/messages
table = used_quota
username_field = username
value_field = messages
}
--
Adam Szpakowski
se be careful and very selectively install packages from testing. If
possible, the package dependences should be installed from stable/security.
--
Adam Szpakowski
On 27.02.2012 19:21, Charles Marcus wrote:
On 2012-02-27 12:59 PM, Adam Szpakowski wrote:
I do have a basic question... How many users will be in this new,
remote location? Will the traffic be so vast, that 1GbE link will not
be enough, or are you using two servers for reliability?
Yeah, I
r the configuration, it is almost always the better. Maybe you
can stay with one server in yours primary location?
--
Adam Szpakowski
.
--
Adam Szpakowski
On 23.02.2012 02:15, Stephan Bosch wrote:
On 2/22/2012 12:15 AM, Adam Szpakowski wrote:
Maybe there is a way to use a procmail with something like this:
:0 Wh: msgid.lock
| formail -D 8192 .msgid.cache
But is there a safe way to use it together with sieve? Using
Pigeonhole Sieve Pipe Plugin
on the postfix side: http://www.postfix.org/SASL_README.html#server_dovecot
--
Adam Szpakowski
On 22.02.2012 00:09, Timo Sirainen wrote:
On 22.2.2012, at 1.02, Adam Szpakowski wrote:
On 21.02.2012 23:57, Timo Sirainen wrote:
On 22.2.2012, at 0.46, Adam Szpakowski wrote:
In one installation we are using sieve "redirect :copy" to create copy of the
incoming email (local boss
On 21.02.2012 23:57, Timo Sirainen wrote:
On 22.2.2012, at 0.46, Adam Szpakowski wrote:
In one installation we are using sieve "redirect :copy" to create copy of the
incoming email (local boss gets copy of its employees mails).
There is a problem when the incoming email has mult
problem, but with no clear solution.
We are using Dovecot 2.0.15. Mail is delivered via LMTP (MDA/postfix is
on separate machine then MAA/dovecot).
--
Adam Szpakowski
ona w $PERCENT%.
Your mailbox is now $PERCENT% full.
EOF
--
Adam Szpakowski
sers (user@domain) and domains. It is not
making sense for me, so I'm assuming that its the missing percentage of
the working part ;)
Tu sum-up the thread. I went for updating periodically the basic quota
table with missing domain names. Working great.
Thanks all for suggestions.
--
Adam Szpakowski
cord. This will allow us to do something
like this:
SELECT domain, sum(bytes) as sum_bytes, sum(messages) as sum_messages
FROM used_quota GROUP BY domain
The missing domain info can be updated regularly via some cron script.
This could be a workable solution.
--
Adam Szpakowski
In future the quota enforcement on domain level could be a nice add-on,
but for now it is not so important for us.
--
Adam Szpakowski
e can see (http://wiki2.dovecot.org/Quota/Dict):
"If username is left empty, the logged in username is used (this is
typically what you want). Another useful username is '%d' for supporting
domain-wide quotas."
--
Adam Szpakowski
-domain.conf.ext
map {
pattern = priv/quota/storage
table = used_quota_domain
username_field = domain
value_field = bytes
}
map {
pattern = priv/quota/messages
table = used_quota_domain
username_field = domain
value_field = messages
}
--
Adam Szpakowski
16 matches
Mail list logo