Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

quota excedeed

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


bisdiouf at orange

Mar 1, 2010, 7:56 AM

Post #1 of 10 (1250 views)
Permalink
quota excedeed

Hello,
I want to configure exim alerting the sender and the receiver when the
quota is excedeed.



--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


fabienluce at gmail

Mar 1, 2010, 9:02 AM

Post #2 of 10 (1211 views)
Permalink
Re: quota excedeed [In reply to]

Hi,

why not a script that check this quota and send mail under a crontab?



2010/3/1 <bisdiouf [at] orange>

> Hello,
> I want to configure exim alerting the sender and the receiver when the
> quota is excedeed.
>
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


iane at sussex

Mar 1, 2010, 9:37 AM

Post #3 of 10 (1212 views)
Permalink
Re: quota excedeed [In reply to]

--On 1 March 2010 15:56:16 +0000 bisdiouf [at] orange wrote:

> Hello,
> I want to configure exim alerting the sender and the receiver when the
> quota is excedeed.

I think Exim will already alert the sender when the message can't be
delivered because the receiver is over quota.

If you can deliver messages (alerts) to a receiver who is over quota, then
you have a different understanding of "over quota" than I do.

--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


bisdiouf at orange

Mar 2, 2010, 12:45 AM

Post #4 of 10 (1218 views)
Permalink
Re: quota excedeed [In reply to]

Hello,
I'm using exim with dovecot and ldap. I've define the user quota in ldap
attributes and at this moment I've customers who receive mail and yet the
quota is over.
Can you explain me how you have configure your exim and I'll compare the
configuration.

Best regards.
>
>
> --On 1 March 2010 15:56:16 +0000 bisdiouf [at] orange wrote:
>
>> Hello,
>> I want to configure exim alerting the sender and the receiver when the
>> quota is excedeed.
>
> I think Exim will already alert the sender when the message can't be
> delivered because the receiver is over quota.
>
> If you can deliver messages (alerts) to a receiver who is over quota, then
> you have a different understanding of "over quota" than I do.
>
> --
> Ian Eiloart
> IT Services, University of Sussex
> 01273-873148 x3148
> For new support requests, see http://www.sussex.ac.uk/its/help/
>





--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


mihamina at gulfsat

Mar 2, 2010, 1:00 AM

Post #5 of 10 (1202 views)
Permalink
Re: quota excedeed [In reply to]

> bisdiouf [at] orange :
> I'm using exim with dovecot and ldap. I've define the user quota in
> ldap attributes and at this moment I've customers who receive mail and
> yet the quota is over.

Ok, that is clearer.
But then, that means the quota feature you implemented is broken and you
dont want to say to users you failed :-)

> Can you explain me how you have configure your exim and I'll compare
> the configuration.

The common way is to paste you config somewhere so that people can
discuss it.

--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


iane at sussex

Mar 2, 2010, 3:41 AM

Post #6 of 10 (1201 views)
Permalink
Re: quota excedeed [In reply to]

--On 2 March 2010 08:45:44 +0000 bisdiouf [at] orange wrote:

> Hello,
> I'm using exim with dovecot and ldap. I've define the user quota in ldap
> attributes and at this moment I've customers who receive mail and yet the
> quota is over.

Then "quota" on dovecot must mean something different than I understand.
How is it possible to deliver email to dovecot if the user is over quota?
What happens to a user who is over quota on dovecot?

My understanding is that a quota is the limit beyond which email will not
be delivered to an account.

> Can you explain me how you have configure your exim and I'll compare the
> configuration.

My system is Exim with Cyrus-IMAP. Delivery to the mailstore is via LMTP.
Cyrus simply refuses the email with a 4xx when I attempt to deliver it.
There's nothing in the Exim configuration that does anything special at
all. In fact the string "quota" does not appear in my config file.

When we delivered direct to mailboxes for Washington IMAP, quotas were
enforced in Exim. I think they were set in transport options.

What type of transport are you using for delivery to dovecot?

