Hello.
I did like you said but got the error while doing make:

./compile local_scan.c
local_scan.c:15:38: error: /usr/include/mysql/mysql.h: No such file or
directory
local_scan.c:34: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c:64: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c:103: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c:162: error: expected Б─≤)Б─≥ before Б─≤*Б─≥ token
local_scan.c: In function Б─≤local_scanБ─≥:
local_scan.c:258: error: Б─≤MYSQLБ─≥ undeclared (first use in this function)
local_scan.c:258: error: (Each undeclared identifier is reported only once
local_scan.c:258: error: for each function it appears in.)
local_scan.c:258: error: Б─≤mysqlБ─≥ undeclared (first use in this function)
make: *** [local_scan.o] Error 1

seems I need mysql sources, right ?
Distro is Ubuntu.


steps done:
cd /var/src
cd netqmail-1.05/netqmail-1.05
wget http://shupp.org/patches/greylisting-20060105.patch
patch < greylisting-20060105.patch
make clean
make

I have the latest toaster running, installed 2 days ago.

Thank you in advance!


On 02/10/2007, Yalcin Cekic <[EMAIL PROTECTED]> wrote:
>
>
>
> Rick Macdougall wrote:
> > Yalcin Cekic wrote:
> >> Hi All,
> >>
> >> I have working mail box. I used shupp toaster v.0.9.2.
> >> I want to install greylisting due to spam.
> >> Here is what I did:
> >> -------
> >> ([EMAIL PROTECTED]:/var/src)# cp -rp netqmail-1.05 netqmail-1.05_org
> >> ([EMAIL PROTECTED]:/var/src)# cd netqmail-1.05/netqmail-1.05
> >> ([EMAIL PROTECTED]:/var/src/netqmail-1.05/netqmail-1.05)# wget
> >> http://shupp.org/patches/greylisting-20060105.patch
> >> ([EMAIL PROTECTED]:/var/src/netqmail-1.05/netqmail-1.05)# patch <
> >> greylisting-20060105.patch
> >> patching file FILES
> >> patching file Makefile
> >> Hunk #2 succeeded at 1702 with fuzz 2 (offset 24 lines).
> >> Hunk #3 succeeded at 1983 (offset 28 lines).
> >> patching file TARGETS
> >> Hunk #1 FAILED at 429.
> >> 1 out of 1 hunk FAILED -- saving rejects to file TARGETS.rej
> >> patching file dbdef.sql
> >> patching file hier.c
> >> Hunk #1 succeeded at 131 (offset 1 line).
> >> patching file install-big.c
> >> Hunk #1 succeeded at 129 (offset 1 line).
> >> patching file local_scan.c
> >> patching file local_scan.h
> >> patching file qmail-envelope-scanner.c
> >> patching file qmail-smtpd.c
> >> Hunk #2 succeeded at 106 (offset 10 lines).
> >> Hunk #3 succeeded at 547 (offset 82 lines).
> >> Hunk #4 succeeded at 751 with fuzz 2 (offset 108 lines).
> >> -------
> >>
> >> I received some some errors, seen above. Then
> >> ----
> >> ([EMAIL PROTECTED]:/var/src/netqmail-1.05/netqmail-1.05)# make clean
> >> ([EMAIL PROTECTED]:/var/src/netqmail-1.05/netqmail-1.05)# make
> >> qmailctl stop
> >> make setup check
> >> chown -R vpopmail:vchkpw /var/qmail/spam
> >> -----
> >> There is no problem for compiling.
> >> I am not sure that greylisting work. Is there any log for that?
> >> My relayfrom table is getting fill. But dns_name and maillog table is
> >> empty.
> >>
> >
> > Only the relayfrom table is used.  You should also see the debug output
> > in /var/log/qmail/smtpd/current.
>
> I can not see any "temporary failure message" in
> /var/log/qmail/smtpd/current. What line should I check?
>
> Thanks,
>
> YC
>

Reply via email to