Koozali.org: home of the SME Server

e-mail large files

Kevin Manderson

e-mail large files
« on: March 21, 2002, 12:50:38 AM »
Checking why I received a complaint that an e-mail wasn't delivered (with different versions of 'it was sent to us' and 'we sent it')

Hunting through the logs I found it was an 18MB attachment (not me someone else :-}, but that is another story) being sent. Anyway the qmail log shows new msg line, recipient line details and end msg, all normal and expected. Appears to have transferred correctly. I checked maillog and discovered the same e-mail transaction but an accompanying message 'couldn't lock spool file using flock (resource temporarily unavailable)' and the next logged line has the normal 'forwarded to recipient' but it is 1 second later (suspicious... 18MB/second on ADSL - not likely - especially when the qmail log indicated 4 hours, which maybe an error timeout period).

Query. Anyone else seen this, why the difference in the logs and what does the error actually mean.  Has it failed due to an allocation error this or that end. Is it a bug in qmail or smtpfwd? does it just drop the message after a failure like this?

A du in the /var/ tree shows nothing unexpectedly large under qmail. I can't see any other large files around that are the right size anywhere.  Adequate disk space - a df shows over 250MB on the / partition and 500MB on a second drive mounted as /var/log (swap is 250MB).

I am implementing an ibay for future use but meanwhile would like to track this one down.

Any ideas

Regards
kevin

Ronald de Boer

Re: e-mail large files
« Reply #1 on: March 27, 2002, 09:14:14 AM »
Don't know if this is the problem but E-Smith has a default limit of incoming and out-going file size of 2 Meg.  

When sending an e-mail in Webmail, I get the error "Warning: undefined variable: attachments_size in /home/httpd/horde/imp/compose.php3 on line xxx"
This is due to an attachement file size limit. Be default, attempts to send attachements greater than 2MB via webmail will result in this error. This size limit can be modified -- there is a contributed HOWTO providing instructions on how to do this:

www.e-smith.org/docs/howto/

Hope this helps