Hi
Doing mail debug I found this
dovecot: lmtp(12696, user1@domain.tld): Error: o_stream_send_istream(/var/vmail/domain.tld/user1/Maildir/tmp/1307537596.M117043P12696.smtp1) failed: No space left on device
dovecot: lmtp(12696, user1@domain.tld): Error: o_stream_flush(/var/vmail/domain.tld/user1/Maildir/tmp/1307537596.M117043P12696.smtp1) failed: No space left on device
So dovecot write in to a tmp folder inside the user Maildir before definitly copying it to new folder.
But why it says thereis no space left?
2011/6/8 Johan Hendriks <joh.hendriks@gmail.com>:
Osvaldo Alvarez Pozo schreef:
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 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
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
Could it be a permission problem?
mail_gid = 8 On my system this is the same as mail_uid in your case 5000
regards, Johan