Re: [exim] Exim quota exceeded

Top Page
Delete this message
Reply to this message
Author: Dzmitry Shykuts
Date:  
To: 'Exim-users'
Subject: Re: [exim] Exim quota exceeded
1:

### transport/30_exim4-config_maildir_virtual
#################################

# Use this instead of mail_spool if you want to to deliver to Maildir in
# home-directory - change the definition of LOCAL_DELIVERY
#
maildir_virtual:
debug_print = "T: maildir_virtual for $local_part@$domain"
driver = appendfile
directory = VIRTUAL_MAILDIR/$local_part
create_directory
delivery_date_add
envelope_to_add
return_path_add
maildir_format
directory_mode = 02700
mode = 02600
group = mail
mode_fail_narrower = false
quota = 300M

2:

root@mail:/etc/exim4/conf.d/transport# df
Файл.система   1K-blocks Использовано  Доступно Использовано% Cмонтировано в
/dev/sda2      279563784      3477148 261862588            2% /
none                   4            0         4            0% /sys/fs/cgroup
udev             4011560            4   4011556            1% /dev
tmpfs             804468         1020    803448            1% /run
none                5120            0      5120            0% /run/lock
none             4022324            0   4022324            0% /run/shm
none              102400            0    102400            0% /run/user
/dev/sda1         524016         3428    520588            1% /boot/efi


root@mail:/etc/exim4/conf.d/transport# df -i
Файл.система     Iнодов IИспользовано IСвободно IИспользовано% Cмонтировано
в
/dev/sda2      17760256        115419  17644837             1% /
none            1005581             2   1005579             1%
/sys/fs/cgroup
udev            1002890           479   1002411             1% /dev
tmpfs           1005581           552   1005029             1% /run
none            1005581             1   1005580             1% /run/lock
none            1005581             1   1005580             1% /run/shm
none            1005581             2   1005579             1% /run/user
/dev/sda1             0             0         0              - /boot/efi


3:
exim -bt -d+deliver+transport dshykuts@???

Exim version 4.82 uid=0 gid=0 pid=7461 D=fbb95cfd
Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS
move_frozen_messages Content_Scanning DKIM Old_Demime
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz
dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Compiler: GCC [4.8.2]
Library version: GnuTLS: Compile: 2.12.23
                         Runtime: 2.12.23
Library version: Cyrus SASL: Compile: 2.1.25
                             Runtime: 2.1.25 [Cyrus SASL]
Library version: PCRE: Compile: 8.31
                       Runtime: 8.31 2012-07-06
Total 19 lookups
Library version: MySQL: Compile: 5.5.35 [(Ubuntu)]
                        Runtime: 5.5.43
Library version: SQLite: Compile: 3.8.2
                         Runtime: 3.8.2
WHITELIST_D_MACROS: "OUTGOING"
TRUSTED_CONFIG_LIST: "/etc/exim4/trusted_configs"
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=7461
  auxiliary group list: <none>
seeking password data for user "uucp": cache not available
getpwnam() succeeded uid=10 gid=10
changed uid/gid: calling tls_validate_require_cipher
  uid=110 gid=118 pid=7462
  auxiliary group list: <none>
