[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail-scanner-general
Subject:    Re: [Qmail-scanner-general] Modifying qmail-scanner-queue.pl
From:       Salvatore Toribio <toribio () pusc ! it>
Date:       2007-02-05 16:58:53
Message-ID: a0624080bc1ed0f9776d4 () [10 ! 0 ! 1 ! 2]
[Download RAW message or body]

>Hi list:
>          Again i'm asking about this, sorry for the insistence but i
>need to some skilled Perl programmer to modify the archiveit function
>on a way that backups only non-quaratine messages, by now the
>functions works good, but it archive all kind of messages
>(non-quaratinable/quarantinable).
>

Well pibe, you do not really need a 'skilled' programmer to do 
that... it is really simple. If you search for the variable 
'$archiveit' you'd find that is only used in the routine 'sub 
cleanup' and following the code you could see the third 'if' 
statement that controls whether to archive or not a message. So 
change it from:

   if (!$archiveit) {

to:

   if (!$archiveit || $quarantine_description ) {

This might work, test it...

Regards

ST

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic