On Mon, 15 Jun 2009 01:25:34 +0200, "Steve" <[email protected]> wrote:
> Hallo Lucas
> 
> 
>> I currently use a Postfix+Postgrey+Dovecot(LDA) configuration, while
>> postgrey does an awesome job given the few resources it uses, I've
>> noticed
>> an increase in spam, so have decided to add a spam filter to the mix.
>> 
>> I am following the instructions in postfix.txt to setup dspam as a
>> content
>> filter however I can't seem to get the emails delivered.
>> 

> Do you see anything in the Postfix log? There must be some more
information
> then what you have posted above. Could you post that output here in the
> list? While you are at it... could you post the output of "dspam
--version"
> as well?
> 

Here is an incoming mail hitting the server

Jun 15 10:35:55 die postfix/smtpd[9238]: connect from
crux.nu[213.132.101.140]
Jun 15 10:35:56 die postgrey: action=pass, reason=client AWL,
client_name=crux.nu, client_address=213.132.101.140,
[email protected] 
Jun 15 10:35:56 die postfix/smtpd[9238]: 42936244B0:
client=crux.nu[213.132.101.140]
Jun 15 10:35:56 die postfix/cleanup[9243]: 42936244B0:
message-id=<[email protected]>
Jun 15 10:35:56 die postfix/qmgr[9228]: 42936244B0: from=<>, size=2527,
nrcpt=1 (queue active)
Jun 15 10:35:56 die postfix/smtpd[9238]: disconnect from
crux.nu[213.132.101.140]
Jun 15 10:35:56 die postfix/lmtp[9244]: 42936244B0: to=<[email protected]>,
relay=die.net.au[/tmp/dspam.sock], delay=0.22, delays=0.16/0/0/0.06,
dsn=2.6.0, status=sent (250 2.6.0 <[email protected]> Message accepted for
delivery)
Jun 15 10:35:56 die postfix/qmgr[9228]: 42936244B0: removed

And, the output of dspam --version

DSPAM Anti-Spam Suite CVS (agent/library)

Copyright (c) 2002-2006 Jonathan A. Zdziarski
http://dspam.nuclearelephant.com

DSPAM may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the DSPAM distribution kit.

Configuration parameters: --prefix=/usr --sysconfdir=/etc --mandir=/usr/man
--with-dspam-home=/var/dspam --with-storage-driver=hash_drv --enable-daemon
--enable-debug

>> StripRcptDomain off
>> 
> StripRcptDomain? Looks like you are using Gentoo. Right? Looking at your
> config I don't see anything jumping into my eyes (except the missing
> TrustedDeliveryAgent stuff).
> 

No, I am using CRUX. It is similar to Gentoo in that it is source based.
There currently exists no port of dspam for CRUX so I have built it from
the git repository using the RELENG_3_8_0 branch, as according to the topic
on the IRC channel, this is the latest stable version.

I removed the TrustedDeliveryAgent as per the instructions in
doc/postfix.txt.

>> localhost:10026 inet  n -       n       -       -        smtpd
>>   -o content_filter=
>>   -o
>>
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
>>   -o smtpd_helo_restrictions=
>>   -o smtpd_client_restrictions=
>>   -o smtpd_sender_restrictions=
>>   -o smtpd_recipient_restrictions=permit_mynetworks,reject
>>   -o mynetworks=127.0.0.0/8
>>   -o smtpd_authorized_xforward_hosts=127.0.0.0/8
>> 
> Looks all okay to me. Btw: DSPAM does not support x-forward. So the last
> entry is not needed with DSPAM.

Again, just following orders :)

> Steve

-- 
Lucas Hazel <[email protected]>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to