Kolus Maximiliano <[EMAIL PROTECTED]> wrote:
> 
> I'm doing a strong perl spamfilter that uses qmail qfilter with the
> qmail QUEUE patch from the same author. Everything is nice except for one
> thing: it's protecting the internet from US and not US _from_ the internet.

That's a configuration error on your part.

> 127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/spamfilter/spamfilter.sh"
> 192.168.6.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/spamfilter/spamfilter
> .sh"
> 192.168.12.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/spamfilter/spamfilte
> r.sh"
> 172.16.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/spamfilter/spamfilter.sh
> "
> 
>       I believe that the variable is set _only_ if the connections came
> from 127.0.0.0/8, 192.168.6.0/24, 192.168.12.0/24 and 172.16.0.0/16 and
> _not_ if it's coming from the outside.
> 
>       Any ideas?

Add a line to the file which sets the variable for all other IP address
-- see the documentation for tcpserver for specifics, but something
like:

:allow,QMAILQUEUE="/foo/bar.pl"

would do the trick.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to