[Dovecot] save failed to INBOX: Not enough disk space
Hi I migrated to dovecot 2 and I started using lmtp for mail delivery.
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
There is enougth space on disk. and I am not using quota plugin on lmtp
my lmtp conf is as follow:
# ## LMTP specific settings ##
# Support proxying to other LMTP/SMTP servers by performing passdb lookups. #lmtp_proxy = no
# When recipient address includes the detail (e.g. user+detail), try to save # the mail to the detail mailbox. See also recipient_delimiter and # lda_mailbox_autocreate settings. #lmtp_save_to_detail_mailbox = no
protocol lmtp { # Space separated list of plugins to load (default is global mail_plugins). #mail_plugins = $mail_plugins mail_plugins = sieve postmaster_address = admin@domain.tld }
Any idea please?
Thanks
W dniu 08.06.2011 11:16, Osvaldo Alvarez Pozo pisze:
Hi I migrated to dovecot 2 and I started using lmtp for mail delivery.
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
There is enougth space on disk. and I am not using quota plugin on lmtp
Hello! And you have free inodes too and you don't have quota on filesystem? I'm asking to be sure:) Regards!
Hi again
Sorry if I top post, but this problem is urgent as we are losing mails.
We have migrate from dovecot 1.4 to dovecot 2.0.12. But from severals now we have found this on our log files.
relay=smtp1.huissier-justice.fr[private/dovecot-lmtp], delay=5.4, delays=0.74/0/0.01/4.6, dsn=5.2.2, status=bounced (host mail.domain.tld[private/dovecot-lmtp] said: 552 5.2.2 user1@domain.tld Not enough disk space (in reply to end of DATA command))
We use maildir on an ocfs2 filesystem shared by 4 serveurs. The partition is not full the output of df -hi is:
#df -hi Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vmail 30M 21M 9.2M 70% /var/vmail
We noticed this happens when messages are bigger than 5Mbytes, but are not using quota plugins on dovecot-lmtp
this is a part of our dovecot configuration.
service lmtp { chroot = client_limit = 0 drop_priv_before_exec = no executable = lmtp extra_groups = group = idle_kill = 0 inet_listener lmtp { address = 127.0.0.1 ::1 port = 24 ssl = no } privileged_group = process_limit = 0 process_min_avail = 0 protocol = lmtp service_count = 0 type = unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } unix_listener lmtp { group = mode = 0666 user = } user = vsz_limit = 0 }
protocol lmtp { mail_plugins = sieve postmaster_address = admin@domain.tld
In postfix main.cf
mailbox_size_limit = 0 virtual_mailbox_limit = 51200000
Any ideas Please?
Thanks
2011/6/8 Osvaldo Alvarez Pozo nebano@gmail.com:
Hi I migrated to dovecot 2 and I started using lmtp for mail delivery.
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
There is enougth space on disk. and I am not using quota plugin on lmtp
my lmtp conf is as follow:
# ## LMTP specific settings ##
# Support proxying to other LMTP/SMTP servers by performing passdb lookups. #lmtp_proxy = no
# When recipient address includes the detail (e.g. user+detail), try to save # the mail to the detail mailbox. See also recipient_delimiter and # lda_mailbox_autocreate settings. #lmtp_save_to_detail_mailbox = no
protocol lmtp { # Space separated list of plugins to load (default is global mail_plugins). #mail_plugins = $mail_plugins mail_plugins = sieve postmaster_address = admin@domain.tld }
Any idea please?
Thanks
- Osvaldo Alvarez Pozo nebano@gmail.com:
#df -hi Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vmail 30M 21M 9.2M 70% /var/vmail
And without -i?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
Hi the output of df -h is:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vmail 120G 84G 37G 70% /var/vmail
Thanks for your help.
2011/6/8 Ralf Hildebrandt Ralf.Hildebrandt@charite.de:
- Osvaldo Alvarez Pozo nebano@gmail.com:
#df -hi Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vmail 30M 21M 9.2M 70% /var/vmail
And without -i?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On Wed, 2011-06-08 at 13:32 +0200, Osvaldo Alvarez Pozo wrote:
Hi again
Sorry if I top post, but this problem is urgent as we are losing mails.
We have migrate from dovecot 1.4 to dovecot 2.0.12. But from severals now we have found this on our log files.
relay=smtp1.huissier-justice.fr[private/dovecot-lmtp], delay=5.4, delays=0.74/0/0.01/4.6, dsn=5.2.2, status=bounced (host mail.domain.tld[private/dovecot-lmtp] said: 552 5.2.2 user1@domain.tld Not enough disk space (in reply to end of DATA command))
Also, this is Postfix's log message. What does Dovecot LMTP log about it?
On Wed, 2011-06-08 at 11:16 +0200, Osvaldo Alvarez Pozo wrote:
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp
What about filesystem quota?
my lmtp conf is as follow:
A full doveconf -n output would be better.
On 08/06/11 13:47, Timo Sirainen wrote:
On Wed, 2011-06-08 at 11:16 +0200, Osvaldo Alvarez Pozo wrote:
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp
What about filesystem quota?
I remember there were similar issues in the past, due to the fact that messages larger than 128kb were temporarily stored on disk in the users homedir. Maybe this is related?
my lmtp conf is as follow:
A full doveconf -n output would be better.
OP has not posted complete doveconf -n output, nor a specific version (other than 'dovecot 2'). Please do so.
-- Reagrds, Tom
On Wed, 2011-06-08 at 14:04 +0200, Tom Hendrikx wrote:
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp
What about filesystem quota?
I remember there were similar issues in the past, due to the fact that messages larger than 128kb were temporarily stored on disk in the users homedir. Maybe this is related?
That would have given a temporary failure, not an "out of disk space" error. Also nowadays even that doesn't happen, the message is simply read fully into memory.
Although I guess it wouldn't hurt to check if /tmp is full (mail_temp_dir defaults to /tmp again).
Hi according to dovecot -a:
mail_temp_dir = /tmp
and df -h gives
/dev/sda3 942M 18M 877M 2% /tmp
Thanks
2011/6/8 Timo Sirainen tss@iki.fi:
On Wed, 2011-06-08 at 14:04 +0200, Tom Hendrikx wrote:
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp
What about filesystem quota?
I remember there were similar issues in the past, due to the fact that messages larger than 128kb were temporarily stored on disk in the users homedir. Maybe this is related?
That would have given a temporary failure, not an "out of disk space" error. Also nowadays even that doesn't happen, the message is simply read fully into memory.
Although I guess it wouldn't hurt to check if /tmp is full (mail_temp_dir defaults to /tmp again).
Hi Tom,
it is dovecot 2.0.12 this is the doveconf -n output.
There is not file system quota.
This is the output of doveconf -n
# 2.0.12: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-bpo.5-amd64 x86_64 Debian 5.0.5 ocfs2 auth_cache_size = 1 M auth_mechanisms = plain login base_dir = /usr/local/dovecot disable_plaintext_auth = no first_valid_uid = 5000 last_valid_uid = 5000 mail_access_groups = mail mail_gid = 8 mail_location = maildir:/var/vmail/%d/%u/Maildir mail_max_userip_connections = 100 mail_uid = 5000 maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date mmap_disable = yes passdb { args = /usr/local/dovecot/etc/dovecot/sql.conf driver = sql } plugin { quota = maildir:User quota sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap pop3 lmtp sieve service auth { client_limit = 10500 unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } unix_listener auth-userdb { group = mail mode = 0660 user = postfix } } service imap-login { process_min_avail = 2 service_count = 0 vsz_limit = 128 M } service imap { process_limit = 5000 } service lmtp { inet_listener lmtp { address = 127.0.0.1 ::1 port = 24 } unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { process_min_avail = 2 service_count = 0 } service pop3 { process_limit = 5000 }
userdb { driver = prefetch }
userdb { args = /usr/local/dovecot/etc/dovecot/sql.conf driver = sql }
protocol imap { imap_client_workarounds = delay-newmail } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_uidl_format = %08Xu%08Xv }
protocol lmtp { mail_plugins = sieve postmaster_address = admin@domain.tld } protocol sieve { managesieve_implementation_string = Dovecot Pigeonhole managesieve_logout_format = bytes=%i/%o managesieve_max_compile_errors = 5 managesieve_max_line_length = 65536 }
Thanks
2011/6/8 Tom Hendrikx tom@whyscream.net:
On 08/06/11 13:47, Timo Sirainen wrote:
On Wed, 2011-06-08 at 11:16 +0200, Osvaldo Alvarez Pozo wrote:
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp
What about filesystem quota?
I remember there were similar issues in the past, due to the fact that messages larger than 128kb were temporarily stored on disk in the users homedir. Maybe this is related?
my lmtp conf is as follow:
A full doveconf -n output would be better.
OP has not posted complete doveconf -n output, nor a specific version (other than 'dovecot 2'). Please do so.
-- Reagrds, Tom
Osvaldo Alvarez Pozo schreef:
Hi Tom,
it is dovecot 2.0.12 this is the doveconf -n output.
There is not file system quota.
This is the output of doveconf -n
# 2.0.12: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-bpo.5-amd64 x86_64 Debian 5.0.5 ocfs2 auth_cache_size = 1 M auth_mechanisms = plain login base_dir = /usr/local/dovecot disable_plaintext_auth = no first_valid_uid = 5000 last_valid_uid = 5000 mail_access_groups = mail mail_gid = 8 mail_location = maildir:/var/vmail/%d/%u/Maildir mail_max_userip_connections = 100 mail_uid = 5000 maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date mmap_disable = yes passdb { args = /usr/local/dovecot/etc/dovecot/sql.conf driver = sql } plugin { quota = maildir:User quota sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap pop3 lmtp sieve service auth { client_limit = 10500 unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } unix_listener auth-userdb { group = mail mode = 0660 user = postfix } } service imap-login { process_min_avail = 2 service_count = 0 vsz_limit = 128 M } service imap { process_limit = 5000 } service lmtp { inet_listener lmtp { address = 127.0.0.1 ::1 port = 24 } unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { process_min_avail = 2 service_count = 0 } service pop3 { process_limit = 5000 }
userdb { driver = prefetch }
userdb { args = /usr/local/dovecot/etc/dovecot/sql.conf driver = sql }
protocol imap { imap_client_workarounds = delay-newmail } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_uidl_format = %08Xu%08Xv }
protocol lmtp { mail_plugins = sieve postmaster_address = admin@domain.tld } protocol sieve { managesieve_implementation_string = Dovecot Pigeonhole managesieve_logout_format = bytes=%i/%o managesieve_max_compile_errors = 5 managesieve_max_line_length = 65536 }
Thanks
2011/6/8 Tom Hendrikxtom@whyscream.net:
On 08/06/11 13:47, Timo Sirainen wrote:
On Wed, 2011-06-08 at 11:16 +0200, Osvaldo Alvarez Pozo wrote:
But I have found this on my logs "save failed to INBOX: Not enough disk space" . This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp What about filesystem quota?
I remember there were similar issues in the past, due to the fact that messages larger than 128kb were temporarily stored on disk in the users homedir. Maybe this is related?
my lmtp conf is as follow: A full doveconf -n output would be better.
OP has not posted complete doveconf -n output, nor a specific version (other than 'dovecot 2'). Please do so.
-- Reagrds, Tom
Wild guess, What is the disk space of your /var dir or /var/spool for that matter Or df -h for all mounted filesystems.
regards, Johan Hendriks
Hi this is the output of df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda2 5.5G 1.8G 3.6G 33% / tmpfs 502M 0 502M 0% /lib/init/rw udev 10M 680K 9.4M 7% /dev tmpfs 502M 0 502M 0% /dev/shm /dev/sda1 122M 41M 76M 35% /boot /dev/sda3 942M 18M 877M 2% /tmp /dev/sda6 7.4G 812M 6.3G 12% /var/log /dev/mapper/vmail 120G 84G 37G 70% /var/vmail
So /var/spool depends on "/" wich has 3.6G available.
Thanks
2011/6/8 Johan Hendriks joh.hendriks@gmail.com:
Osvaldo Alvarez Pozo schreef:
Hi Tom,
it is dovecot 2.0.12 this is the doveconf -n output.
There is not file system quota.
This is the output of doveconf -n
# 2.0.12: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-bpo.5-amd64 x86_64 Debian 5.0.5 ocfs2 auth_cache_size = 1 M auth_mechanisms = plain login base_dir = /usr/local/dovecot disable_plaintext_auth = no first_valid_uid = 5000 last_valid_uid = 5000 mail_access_groups = mail mail_gid = 8 mail_location = maildir:/var/vmail/%d/%u/Maildir mail_max_userip_connections = 100 mail_uid = 5000 maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date mmap_disable = yes passdb { args = /usr/local/dovecot/etc/dovecot/sql.conf driver = sql } plugin { quota = maildir:User quota sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap pop3 lmtp sieve service auth { client_limit = 10500 unix_listener /var/spool/postfix/private/auth { group = mail mode = 0660 user = postfix } unix_listener auth-userdb { group = mail mode = 0660 user = postfix } } service imap-login { process_min_avail = 2 service_count = 0 vsz_limit = 128 M } service imap { process_limit = 5000 } service lmtp { inet_listener lmtp { address = 127.0.0.1 ::1 port = 24 } unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { process_min_avail = 2 service_count = 0 } service pop3 { process_limit = 5000 }
userdb { driver = prefetch }
userdb { args = /usr/local/dovecot/etc/dovecot/sql.conf driver = sql }
protocol imap { imap_client_workarounds = delay-newmail } protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_uidl_format = %08Xu%08Xv }
protocol lmtp { mail_plugins = sieve postmaster_address = admin@domain.tld } protocol sieve { managesieve_implementation_string = Dovecot Pigeonhole managesieve_logout_format = bytes=%i/%o managesieve_max_compile_errors = 5 managesieve_max_line_length = 65536 }
Thanks
2011/6/8 Tom Hendrikxtom@whyscream.net:
On 08/06/11 13:47, Timo Sirainen wrote:
On Wed, 2011-06-08 at 11:16 +0200, Osvaldo Alvarez Pozo wrote:
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
There is enougth space on disk. and I am not using quota plugin on lmtp
What about filesystem quota?
I remember there were similar issues in the past, due to the fact that messages larger than 128kb were temporarily stored on disk in the users homedir. Maybe this is related?
my lmtp conf is as follow:
A full doveconf -n output would be better.
OP has not posted complete doveconf -n output, nor a specific version (other than 'dovecot 2'). Please do so.
-- Reagrds, Tom
Wild guess, What is the disk space of your /var dir or /var/spool for that matter Or df -h for all mounted filesystems.
regards, Johan Hendriks
On Wed, 2011-06-08 at 14:47 +0300, Timo Sirainen wrote:
On Wed, 2011-06-08 at 11:16 +0200, Osvaldo Alvarez Pozo wrote:
But I have found this on my logs "save failed to INBOX: Not enough disk space" .
This means that a write() (or some other syscall) returned either ENOSPC or EDQUOT error message, or that quota plugin decided user is out of quota.
Actually quota plugin gives a different error message. The only possibility I can think of is that ocfs2 has decided to start returning "no disk space" failures when Dovecot tries to create files.
Does this happen for every mail delivery? Can you manually create more files? Can you upload messages via IMAP (i.e. is it only LMTP that is the problem?
participants (6)
-
Johan Hendriks
-
Marcin Mirosław
-
Osvaldo Alvarez Pozo
-
Ralf Hildebrandt
-
Timo Sirainen
-
Tom Hendrikx