Re: About folder /var/spool/squirrelmail/attach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/8/07, Hongwei Li <hongwei@xxxxxxxxx> wrote:
> Hi,
>
> We have a FC4 linux system that has squirrelmail 1.4.6-3.fc4 installed. It is
> working normally, does not showing any particular problem. Recently, I notice
> that the folder /var/spool/squirrelmail/attach gets very big. When I check it,
> it shows something like:
>
> # ls -l /var/spool/squirrelmail/attach/
> ....
> -rw-r--r--  1 apache apache     2772 Sep 21 15:27
> Ym5u50koW5Xu5hltepNscfWeeJKpNc87
> -rw-------  1 apache apache 48723603 Oct  3 16:09
> yNm6OVldo6OzCUuNWekBw36vR7DTp1hR
> -rw-r--r--  1 apache apache   148913 Oct 27 21:21
> YRc7iBEWQA4jb1qQ2QMpmV4e4CBNVjqH
> -rw-r--r--  1 apache apache   326891 Jul 29  2006
> yTtcIMfNNQ50Now1L3coyhMcBA4J3JCn
> ....
>
> These files are html, part header, jpg image, data, etc. My question is what
> these files are? Are they the attachment to the mails users sent out? or
> received? I tested my account. When I received an email with attachment, the
> attach folder does not show any change (hope I didn't miss any fast change).
> When I attach a file to a mail I am going to send out, the attach folder shows
> a new entry with the correct time stamp. After I click the Send button, the
> mail with the attachment was sent out, then that entry in attach folder is
> gone.  If I understand correctly, that folder is for squirrelmail to
> temporarily hold attachments to send out. If that is correct, does it mean
> that all of files in my /var/spool/squirrelmail/attach folder are attachments
> users were going to send out, but failed, so the folder hold them? But, I

Yes, exactly.  But SM is not "holding" them per se.  The users either
decided not to send the message or the message send failed for some
odd reason.  This is not any bug, thus no user complaints.  All you
need to do is have a cron job that periodically cleans out attachments
older than X minutes/days.  The website has examples of this.

> never heard any of my users complain about failure?
>
> Can anybody explain it better? Is it safe to clean all of those files in that
> folder?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux