WilliamWilson (User)
Posts: 54
|
| individual mail message size "message too large" 2006/10/10 16:17 |
|
|
I have not been able to find this information via the forum or google, so I apologize in advance if I missed it.
Where can I modify the individual message size for a user sending email?
It seems to be set at about ten megs, and unfortunately users now a days are sending messages larger then that. I set the quota on the users mailbox to 500 meg, so it must be somewhere else.
Thank you
|
|
|
|
The administrator has disabled public write access. |
Joe (Admin)
Posts: 4213
|
| Re: individual mail message size "message too large" 2006/10/10 16:29 |
|
|
Hey William,
This is a Postfix option, which I'm beginning to think we ought to crank up by default (I've always assumed Wietse knew better than us what sane defaults for Postfix ought to be...but users always manage to outpace what experts think is reasonable when it comes to email and disk space usage). ;-)
Browse to the Webmin Postfix Configuration module and click on "General resource control". Locate the option labeled "Max size of a message", and add a zero or two to the end of the value for a 100MB or 1000MB limit (I think 100MB is a plenty large limit, but maybe somebody wants to send a CD through email, heaven help us...). Click Save and Apply.
|
|
|
|
The administrator has disabled public write access. |
WilliamWilson (User)
Posts: 54
|
| Re: individual mail message size "message too large" 2006/10/10 17:05 |
|
|
That did the trick, I must have looked at that postfix config page 5 times and didnt see it, and then its right in my face:)
I didnt think it had worked at first, it took almost 15 minutes to process the message. I sent the message in less than a minute (local) and then it was almost 15 minutes before I was able to get it. No wonder postfix puts a ten meg cap on them, I am going to set mine to 30 megs, there are far better ways to send files that large than email. Although, the easier it is for people to build gigantic files the more they are going to want to send huge emails, and since they have a fast computer, they dont even realize that 10 digital photos can be 20 megs.
I work at a print shop, and I see this problem constantly. Digital photos, publisher files, pdf's and we even give the clients a simple ftp batch script and an upload on our webpage, but some refuse, and they keep using email then they wonder why they get a bounce...
thanks!
|
|
|
|
The administrator has disabled public write access. |
WilliamWilson (User)
Posts: 54
|
| Re: individual mail message size "message too large" 2006/10/11 12:04 |
|
|
Ok, I found a problem that was causing the large mail messages to just sit and wait for the change or restart of postfix.
you have to change the max size of a mailbox to be greater than the max size of a message or the logs will show errors telling you that the max mailbox size is smaller than the max size of a message.
I continued to get the error even after I increased the max size of a mailbox to be larger than the max size of a message until I more than doubled the size of the mailbox. I believe this was because I was sending from the same account that I was sending to so it needed room for in and out, but I could be wrong.
Remember it is listed in bytes. I set my max size of message to 45240000 and my max mailbox size to 100000000 and it works great. Takes 3 to 4 minutes for a 30 meg attachment to be ready for download after it is sent. This is most likely caused by machine, that is a 1.3 pentium 4, 384 ram, and single scsi drive.
|
|
|
|
The administrator has disabled public write access. |
|