You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Phillip Rhodes <sp...@rhoderunner.com> on 2006/11/18 04:51:22 UTC

Cleaning up the james filesystem ( i.e. /var/mail/spam)

I was tarring up a james installation, and there are an awful lot of
files in the /var/mail/spam, the /var/mail/address-error, and some other
folders.  Is this stuff that james deletes on a regular basis, or should
I do a regular "pruning" of the different files that james stores?

Does anyone have any experience or thoughts on this?  I am thinking that
I will write a couple of ant scripts and run them via cron to clean up
this stuff.

Thanks.




---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Cleaning up the james filesystem ( i.e. /var/mail/spam)

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
James inserts mails in those folders ("repositories") based on settings 
in the default config.xml file (see "ToRepository" mailet entries).
It will not delete them on a regular basis, as the (default) purpose is 
to let you check them before manually deleting.

If you are not interested in that, simply do a one-shot manual cleanup 
and comment out such configuration entries.

FYI, my personal choice is to comment out the /var/mail/spam and the 
/var/mail/address-error entries, ignoring that kind of messages, and 
instead keeping (*and checking*) the /var/mail/error repository.

Vincenzo

Phillip Rhodes wrote:
> I was tarring up a james installation, and there are an awful lot of
> files in the /var/mail/spam, the /var/mail/address-error, and some other
> folders.  Is this stuff that james deletes on a regular basis, or should
> I do a regular "pruning" of the different files that james stores?
>
> Does anyone have any experience or thoughts on this?  I am thinking that
> I will write a couple of ant scripts and run them via cron to clean up
> this stuff.
>
> Thanks.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org