> Best regards.
>>
>>
>> --On 1 March 2010 15:56:16 +0000 bisdiouf [at] orange wrote:
>>
>>> Hello,
>>> I want to configure exim alerting the sender and the receiver when the
>>> quota is excedeed.
>>
>> I think Exim will already alert the sender when the message can't be
>> delivered because the receiver is over quota.
>>
>> If you can deliver messages (alerts) to a receiver who is over quota,
>> then you have a different understanding of "over quota" than I do.
>>
>> --
>> Ian Eiloart
>> IT Services, University of Sussex
>> 01273-873148 x3148
>> For new support requests, see http://www.sussex.ac.uk/its/help/



--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


bisdiouf at orange

Mar 2, 2010, 3:56 AM

Post #7 of 10 (1207 views)
Permalink
Re: quota excedeed [In reply to]

hello,
my transport configuration

dovecot_virtual_delivery:
driver = pipe
command = /usr/libexec/dovecot/deliver -d $local_part
message_prefix =
message_suffix =
delivery_date_add
envelope_to_add
return_path_add
log_output
user = vmail

>
>
> --On 2 March 2010 08:45:44 +0000 bisdiouf [at] orange wrote:
>
>> Hello,
>> I'm using exim with dovecot and ldap. I've define the user quota in ldap
>> attributes and at this moment I've customers who receive mail and yet
>> the
>> quota is over.
>
> Then "quota" on dovecot must mean something different than I understand.
> How is it possible to deliver email to dovecot if the user is over quota?
> What happens to a user who is over quota on dovecot?
>
> My understanding is that a quota is the limit beyond which email will not
> be delivered to an account.
>
>> Can you explain me how you have configure your exim and I'll compare the
>> configuration.
>
> My system is Exim with Cyrus-IMAP. Delivery to the mailstore is via LMTP.
> Cyrus simply refuses the email with a 4xx when I attempt to deliver it.
> There's nothing in the Exim configuration that does anything special at
> all. In fact the string "quota" does not appear in my config file.
>
> When we delivered direct to mailboxes for Washington IMAP, quotas were
> enforced in Exim. I think they were set in transport options.
>
> What type of transport are you using for delivery to dovecot?
>
>> Best regards.
>>>
>>>
>>> --On 1 March 2010 15:56:16 +0000 bisdiouf [at] orange wrote:
>>>
>>>> Hello,
>>>> I want to configure exim alerting the sender and the receiver when the
>>>> quota is excedeed.
>>>
>>> I think Exim will already alert the sender when the message can't be
>>> delivered because the receiver is over quota.
>>>
>>> If you can deliver messages (alerts) to a receiver who is over quota,
>>> then you have a different understanding of "over quota" than I do.
>>>
>>> --
>>> Ian Eiloart
>>> IT Services, University of Sussex
>>> 01273-873148 x3148
>>> For new support requests, see http://www.sussex.ac.uk/its/help/
>
>
>
> --
> Ian Eiloart
> IT Services, University of Sussex
> 01273-873148 x3148
> For new support requests, see http://www.sussex.ac.uk/its/help/
>





--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


bisdiouf at orange

Mar 2, 2010, 4:14 AM

Post #8 of 10 (1206 views)
Permalink
Re: quota excedeed [In reply to]

Hello,
I've many customers and it will busy the server and the execution won't be
at time.

Best regards


> Hi,
>
> why not a script that check this quota and send mail under a crontab?
>
>
>
> 2010/3/1 <bisdiouf [at] orange>
>
>> Hello,
>> I want to configure exim alerting the sender and the receiver when the
>> quota is excedeed.
>>
>>
>>
>> --
>> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
>> ## Exim details at http://www.exim.org/
>> ## Please use the Wiki with this list - http://wiki.exim.org/
>>
>
>





--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


iane at sussex

Mar 2, 2010, 4:44 AM

Post #9 of 10 (1202 views)
Permalink
Re: quota excedeed [In reply to]

--On 2 March 2010 11:56:52 +0000 bisdiouf [at] orange wrote:

> hello,
> my transport configuration
>
> dovecot_virtual_delivery:
> driver = pipe
> command = /usr/libexec/dovecot/deliver -d $local_part
> message_prefix =
> message_suffix =
> delivery_date_add
> envelope_to_add
> return_path_add
> log_output
> user = vmail

Thanks.

First you need to make sure you have the Dovecot quote plugins installed
and configured. <http://wiki.dovecot.org/Quota>

Then, you need to use "-e" and temp_errors when delivering, as in the last
example at <http://wiki.dovecot.org/LDA/Exim>. "-e" will return an error
when delivering to an over quota mailbox. temp_errors will tell Exim when
the error should be regarded as temporary.

