Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 21:39:03 +0200 (CEST)
From:      "Julien Gabel" <jpeg@thilelli.net>
To:        "Ion-Mihai IOnut Tetcu" <itetcu@people.tecnik93.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Is someone working on upgrading mail/dspam to version 3.0.0?
Message-ID:  <49964.192.168.0.105.1088105943.squirrel@192.168.0.105>

next in thread | raw e-mail | index | archive | help
> On -CURRENT I didn't have any problems both with mysql and postfix and
> portlint doesn't complain vary hard either; so I think you should be
> able to use it. Just pay attention to the README as the command line
> options have changed. The dspam port maintainer  Rob Evers will update
> the dspam port in a few days (he is busier that I am these days, AFAIR).

Ok. I tested it for some days now, and it seems to be reasonably stable
for me. I did not have some patch for the proposed mail/dspam-devel port,
but here is what i noted in order to use it on my SMTP server (running
postfix).

1/
# cd /usr/ports/mail/dspam-devel
# make showconfig
===> The following configuration options are set for dspam-devel-3.0.0:
[...]
     CGI=off "Install CGI (pulls in apache)"
Although i will use the CGI, i did not enable it here since it just
want to install apache which is already installed on my system (apache2).

2/
An other point: i create a /usr/local/etc/dspam/untrusted.mailer_args
with "/usr/local/bin/procmail -d $u", but since it seems there is a
problem with rights - in order to be able to use it correctly - i need
to:
 - add each username in /usr/local/etc/dspam/trusted.users;
 - make /usr/local/bin/dspam executable for others.
I don't know if these rights concerns are "port" related or "FreeBSD"
specific.

3/
I installed the following packages to be able to graph the statistics:
 # portinstall -rR p5-GD p5-GD-Graph3d p5-GD-TextUtil
Maybe a good point to add as dependencies for the CGI flag?...

4/
For users's CGI graphs, the USER_LOGGING flag is needed, but there is
a little mistake:
# diff -u /usr/ports/mail/dspam-devel/Makefile.orig
/usr/ports/mail/dspam-devel/Makefile
--- /usr/ports/mail/dspam-devel/Makefile.orig   Thu Jun 24 21:35:00 2004
+++ /usr/ports/mail/dspam-devel/Makefile        Thu Jun 24 20:41:49 2004
@@ -104,9 +104,9 @@
 .endif

 .if defined(WITH_USER_LOGGING)
-CONFIGURE_ARGS+=       --disable-user-logging
-.else
 CONFIGURE_ARGS+=       --enable-user-logging
+.else
+CONFIGURE_ARGS+=       --disable-user-logging
 .endif

 .if defined(WITH_SAT)

That's all for the moment. You can contact email me for any question
or remark. And thanks for your help porting this great tool :)

-- 
-jpeg.
PS : I noted that there is a PR for this port under ports/68154, but the
content of the present email as nothing to do with it.



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