/tmp: filesystem full

Chuck Swiger cswiger at mac.com
Wed Dec 12 16:52:55 PST 2007


On Dec 12, 2007, at 2:19 PM, Jerry McAllister wrote:
> csar at 123.com.sv wrote:
>> I even restarted the server but the problem is still there.
>> this is what I got every amount of time (not always).
>>
>> root     mail.local  8987    3 /tmp          4 -rw-------   
>> 616886272 rw
>>
>> I don´t understand why mail.local is gathering a file that big
>
> Apparently someone out there keeps trying to resend that awful
> huge mail file, so whenever you restart, it gets stuck in that
> same condition.  If you can track down the source of the file,
> either nuke it or block it.

You should add something like this to your sendmail.mc config:

   define(`confMAX_MESSAGE_SIZE', `21000000')dnl

...which will set a maximum message size that your SMTP server is  
willing to accept.  The recommended max size in the RFCs was something  
like 10 MB, but season to taste.

-- 
-Chuck



More information about the freebsd-questions mailing list