Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

incoming/outgoing size limit

Status
Not open for further replies.

datadan

IS-IT--Management
Jul 22, 2002
283
US
I am receiving this error:

relay=127.0.0.1[127.0.0.1], delay=299, status=bounced (message size 13193755 exceeds size limit 8388608 of server 127.0.0.1[127.0.0.1])

I have looked through the postfix/mail.cf and the man pages but do not see anything regarding size restrictions. What am I missing?

Thanks,
 
Try removing the -n from your postconf. postconf -n only lists the configuration options that are *not* standard. The default for mailbox_size_limit is 51000000.

However, if you are using a local delivery agent other than postfix (for example, delivery to cyrus-imapd via lmtp) then postfix will not enforce the mailbox size.
 
The error is "queue file size limit exceeded", coming from this snipet...

if (vstream_fflush(state->dst)) {
if (errno == EFBIG) {
msg_warn("%s: queue file size limit exceeded", state->queue_id);
state->errs |= CLEANUP_STAT_SIZE;

So, without having to read the rest of the source, can anyone solve this at a glance?

queue vs. message vs. mailbox...

I am using maildrop for local delivery in /Maildir format.
 
Well, without looking at the rest of the source: EFBIG is a system error code defined in asm/errno.h and errno a global variable that is set by system level file operations.

It looks at though your error is generated because you've exceeded a system limit rather than a postfix limit. Have you checked the output of "ulimit"?
 
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 32764
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top