[Exim] Bug with check_spool_space

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Paul Wilson
Fecha:  
A: exim-users
Asunto: [Exim] Bug with check_spool_space
I'm trying to set check_spool_space to 4000M. Every time someone
includes a SIZE= in the MAIL FROM command, exim always gives a 452 even
though there's way more than 4000MB space free. Space and exim -d 9 info
below. This is exim 4.14. Setting check_spool_space to 400M works as
expected.

(Side note too, any idea why exim will sometimes die on a kill -HUP and
sometimes not?)

Paul

config key:
check_spool_space = 4000M

df -h /var/spool/exim:
Filesystem            Size  Used Avail Use% Mounted on
/dev/md0               33G  665M   31G   3% /var


Exim output:
[10:36] [22] root@machine:/var/spool/exim/log# /usr/exim/bin/exim -bh 127.0.0.1 -d 9
Exim version 4.14 uid=0 gid=0 pid=22890 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Support for:
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=22890
auxiliary group list: <none>
configuration file is /usr/exim/configure
log selector = feffffff
trusted user
admin user
changed uid/gid: privilege not needed
uid=1001 gid=1001 pid=22890
auxiliary group list: <none>
originator: uid=0 gid=0 login=root name=root
sender address = root@???
sender_fullhost = [127.0.0.1]
sender_rcvhost = [127.0.0.1]

**** SMTP testing session as if from host 127.0.0.1
**** but without any ident (RFC 1413) callback.
**** This is not for real!

host in host_lookup? no (option unset)
set_process_info: 22890 handling incoming connection from [127.0.0.1]
host in host_reject_connection? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in recipient_unqualified_hosts? no (option unset)
host in helo_verify_hosts? no (option unset)
host in helo_try_verify_hosts? no (option unset)
gethostbyname returned 1 (HOST_NOT_FOUND)
no IP address found for host true
LOG: host_lookup_failed MAIN
no IP address found for host true
host in helo_accept_junk_hosts? no (failed to find IP address for true)
LOG: smtp_connection MAIN
SMTP connection from [127.0.0.1]
SMTP>> 220 machine.mydomain.net ESMTP Exim 4.14 Mon, 28 Apr 2003 10:36:43 -0500

220 machine.mydomain.net ESMTP Exim 4.14 Mon, 28 Apr 2003 10:36:43 -0500
smtp_setup_msg entered
EHLO foo
SMTP<< EHLO foo
foo in helo_lookup_domains? no (end of list)
sender_fullhost = (foo) [127.0.0.1]
sender_rcvhost = [127.0.0.1] (helo=foo)
set_process_info: 22890 handling incoming connection from (foo) [127.0.0.1]
host in pipelining_advertise_hosts? yes (matched "*")
250-machine.mydomain.net Hello foo [127.0.0.1]
250-SIZE 8388608
250-8BITMIME
250-PIPELINING
250 HELP
SMTP>> 250-machine.mydomain.net Hello foo [127.0.0.1]

250-SIZE 8388608
250-8BITMIME
250-PIPELINING
250 HELP
MAIL FROM:<> SIZE=1024
SMTP<< MAIL FROM:<> SIZE=1024
spool directory /var/spool/exim space = 8137219 blocks; inodes = 4435505; check_space = -100663296 (-24576 blocks); inodes = 0; msg_size = 6024 (1 blocks)
SMTP>> 452 Space shortage, please try later

452 Space shortage, please try later
quit
SMTP<< quit
SMTP>> 221 machine.mydomain.net closing connection

221 machine.mydomain.net closing connection
LOG: smtp_connection MAIN
SMTP connection from (foo) [127.0.0.1] closed by QUIT
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=22890 terminating with rc=0 >>>>>>>>>>>>>>>>