Displaying 20 results from an estimated 10000 matches similar to: "dovecot-lda quota rule"
2013 Jun 24
1
dovecot-lda - dovecot: quota-warning: Error: lda: Fatal: Unknown argument
Hi, everyone,
I'm attempting to configure automated quota warnings for users and have
hit a snag.
The script I'm using is as follows:
---------------------------------------------------------------------
#!/bin/sh
PERCENT=$1
MAILBOX=$2
DOMAIN=$3
cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o
"plugin/quota=dict:user::file:/var/vmail/%d/%n/.quotausage"
From:
2011 Sep 06
3
Quota fs (ignore mount)
Hi,
I set "quota: fs:INBOX:noenforcing:mount=/var/spool/mail", but receive: "fs quota add storage dir = /home/pit/mail"...
Why ?
In fstab:
/dev/mapper/mpath1p1 /var/spool/mail ext2 usrquota 0 0
In dovecot.log:
Sep 06 15:02:00 pop3-login: Info: Login: user=<pit>, method=PLAIN, rip=192.168.3.10, lip=192.168.6.3, TLS
Sep 06 15:02:00 POP3(pit): Info: Loading modules
2020 May 08
1
dovecot-lda quota warning email add BCC
Dear dovecot users,
I have setup doveot with quota warning.
Once a quota wearning is reached a shell script is called which then
sends an email to the user via dovecot LDA
this is the command in the shell script:
/usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=dict:User
quota::noenforcing:proxy::quota"
I already have looked in the docs: https://wiki.dovecot.org/LDA
but
2011 Sep 09
1
quota percents
I've noticed that http://wiki2.dovecot.org/Quota/Configuration is out of
date, it says:
plugin {
quota = maildir:User quota
quota_rule = *:storage=1GB
# 10% of 1GB = 100MB
quota_rule2 = Trash:storage=10%%
# 20% of 1GB = 200MB
quota_rule3 = Spam:storage=20%%
}
but if you use the '10%%' notation, dovecot complains, and *also* incorrectly:
dovecot: imap(test at
2011 Jul 18
1
quota-warning.sh not working (lda problem?)
Hi,
I setup a new mailserver with dovecot 2.0.12. Everything is working
fine (including quota) - except of sending quota warning mails.
When running
/usr/local/bin/quota-warning.sh 95 user at domain.de
manually as root or user vmail, the mail is delivered.
content of /usr/local/bin/quota-warning.sh
#!/bin/sh
PERCENT=$1
USER=$2
logger -p mail.info "$PERCENT% Quota-warning sent to
2009 Oct 08
1
soft quota lda question
hi all,
i'm using dovecot deliver (lda) and i want to show quota to the users
via imap/pop3, but i don't want to enforce it (i.e. don't
reject/bounce mails when quota is exceeded).
protocol imap {
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_plugins = quota
}
# In case you're using deliver:
protocol lda {
#mail_plugins = quota
}
does it work if i just
2010 Apr 30
2
Ignoring the quota by the LDA?
Is it possible to configure dovecot in a manner that only the imap
process respects the quota, and the local delivery ignores completely
the quota? I think it should happen if I don't activate the quota
plugin in the lda section but only in the imap section.
protocol lda {
...
# mail_plugins =
...
}
protocol imap {
...
mail_plugins = quota imap_quota
...
2010 Jul 23
1
quota warning error with dict
Version: Dovecot 2.0rc3
Hi,
I try to get the quota-warning.sh script working with quota/dict but I
get some errors.
The script looks like:
#!/bin/sh
PERCENT=$1
USER=$2
cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=dict:user::proxy::quota quota:noenforcing"
From: quota at dlutt.de
Subject: quota warning
Your mailbox is now $PERCENT% full.
EOF
In 90-quota
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
2012 Apr 09
2
Problem with quota warning
Hi again,
my test environment is working now and finally I tried to implement my
quota warning but it is not working. LDA says the mailbox is full even
it is not (only 81% and that is why the quota warning is executed).
Further I used :noenforcing in my script.
Apr 9 15:08:21 backend01 dovecot: lda(test at k-team.info): Debug:
Namespace INBOX.: Using permissions from
2012 Feb 17
2
Quota warnings and LMTP
Hello,
I have dovecot 2.0 configured with virtual users in MySQL, SMTP is
handled by exim which uses dovecot LMTP transport.
I'd like to test quota warning messages, but in wiki2 there is only
an example for delivering it with dovecot-lda. I tried several ways
of using lmtp binary, but without success.
How to replace this:
cat << EOF | /usr/local/libexec/dovecot/dovecot-lda -d $USER
2008 Jul 10
3
fs quota check with server does not support rquotad
Hi,
Last time, I have got no reply, hope this time is better.
OS: Solaris 10
Dovecot version : 1.1.1
file system of /var/mail : NFS from Solaris
file system of /home : other NFS server that not support rquotad.
Here is my setting that works:
----------------------------
plugin {
quota = fs:INBOX:mount=/var/mail
quota2 = fs:home:noenforcing:mount=/home/h1
}
The above settings works. Dovecot
2009 Jul 27
1
Funky quota things
Hi guys,
I already use Dovecot for imap/pop3 with some simple quota options.
I'm starting to look at the switch from maildrop to dovecot lda and
I'm wondering whether it's possible to do our unusual quota management
with the quota plugin.
We have the users total quota in MySQL along with a number of grace
days (counts up to 7). The amount of space used is stored in
maildirsize in the
2010 Jul 22
1
quota-warning example script from wiki2
Hi,
in the wiki there's an example script for sending an email to an user
that has exceeded his quota.
Link: http://wiki2.dovecot.org/Quota/Configuration
The dovecot deliver command line is:
dovecot-lda -d $USER -o "plugin/quota=maildir:User quota:noenforcing"
I wonder about
-o: seems to be "undocumented" because I've found no information about
this parameter.
If
2017 Oct 20
1
quota only for oungoing
oops. no, quota doesn't change :(
thats my configs:
plugin {
quota = maildir:User quota
quota_rule = *:storage=300M
quota_rule2 = Trash:storage=+10%%
quota_rule3 = Sent:ignore
quota_rule4 = Archive*:ignore
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
quota_grace = 10%%
}
protocol lda {
mail_home = /var/spool/mail/%d/%n
2018 Nov 16
3
Antwort: Re: Quota in MySql Dict not recalculate automatic
With quota count and quota_clone it works, but can I use noenforcing with
quota count?
quota = count:User quota:noenforcing
When I test this config, I receive no quota-warning E-Mail:
service quota-warning {
executable = script /usr/local/bin/quota-warning.sh
# user = dovecot
user = vmail
unix_listener quota-warning {
user = vmail
group = vmail
mode = 0660
}
}
plugin {
2009 Jul 25
1
Dovecot 1.2, quota and LDAP
Hi!
I'm in the progress of upgrading from Dovecot 1.0.15 to 1.2.1. This has
gone pretty smooth. I just have one question to check wether I have
understood the documentation right.
I have both system users and virtual users. That's easy to do when using
LDAP for userdb. The system users use filesystems quota, the virtual
users use maildir quota. I achieved this using the following in
2012 Aug 24
3
quota: ignore deleted messages (?)
Hi!
I am currently in the process of preparing a migration of our old
Courier-based IMAP/POP server setup to a Dovecot-based one.
During this process I came across the following problem with the
difference Courier and Dovecot handle deleted messages and mail quota.
Quote from http://www.courier-mta.org/imap/README.maildirquota.html:
,----
| The default application configuration that uses this
2011 Sep 29
1
Fwd: Re: VirtFS Query
Richard, FYI.
On Wed, 28 Sep 2011 17:05:42 +0530, Harsh Bora
<harsh at linux.vnet.ibm.com> wrote:
> Hi Aneesh,
>
> Richard asked me if we have any plans to provide a solution for this use
> case:
>
> https://www.redhat.com/archives/libguestfs/2011-September/msg00089.html
>
> IIUC, VirtFS as a rootfs is targeted towards this requirement only,
> right? Any inputs ?
2016 Oct 10
2
problem with quota warning script execution, error 75
Hi,
Im quite new to dovecot and im trying to run quota warning script with no success. Using "quota = count:User quota" and this script:
________________________
#!/bin/sh
PERCENT=$1
USER=$2
cat << EOF | /usr/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=count:User quota:noenforcing"
From: support at company.com
To: $USER
Subject: Quota alert
Quota