[Mimedefang] Quarantine Message Variable

David F. Skoll dfs at roaringpenguin.com
Sun Apr 20 15:12:01 EDT 2003


On Sun, 20 Apr 2003, schmaus wrote:

> When a message is quarantined, it creates a directory in the
> /var/spool/MIMEDefang with a name qdir- "the date".  I am
> curious if there is a variable that holds this directory
> name?  If so, when and where is it accessible?

You can retrieve this name as follows:

	$qdir = get_quarantine_dir();

This was marked as "unofficial", but so many people use it that I will
make it part of the official API.

Note that if the directory doesn't yet exist, get_quarantine_dir generates
a name and creates the directory.

Regards,

David.



More information about the MIMEDefang mailing list