[Mimedefang] keeping temp directories

Paul Murphy Paul.Murphy at argentadiscovery.com
Tue Oct 28 05:51:24 EDT 2008

>>> "David F. Skoll" <dfs at roaringpenguin.com> 28/10/2008 01:42 >>>
>> Can I force mimedefang to keep its /var/spool/mimedefang temp
>> directories even after the client has disconnected?

> Not without hacking the source.

Except of course:

       -d     The -d switch causes mimedefang not to  delete  the
              temporary  spool files it creates for incoming mes-
              sages.  This is for  debugging  purposes  only  and
              should never be used on a production mail server.

I run this on a production server, with a cron script to remove directories older than 12 hours, so that I can go back and force bayes learning of messages which weren't picked up as spam, or to work out what happened.  However, you need to be very careful about how you do this, and make sure that your company has policies which allow you to store and archive mail, otherwise you could be in serious (legal) trouble depending on the laws of your country.

Best Wishes,


Argenta Discovery Ltd, 8-9 Spire Green Centre, Harlow, Essex, CM19 5TR
Registered in England No. 3671653

More information about the MIMEDefang mailing list