Sotiris Tsimbonis wrote:
Ok, fair enough (my "mail" does not understand -f to set From)...
Maybe you've got different "mail" executables in your path and the
script's default path?
See output of "whereis mail" ..
Even better, run "which mail" on your shell, and put the full path in
your scr
Proskurin Kirill wrote, On 10/21/2008 11:36 AM:
Sotiris Tsimbonis wrote:
Proskurin Kirill wrote, On 10/20/2008 06:27 PM:
Oh. I make my question more short.
In example on wiki we see such command:
/usr/sbin/sendmail "$USER"
As I understand $USER - it is system env mean current login user.
I c
Sotiris Tsimbonis wrote:
Proskurin Kirill wrote, On 10/20/2008 06:27 PM:
Oh. I make my question more short.
In example on wiki we see such command:
/usr/sbin/sendmail "$USER"
As I understand $USER - it is system env mean current login user.
I could not understand still how dovecot understand
Proskurin Kirill wrote, On 10/20/2008 06:27 PM:
Oh. I make my question more short.
In example on wiki we see such command:
/usr/sbin/sendmail "$USER"
As I understand $USER - it is system env mean current login user.
I could not understand still how dovecot understand to whom deliver a
mail? I
Oh. I make my question more short.
In example on wiki we see such command:
/usr/sbin/sendmail "$USER"
As I understand $USER - it is system env mean current login user.
I could not understand still how dovecot understand to whom deliver a
mail? I dont see it on this example.
My script work bu
On 10/20/2008 10:28 AM, Proskurin Kirill wrote:
#cat quota-warning.sh:
#!/bin/sh
PERCENT=$1
TO=$2
echo "Your mailbox is $PERCENT% full. If it overfill - you will can not
get new email. Please clean up your mailbox.
--
Mail Administator" | /usr/bin/mail -s "Email mailbox is $PERCENT% full"
Timo Sirainen wrote:
In conf:
quota_warning = storage=80%% /usr/local/bin/quota-warning.sh 80 [EMAIL
PROTECTED]
You probably want just %u since it has both [EMAIL PROTECTED]
In logs:
IQuota warning: bytes=168611020 (80%) messages=0 (0%)
command=/usr/local/bin/quota-warning.sh 80 dump-capab
On Thu, 2008-10-16 at 18:00 +0400, Proskurin Kirill wrote:
> Hello all
>
> How Dovecot 1.1.3 quota script understand to who send a mail?
>
> In try to do this:
>
> In conf:
> quota_warning = storage=80%% /usr/local/bin/quota-warning.sh 80 [EMAIL
> PROTECTED]
You probably want just %u since it
Hello all
How Dovecot 1.1.3 quota script understand to who send a mail?
In try to do this:
In conf:
quota_warning = storage=80%% /usr/local/bin/quota-warning.sh 80 [EMAIL
PROTECTED]
In logs:
IQuota warning: bytes=168611020 (80%) messages=0 (0%)
command=/usr/local/bin/quota-warning.sh 80 dump