DSPAM Appliance HowTo (kinda)

After much shouting and screaming, I finally got DSPAM up and running as an appliance (SMTP relay). I followed the step by step guide as mentioned in my previous post, but came across a few stumbling blocks along the way. By noting here what I did to get around them, I hope to reduce the amount hair-pulling required my others (and myself next time). I hope to get this written up as a proper howto, but for now it will be more of an amendments guide to the other guide.

Right, here we go 🙂

  1. After installing Postfix, you need to test that it’s starts correctly which mine didn’t. I realised that a default minimal install of FC4 installs sendmail and configures it to start. I, therefore simply used chkconfig to disable sendmail and Postfix was then able to start.
  2. I’m not using relay_recipients at all, I don’t think this is needed as the users are stored in the mysql table.
  3. I had to add all my domains to virtual_mailbox_domains (main.cf), the same ones that you put in transport. This actually throws up a warning in the maillog but it doesn’t seem to hurt.
  4. When creating the SSL certificate, the directories referred to weren’t present, so I had to create them (mkdir ssl.key, ssl.crt)
  5. I couldn’t get the first Perl GD module to compile without adding /usr/local/lib to /etc/ld.so.conf and running ldconfig -v
  6. See the appliance doc at doc/appliance.txt with the DSPAM distribution for details on creating the users in the mysql database
  7. Start DSPAM with dspam –daemon [–debug]
  8. In order for the CGI to find the correct logs etc for users you need to symlink things as noted here

Other than that, it pretty much works! I can’t get the forward spam to work though, I think LMTP is not configured correctly.

I hope this helps.

Advertisements
Posted in Spam. 2 Comments »

2 Responses to “DSPAM Appliance HowTo (kinda)”

  1. tolibz Says:

    Can you give the link of your previous post. I’ve installed DSPAM on my server but still won’t work.

    Regards

  2. osblues Says:

    I was referring to my DSPAM Relay Appliance post, I think. Not sure if it’ll be any help though.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: