OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Adding DSPAM to existing Postfix installation

From: mouss (usebsdfree.fr)
Date: Sat Oct 14 2006 - 13:18:40 CDT


Rob Hudson wrote:
> Benjamin Donnachie wrote:
>> Instead, I now run dspam as a daemon and postfix delivers over LMTP over
>> a socket (ie mailbox_transport =
>> lmtp:unix:/var/spool/postfix/tmp/dspam.sock). Now when dspam is
>> overloaded the message gets queued rather than bounced, which is a much
>> better solution! :-)
>>
>> On my set up, dspam then delivers over LMTP to cyrus, but dspam can use
>> a variety of methods to deliver.
>>
>> If you're interested - I have a couple of patches to dspam available -
>> one for when using LMTP addressing that makes it strip the domain and
>> one for when using plused addressing that forces just the user section
>> to lowercase internally.
>
> Is LMTP the preferred method of doing this? (I don't know what the
> alternative might be or what LMTP is.)
>
> My only concern is using a modified DSPAM and an upgrade path. I'd
> prefer to stick with what's available in the stock packages of my
> Gentoo system. But I can be convinced.

The "standard" dspam can deliver via smtp. in your dspam.conf, put
something like:

    DeliveryHost 127.0.0.1
    DeliveryPort 10025
    DeliveryIdent dspam.example.com
    DeliveryProto SMTP

to tell dspam to forward mail to postfix using smtp.