|
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: Benjamin Donnachie (benjamin
pythagoras.no-ip.org)
Date: Sat Oct 14 2006 - 07:04:33 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Rob Hudson wrote:
> Is LMTP the preferred method of doing this? (I don't know what the
> alternative might be or what LMTP is.)
It's entirely up to you. You can either deliver over the command line
using a pipe or deliver over a socket/network using LMTP. Personally, I
prefer the latter.
NB I've always used LMTP over a socket for delivery to cyrus-imap from
dspam.
I was using:
In master.cf:
dspam unix - n n - 10 pipe
flags=R user=cyrus argv=/usr/local/bin/dspam --deliver=innocent
--user $mailbox --mail-from=$sender
In main.cf:
mailbox_transport = dspam
In dspam.cf:
DeliveryHost /var/imap/socket/lmtp
DeliveryIdent "smtp.example.com"
DeliveryProto LMTP
But I'm now using:
In master.cf:
lmtp unix - - n - - lmtp
In main.cf
mailbox_transport = lmtp:unix:/var/spool/postfix/tmp/dspam.sock
In dspam.conf:
DeliveryHost /var/imap/socket/lmtp
DeliveryIdent "smtp.example.com"
DeliveryProto LMTP
ServerQueueSize 32
ServerPID /var/run/dspam.pid
ServerMode standard
ServerParameters "--deliver=innocent -d %u"
ServerIdent "smtp.example.com"
ServerDomainSocketPath "/var/spool/postfix/tmp/dspam.sock"
# Strip domain patch
StripRcptDomain on
> 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.
Easy! Just download the source, apply the patch, compile and then
install! However, you may not need the patches I offered - it depends
upon your needs.
Ben
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]