HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Maildrop: Unable to create temporary files (http://www.howtoforge.com/forums/showthread.php?t=54309)

gallen 28th September 2011 08:48

Maildrop: Unable to create temporary files
 
Hi,

I have setup an ISPConfig 3 server as per:
http://www.howtoforge.com/perfect-se...64-ispconfig-3

Everything is working except receiving emails with attachments.

The error message I see is:

Sep 28 14:22:24 ispconfig3 maildrop[5387]: Unable to create temporary file.
Sep 28 14:22:24 ispconfig3 postfix/pipe[5386]: 2585740185: to=<mail@xxxxxxx.com>, orig_to=<xxxxx@xxxxxxx.com>, relay=maildrop, delay=0.02, delays=0.01/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to create temporary file. )

From research so far, it seems maildrop writes to temporary files when messages are over a certain size. So, I assume the problem is that reception of emails with attachments results in Maildrop needing to write to a temp file, which it is having problems with.

Some background:
ls -la /var/tmp/
total 8
drwxrwxrwt. 2 root root 4096 Sep 28 14:22 .
drwxr-xr-x. 28 root root 4096 Sep 15 00:30 ..

ls -l `which maildrop`
-r-sr-sr-x 1 root mail 202224 Sep 14 11:08 /usr/bin/maildrop

maildrop -v
maildrop 2.5.4 Copyright 1998-2005 Double Precision, Inc.
GDBM/DB extensions enabled.
Courier Authentication Library extension enabled.
Maildir quota extension are now always enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.

As I said before, receiving "small" emails is fine, so I presume all the "routing/filtering" functions are working fine. Everything else (web sites, ftp, etc) also work fine.

Appreciate any help.....Graeme.

till 28th September 2011 11:05

Maildrop normally writes the temporary files in /tmp. Please check that /tmp is writable for all users incl. vmail and postfix and if /tmp is a separate partition, then check that it is large enough.

till 28th September 2011 11:16

And if the above wont help, please try a:

chown -R vmail:vmail /var/vmail

gallen 28th September 2011 11:38

Hi Till,

Thanks for the speedy response!

/tmp was the issue (I had assumed it was /var/tmp).

chmod -R a=+rwx /tmp

fixed this problem.

Thanks again....Graeme.


All times are GMT +2. The time now is 20:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.