Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 15:46:25 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD vnode's + postfix - "File too large" errors ...
Message-ID:  <20021215153045.R13175-100000@hub.org>

next in thread | raw e-mail | index | archive | help

I'm at a loss as to how to debug this ... I have a jail installed inside
of a vnode, but when I try to send email to it through postfix, I get the
following:

Dec 15 19:21:58 vmtest postfix/postfix-script: starting the Postfix mail system
Dec 15 19:21:58 vmtest postfix/master[92253]: daemon started -- version 1.1.11-20021115
Dec 15 19:22:08 vmtest postfix/postdrop[92274]: warning: uid=0: File too large
Dec 15 19:22:08 vmtest postfix/sendmail[92273]: fatal: root(0): Message file too big
Dec 15 19:22:19 vmtest postfix/postfix-script: stopping the Postfix mail system
Dec 15 19:22:19 vmtest postfix/master[92253]: terminating on signal 15

The vnode itself has 68Meg free:

Filesystem 1K-blocks  Used Avail Capacity  Mounted on
/dev/rvn1a    127022 58708 68314    46%    /v1/1_test

And I checked inodes, and it has 22k available there:

Filesystem 1K-blocks  Used Avail Capacity iused ifree %iused  Mounted on
/dev/rvn1a    127022 58708 68314    46%    9506 22492   30%   /v1/1_test


The command I issued is/was brain dead:

================
vmtest# mail -s "a test" admin


.
EOT
vmtest# postdrop: warning: uid=0: File too large
send-mail: fatal: root(0): Message file too big
=================

My main.cf file is really simple:

---------
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix

mail_owner = postfix

mydestination = hash:/usr/local/etc/postfix/hostnames
virtual_maps = hash:/usr/local/etc/postfix/virtual

mailbox_transport = lmtp:unix:/var/run/socket/lmtp

debug_peer_level = 2

debugger_command =
         PATH=/usr/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/local/sbin/sendmail

newaliases_path = /usr/local/bin/newaliases

mailq_path = /usr/local/bin/mailq

setgid_group = maildrop

manpage_directory = /usr/local/man

sample_directory = /usr/local/etc/postfix

readme_directory = no

smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
        reject_unauth_pipelining
        reject_non_fqdn_recipient
        permit_mynetworks
        permit_sasl_authenticated
        reject_unauth_destination
        reject_unknown_sender_domain
        permit
-----------

I'm running postfix-1.1.11-20021115 right now ... so reasonably up to date
code ...

And, looking at the sample-* config files, the only value taht i can think
to 'set' is the queue_minfree, but from what I can read, its set to 0 by
default ...

everything else inside of teh vnode (so far) appears to work great, only
postfix appears to have a problem ... is there a config option I'm
missing?  Something about vnodes that cause a problem?

thanks ...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021215153045.R13175-100000>