Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2005 11:48:47 +0200
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc:        freebsd-ports@freebsd.org
Subject:   [Need testers] dspam-devel-3.4.r1 on FreeBSD
Message-ID:  <20050217114847.0e3a38f5@it.buh.tecnik93.com>
In-Reply-To: <20050214130439.06bc2d2a@it.buh.cameradicommercio.ro>
References:  <20050214044109.270db658@it.buh.tecnik93.com> <20050214130439.06bc2d2a@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
A new test version can be fetched from:
http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspam-devel/port/dspam-devel.3.3.4.r1.20050216.0945.tar.gz
MD5 (dspam-devel.3.3.4.r1.20050216.0945.tar.gz) = 014d1c07c977a87db18207015f234027

For me it works. If no negative feedback received I intend to update the
port tomorrow.


cd /usr/ports/mail/ && \
fetch http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspam-devel/port/dspam-devel.3.3.4.r1.20050216.0945.tar.gz && \
tar xf dspam-devel.3.3.4.r1.20050216.0945.tar.gz &&  \
cd dspam-devel.my

make -DWITH_DAEMON -DGDBS <...OTHER_OPTIONS...>
you need a least WITH_MYSQL* or WITH_POSTGRESQL for --daemon to work.


If you have a dspam --daemon running either stop it 
  or 
edit your /usr/local/etc/dspam.conf and:
- if running on TCP edit ServerPort and ClientPort and set them to
something other that 24
- else change ServerDomainSocketPath to /var/run/dspam-test.sock
As long as you don't signal or restart your installed dspam there's no problem.
When done testing don't forget to change them back.

cd ./work/dspam-cvs-devel.20050216.0945/src/ && \
./dspam --daemon --debug

In an other console:
cd ./usr/ports/mail/dspam.my/work/dspam-cvs-devel.20050216.0945/src/ && \
./dspamc --user ....... --proccess --stdout < /path/to/email


See what output you get and if the daemon still runs.

If yes, send me the output of uname -a and your CFLAGS; and continue
testing to confirm it works; something like this should be enough:
sh -c 'for I in `ls /path/to/many/emails/dir/*` ; do cat ${I} | ./dspamc --user itetcu --mode=tum --features=ch,no,wh,tb=4 --proccess --stdout & done'

And hit Ctrl+C after 2-3 seconds :)

If not, send me the output of uname -a, your CFLAGS, the signal with
which dspam --daemon dies and any other useful info. You might want to
run dspam from gdb, valgrind or better helgrind. If you get to sending
patches, please use unified diff (diff -u).


Thanks,

-- 
IOnut
Unregistered ;) FreeBSD "user"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050217114847.0e3a38f5>