[ please reply to all recipients ]

On Mon, 31 Mar 2008 21:58:59 +0200
Alexei Troussov <[EMAIL PROTECTED]> wrote:

> Hello all,
> 
> I'm trying to configure DSPAM as a spam filter on my home FreeBSD 7 box
> already having Postfix and Cyrus IMAP up and running:
> 
> --> Postfix                Postfix --> Cyrus IMAP as mailbox_transport
>        \->LMTP-> DSPAM ->SMTP-^
> 
> I followed several guides found in internet which split into two  
> classes basically using:
> 1) "-o content_filter=lmtp:unix:/path/to/dspam.sock" in master.conf
> 2) "-o content_filter=dspam" where dspam is a "pipe" transport defined  
> in master.conf

Looks like my configuration, except I use maildrop and Courier.
As for postfix-dspam setup I now use it like this:

smtpd_recipient_restrictions =
...
check_client_access pcre:/usr/local/etc/postfix/dspamd_filter_access,
.....

 $ cat /usr/local/etc/postfix/dspamd_filter_access
/./   FILTER lmtp:[127.0.0.1]:24

 
> My problem is that I cannot make DSPAM handle messages properly -  
> there is no dspam-related headers appearing in my emails. But there  
> are dspam piping messages in logs (for the second configuration).
> 
> The intention was to set up small server at home with few mailboxes  
> (less that 10) on it. But I'd like to have final configuration as  
> light as possible - it's P2-266 128Mb PC running it.
> 
> What is the recommended way to make it work? I'm a bit lost...
> I can post my configs/logs if it helps. Thanks in advance!

1. Use dspam as a daemon:
echo 'dspam_enable="YES"' >> /etc/rc.conf.local
2. Enable debugging
echo 'dspam_debug="YES"' >> /etc/rc.conf.local
3. Turn on debugging in /usr/local/etc/dspam.conf
(Debug / DebugOpt directives -- this assumes you chose DEBUG in OPTIONS
screen)

Restart your dspam instance:
/usr/local/etc/rc.d/dspam restart

Send an email message to your mailserver and take a look in
/var/log/dspam/dspam.debug

Post the relevant except from your mail log and your dspam.debug.


HTH,

-- 
IOnut
Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B

Attachment: signature.asc
Description: PGP signature

Reply via email to