tls_validate_require_cipher child 7462 ended: status=0x0
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00632001
trusted user
admin user
seeking password data for user "mail": cache not available
getpwnam() succeeded uid=8 gid=8
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=118 euid=0 egid=118

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing dshykuts@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering dshykuts@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing dshykuts@???
--------> hubbed_hosts router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
expansion of "${if
exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail
}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> dnslookup_relay_to_domains router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
brest.beltelecom.by in "@:localhost:*brest.beltelecom.by"? yes (matched
"*brest.beltelecom.by")
brest.beltelecom.by in "! +local_domains : +relay_to_domains"? no (matched
"! +local_domains")
dnslookup_relay_to_domains router skipped: domains mismatch
--------> dnslookup router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
cached yes match for +local_domains
cached lookup data = NULL
brest.beltelecom.by in "! +local_domains"? no (matched "! +local_domains" -
cached)
dnslookup router skipped: domains mismatch
--------> real_local router <--------
local_part=dshykuts domain=brest.beltelecom.by
real_local router skipped: prefix mismatch
--------> virtual_list router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
search_open: dsearch "/etc/mail/domains"
search_find: file="/etc/mail/domains"
key="brest.beltelecom.by" partial=-1 affix=NULL starflags=0
LRU list:
5/etc/mail/domains
End
internal_search_find: file="/etc/mail/domains"
type=dsearch key="brest.beltelecom.by"
file lookup required for brest.beltelecom.by
in /etc/mail/domains
lookup yielded: brest.beltelecom.by
brest.beltelecom.by in "dsearch;/etc/mail/domains"? yes (matched
"dsearch;/etc/mail/domains")
checking local_parts
dshykuts in "all"? no (end of list)
virtual_list router skipped: local_parts mismatch
--------> virtual_aliases router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
search_open: dsearch "/etc/mail/domains"
cached open
search_find: file="/etc/mail/domains"
key="brest.beltelecom.by" partial=-1 affix=NULL starflags=0
LRU list:
5/etc/mail/domains
End
internal_search_find: file="/etc/mail/domains"
type=dsearch key="brest.beltelecom.by"
cached data used for lookup of brest.beltelecom.by
in /etc/mail/domains
lookup yielded: brest.beltelecom.by
brest.beltelecom.by in "dsearch;/etc/mail/domains"? yes (matched
"dsearch;/etc/mail/domains")
R: virtual_aliases for dshykuts@???
calling virtual_aliases router
rda_interpret (string): ${if
exists{/etc/mail/domains/$domain/aliases}{${lookup{$local_part}lsearch{/etc/
mail/domains/$domain/aliases}}}}
search_open: lsearch "/etc/mail/domains/brest.beltelecom.by/aliases"
search_find: file="/etc/mail/domains/brest.beltelecom.by/aliases"
key="dshykuts" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/mail/domains/brest.beltelecom.by/aliases
5/etc/mail/domains
End
internal_search_find: file="/etc/mail/domains/brest.beltelecom.by/aliases"
type=lsearch key="dshykuts"
file lookup required for dshykuts
in /etc/mail/domains/brest.beltelecom.by/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
virtual_aliases router declined for dshykuts@???
--------> system_aliases router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
brest.beltelecom.by in "@ : localhost"? no (end of list)
brest.beltelecom.by in "+localhost_domains"? no (end of list)
system_aliases router skipped: domains mismatch
--------> userforward router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
cached no match for +localhost_domains
cached lookup data = NULL
brest.beltelecom.by in "+localhost_domains"? no (end of list)
userforward router skipped: domains mismatch
--------> procmail router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
cached no match for +localhost_domains
cached lookup data = NULL
brest.beltelecom.by in "+localhost_domains"? no (end of list)
procmail router skipped: domains mismatch
--------> maildrop router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
cached no match for +localhost_domains
cached lookup data = NULL
brest.beltelecom.by in "+localhost_domains"? no (end of list)
maildrop router skipped: domains mismatch
--------> lowuid_aliases router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
cached no match for +localhost_domains
cached lookup data = NULL
brest.beltelecom.by in "+localhost_domains"? no (end of list)
lowuid_aliases router skipped: domains mismatch
--------> virtual_user router <--------
local_part=dshykuts domain=brest.beltelecom.by
checking domains
search_open: dsearch "/etc/mail/domains"
cached open
search_find: file="/etc/mail/domains"
key="brest.beltelecom.by" partial=-1 affix=NULL starflags=0
LRU list:
5/etc/mail/domains
:/etc/mail/domains/brest.beltelecom.by/aliases
End
internal_search_find: file="/etc/mail/domains"
type=dsearch key="brest.beltelecom.by"
cached data used for lookup of brest.beltelecom.by
in /etc/mail/domains
lookup yielded: brest.beltelecom.by
brest.beltelecom.by in "dsearch;/etc/mail/domains"? yes (matched
"dsearch;/etc/mail/domains")
R: virtual_user for dshykuts@???
checking "condition"
search_open: lsearch "/etc/mail/domains/brest.beltelecom.by/passwd"
search_find: file="/etc/mail/domains/brest.beltelecom.by/passwd"
key="dshykuts" partial=-1 affix=NULL starflags=0
LRU list:
:/etc/mail/domains/brest.beltelecom.by/passwd
5/etc/mail/domains
:/etc/mail/domains/brest.beltelecom.by/aliases
End
internal_search_find: file="/etc/mail/domains/brest.beltelecom.by/passwd"
type=lsearch key="dshykuts"
file lookup required for dshykuts
in /etc/mail/domains/brest.beltelecom.by/passwd
lookup yielded: XXXXXXXX
calling virtual_user router
virtual_user router called for dshykuts@???
domain = brest.beltelecom.by
set transport maildir_virtual
queued for maildir_virtual transport: local_part = dshykuts
domain = brest.beltelecom.by
errors_to=NULL
domain_data=brest.beltelecom.by localpart_data=NULL
routed by virtual_user router
envelope to: dshykuts@???
transport: maildir_virtual
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=7461 terminating with rc=0 >>>>>>>>>>>>>>>>


On 2015-06-04 08:45, Evgeniy Berdnikov wrote:
> On Thu, Jun 04, 2015 at 09:55:04AM +0300, Dzmitry Shykuts wrote:
> >
> > Have a Ubuntu 14.04.2 LTS, Exim 4.82-3ubuntu2, dovecot

1:2.2.9-1ubuntu2.1
> > running. Also have a quota option in append file transport with 300M

value
> > for virtual users.
> >
> > I received next log records:
> >
> > ...(-22): mailbox is full (MTA-imposed quota exceeded while writing to
> > tmp/1433399682.H314842P28479...
> >
> > When I verified the size of maildir it was only 1K, but I start receive
> > messages about quota exceeded.
> >
> > Where is an error? What really happened?
>
>  1. First, show your transport configuration.
>  2. Show output of "df" and "df -i" on fs where mailboxes are located.
>  2. Show output when Exim run with debugging options -d+deliver+transport.


> --
>  Eugene Berdnikov
>
>