[Mimedefang] Specific quarantine folder

David F. Skoll dfs at roaringpenguin.com
Wed Apr 21 10:58:59 EDT 2004


On Wed, 21 Apr 2004, Ashley M. Kirchner wrote:

>     Is there some way to execute action_quarantine() and specify what
> folder to drop the data in?

Yes, but its undocumented behavior -- don't count on it!

Before executing action_quarantine, set $QuarantineDir to wherever:

   if (spam) {
	$QuarantineDir = '/var/spool/MD-Quarantine/spam';
   } elseif (virus) {
	$QuarantineDir = '/var/spool/MD-Quarantine/virus';
   } else {
	$QuarantineDir = '/var/spool/MD-Quarantine/unknown';
   }

   action_quarantine(....);

--
David.



More information about the MIMEDefang mailing list