When this is done, Exim will be unable to deliver messages to over-quota
mailboxes. It will retry in accordance with your retry rules, and send
notifications to the sender. It won't email the recipient, since the
recipient can't receive emails.

There's a dovecot plug-in to enable IMAP notifications when over quota. If
your users aren't using IMAP, then you will need to arrange that they are
emailed when their mailbox gets to, say 90% of quota. For that, I think,
you'll need a cron job to find the mailbox sizes. I don't know how you'd do
that, because I don't know how dovecot stores its email. In the worst case,
you'd need to use an IMAP query.

>>
>>
>> --On 2 March 2010 08:45:44 +0000 bisdiouf [at] orange wrote:
>>
>>> Hello,
>>> I'm using exim with dovecot and ldap. I've define the user quota in ldap
>>> attributes and at this moment I've customers who receive mail and yet
>>> the
>>> quota is over.
>>
>> Then "quota" on dovecot must mean something different than I understand.
>> How is it possible to deliver email to dovecot if the user is over quota?
>> What happens to a user who is over quota on dovecot?
>>
>> My understanding is that a quota is the limit beyond which email will not
>> be delivered to an account.
>>
>>> Can you explain me how you have configure your exim and I'll compare the
>>> configuration.
>>
>> My system is Exim with Cyrus-IMAP. Delivery to the mailstore is via LMTP.
>> Cyrus simply refuses the email with a 4xx when I attempt to deliver it.
>> There's nothing in the Exim configuration that does anything special at
>> all. In fact the string "quota" does not appear in my config file.
>>
>> When we delivered direct to mailboxes for Washington IMAP, quotas were
>> enforced in Exim. I think they were set in transport options.
>>
>> What type of transport are you using for delivery to dovecot?
>>
>>> Best regards.
>>>>
>>>>
>>>> --On 1 March 2010 15:56:16 +0000 bisdiouf [at] orange wrote:
>>>>
>>>>> Hello,
>>>>> I want to configure exim alerting the sender and the receiver when the
>>>>> quota is excedeed.
>>>>
>>>> I think Exim will already alert the sender when the message can't be
>>>> delivered because the receiver is over quota.
>>>>
>>>> If you can deliver messages (alerts) to a receiver who is over quota,
>>>> then you have a different understanding of "over quota" than I do.
>>>>
>>>> --
>>>> Ian Eiloart
>>>> IT Services, University of Sussex
>>>> 01273-873148 x3148
>>>> For new support requests, see http://www.sussex.ac.uk/its/help/
>>
>>
>>
>> --
>> Ian Eiloart
>> IT Services, University of Sussex
>> 01273-873148 x3148
>> For new support requests, see http://www.sussex.ac.uk/its/help/
>>
>
>
>
>



--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


iane at sussex

Mar 2, 2010, 4:50 AM

Post #10 of 10 (1200 views)
Permalink
Re: quota excedeed [In reply to]

--On 2 March 2010 12:14:11 +0000 bisdiouf [at] orange wrote:

> Hello,
> I've many customers and it will busy the server and the execution won't be
> at time.

You may have no choice. Dovecot's Local Delivery Agent doesn't report quota
size when you're delivering email. You'll have to run a script to find out
the current usage. You can do this at delivery time (but it's complex), or
you can do this according to a cron schedule.

If you do it at delivery time, then you'll be adding more load at a time
when the server is busy. With a cron schedule, you can pick a typically
quiet time. And, you can even check the system load before proceeding. And,
you can serialise the accesses to keep the load down.

One thing that you could do is write the results to a file where Exim can
look them up. In this way, you can email the recipient when they get close
to the quota, but before you are unable to deliver email to them.

> Best regards
>
>
>> Hi,
>>
>> why not a script that check this quota and send mail under a crontab?
>>
>>
>>
>> 2010/3/1 <bisdiouf [at] orange>
>>
>>> Hello,
>>> I want to configure exim alerting the sender and the receiver when the
>>> quota is excedeed.
>>>
>>>
>>>
>>> --
>>> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
>>> ## Exim details at http://www.exim.org/
>>> ## Please use the Wiki with this list - http://wiki.exim.org/
>>>
>>



--
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.