Koozali.org: home of the SME Server

DSPAM

Offline Thorne45

  • *
  • 12
  • +0/-0
DSPAM
« on: November 23, 2007, 02:56:29 AM »
Hi

Does anyone have a howto on installing DSPAM?

Thanks
  Thorne

Offline kitnorriss

  • *
  • 7
  • +0/-0
    • http://www.kitleyits.com
Re: DSPAM
« Reply #1 on: November 23, 2007, 03:53:28 PM »
Hi Thorne,

I am working on getting DSPAM installed at the moment and once I have it working I will post a HOWTO. Have you got anywhere with it??

I am currently a little stuck on gettting it to find libmysqlclient. When executing the following command...
Code: [Select]
# ./configure \
--sysconfdir=/etc \
--with-dspam-home=/var/lib/dspam \
--with-logdir=/var/log/dspam \
--with-storage-driver=mysql_drv \
--enable-daemon \
--enable-virtual-users \
--enable-preferences-extension \
--enable-long-usernames \
--with-dspam-owner=root \
--with-dspam-group=root \
--enable-clamav \
--with-mysql-libraries=/usr/lib/mysql

I receive this....
Code: [Select]
(code above removed)
# checking where to find MySQL headers... compiler default paths
# checking mysql.h usability... no
# checking mysql.h presence... no
# checking for mysql.h... no
# configure: error: Required version of libmysqlclient not found

I have established that I need to include
Code: [Select]
# --with-mysql-includes=/path/to/mysql/includes
into my ./configure comand but I don't know where the MySQL Includes Directory is located because /usr/include/mysql does not exist. If anybody could help me with this, it would be great.

Thanks in advance for your help.

Kit Norriss
...

Offline Confucius

  • *****
  • 235
  • +0/-0
Re: DSPAM
« Reply #2 on: November 23, 2007, 04:41:14 PM »
Kit,

the parameter should be "/usr/include/mysql" and content to work with can be achieved by installing the mysql-devel. I guess you know enough now to round it up. I was able to get thru the configure entirely this way.

Quote
checking where to find MySQL headers... /usr/include/mysql
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for library containing gzopen... -lz
checking where to find MySQL libraries... /usr/lib/mysql

Harro
« Last Edit: November 23, 2007, 04:50:05 PM by Confucius »

Offline Thorne45

  • *
  • 12
  • +0/-0
Re: DSPAM
« Reply #3 on: November 26, 2007, 04:17:54 AM »
What tables need to be configured in MYSQL? I've been trying to link into MYSQL but keep getting "access denied"

I'm slightly out of my depth I suspect and the DSPAM documentation I can find is a bit vague.

Thanks
  Thorne