On 09/30/2010 03:58 AM, 85339482 wrote:
I have install dspam combination with qmail. everything is ok,but quarantine function don't work! There are nothing in Quarantine tag in WEBUI. it's so weird!


How are you pluging DSPAM into qmail? From the code below i can only see a test for X-DSPAM-Result and nothing else related to DSPAM.

Are you using simscan? Are you using DSPAM just before de LDA?

Without further implementation description it's to know what is going wrong.


For what is worth, i have DSPAM set up with qmail and my quarantine works just fine.

Regards,

Hugo Monteiro.


User "extmail" to login WEBUI and be trained by dspam

My mailfilter content following:
SHELL=/bin/sh
import EXT
import HOST

vhome=`~vpopmail/bin/vuserinfo -d $...@$host`
vspam=`~vpopmail/bin/vuserinfo -d $...@$host`

`test -d $vhome/Maildir/`

if ( $RETURNCODE != 0 )
{
        echo "Sorry, but the user $...@$host does not exist"
        EXITCODE=77
        exit
}

if ( $SIZE < 262144 )
{
 exception {
        xfilter "/usr/bin/spamc -f -u $...@$host"
    }
}

if (/^X-Spam-Flag: YES/:h || /^X-DSPAM-Result:.*Spam/)
{
        `test -d $vspam/Maildir/.Junk`
        if ( $RETURNCODE != 0 )
        {
#`maildirmake $vspam/Maildir/.Junk;chown -R vpopmail: $vspam/Maildir/.Junk` `maildirmake /var/spool/mail/extmail/.Junk;chown -R vpopmail: /var/spool/mail/extmail/.Junk`
        }
        to "$vspam/Maildir/.Junk/."
        EXITCODE=0
}
else
{
        to "$vhome/Maildir/."
}

I need your help!
Thanks


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev


_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : hugo.monte...@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                ap...@fct.unl.pt

fct.unl.pt:~# _

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to