Where can the Sun Java System Messaging Server message sizes be limited?
Every now and then our customer with Sun Messaging Server (6.3 from JCS5) asks, "what limits the mesage size?"
The question is usually preceded by an error message along the lines of "SMTP Error: 5.3.4 a message size of 302 kilobytes exceeds the size limit of 300 kilobytes computed for this transaction".
I'd like this thread to become one place which lists all possible locations in the configurable environment of Messaging Server, so I can point people to it (and so can others). Since I'm not yet very experienced with SJSMS, it would help a lot :)
I'd certainly want other people to correct me if I'm wrong in the snippets below.
As far as I can think, there are quite a few locations:
* channel definitions (blocklimit, sourceblocklimit, maxblocks values) in /opt/SUNWmsgsr/config/imta.cnf (which channels, to be certain?), i.e.
tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
* BLOCK_LIMIT value in option.dat, i.e.:
! Limit message size; default block = 1024b
BLOCK_LIMIT=20000
* possibly dispatcher.cnf and other files?
* individual quotas (per-user, maybe per-org) set in LDAP, both the limits in "service packages" (max message size, mailbox quotas) and individual fields for users (at least the mailbox quotas in bytes and messages). These can be set and viewed via Delegated Admin web-GUI.
I have seen the thread below, which was very helpful in some cases, but it did not answer all of my questions:
http://forum.java.sun.com/thread.jspa?threadID=5056099&messageID=9213277
PS: Kudos to Jay Plesset for his numerous replies all over the messaging forums. I hope he replies in this thread too and adds some valuable insight :)
PPS: Some interface other than direct LDAP to change the Service Packages would be nice.
PPPS: While browsing around the Delegated Admin today, I didn't find a table which would list the amount of storage and number of messages consumed by a user, group nor organization. Did I miss something obvious, or is such information not available?