Re: [EXIM] Preventing mail spool from filling up

Etusivu
Poista viesti
Vastaa
Lähettäjä: Microwave Systems Eximlist Exploder
Päiväys:  
Vastaanottaja: Nick O'Brien
Kopio: exim-users
Aihe: Re: [EXIM] Preventing mail spool from filling up

>From spec.txt:



check_log_inodes

    Type:    integer
    Default: 0


    See check_spool_space below.


check_log_space

    Type:    integer
    Default: 0


    See check_spool_space below.


check_spool_inodes

    Type:    integer
    Default: 0


    See check_spool_space below.


check_spool_space


    Type:    integer
    Default: 0


    The four check_... options allow for checking of disc resources
before a message is accepted: check_spool_space and check_spool_inodes
check the spool partition if either value is greater than zero, for
example:


      check_spool_space = 10M
      check_spool_inodes = 100


    The spool partition is the one which contains the directory defined
by SPOOL_DIRECTORY in Local/Makefile.


check_log_space and check_log_inodes check the partition in which log
files are written if either is greater than zero. These should be set
only if log_file_path is set to point to a different partition to the
spool directory.

    If there is less space or fewer inodes than requested, Exim refuses
to accept incoming mail. In the case of SMTP input this is done by
giving a 452 temporary error response to the MAIL command. If ESMTP is
in use and there was a SIZE parameter on the MAIL command, its value is
added to the check_spool_space value, and the check is performed even
if check_spool_space is zero, unless no_smtp_check_spool_space is set.


    For non-SMTP input and for batched SMTP input, the test is done at
start-up; on failure a message is written to stderr and Exim exits with
a non- zero code, as it obviously cannot send an error message of any
kind.




On Tue, 1 Jun 1999, Nick O'Brien wrote:

> Hi there,
>
> We are using Exim 2.12 on Solaris 2.51. We have had several cases where a
> user has misconfigurated his/her .forward file so that any received email
> producing hundreds of bounces to that user hence totally filling
> /var/mail. We are also, despite our best attempts to prevent this - i.e.
> moving oversized mailboxes elsewhere, finding that users are having
> mailboxes of ever increasing size.
>
> Unforunately setting max_message_size and mailbox quotas are going to
> very political. Is there a way we can configure Exim so that if free
> space on /var/mail drops below a certain level, Exim will email our mail
> administrators, and will starting queuing mail for local users, instead
> of delivering them?
>
> I had a look through the Exim specification and FAQ but could not see any
> Exim options which dealt with the size of the mail spool.
>
> Does anyone have any suggestions?
>
>     Nick

>
>
> ========================================================================
> "Animal? No, worse - human!", Manny - "Runaway Train"
> Nick O'Brien                        Phone: +44 118 931 8432
> Computer Officer                    Email: N.G.J.OBrien@???
> Reading University, UK              Web: http://www.rdg.ac.uk/~suq98ngo/

>
>
>
> --
> *** Exim information can be found at http://www.exim.org/ ***
>
>



--
*** Exim information can be found at http://www.exim.org/ ***