I followed the guide here
http://gentoo-wiki.com/HOWTO_Spam_Filtering_with_DSPAM_and_Postfix way back
when I first started with dspam. It works flawlessly on that box, enough so
that I convinced our parent company to implement it throughout all their
companies. I cant figure out why its not working on this one.. Ive been
struggling for weeks with it. Master.cf is below
smtp inet n - n - - smtpd
dspam unix - - n - 10 lmtp
127.0.0.1:10025 inet n - n - - smtpd
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o receive_override_options=no_unknown_recipient_checks
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
Andy Durant
I.T. Manager
Addressograph Bartizan
519 747-2795 x 5145
519 747-2797 Fax
www.imprinters.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve
Sent: April-29-08 5:24 PM
To: [email protected]
Subject: Re: [dspam-users] dspam doesnt appear to be scanning inbound email
-------- Original-Nachricht --------
> Datum: Tue, 29 Apr 2008 16:57:07 -0400
> Von: "Andy Durant" <[EMAIL PROTECTED]>
> An: [email protected]
> Betreff: [dspam-users] dspam doesnt appear to be scanning inbound email
> Hello all,
>
>
>
> I've been running dspam as an exchange relay on a gentoo box for a
> little over a year now. I've recently built a new machine that id like
> to use in place of the original dspam. I've got everything up and
> running exactly as on the old box except for the versions. (latest
> postfix and dspam vs postfix 2.3.8 and dspam 3.8.0-r11. Mail is flowing
> through postfix and straight onto the destination without dspam ever
> taking a look at it. I've posted the results of postconf -n below as
> well as my dspam.conf. Edited for privacy. Anyone have an suggestions
> as to why its not being passed to dspam/? It works perfectly on the
> other machine.
>
By reading your output of "postconf -n" it is not clear to me how you want to
use DSPAM. Could you post your master.cf and/or maybe tell us how you plan to
use DSPAM with postfix?
> Andy
>
Steve
>
>
>
>
> alias_database = dbm:/etc/mail/aliases
>
> command_directory = /usr/sbin
>
> config_directory = /etc/postfix
>
> daemon_directory = /usr/lib/postfix
>
> data_directory = /var/lib/postfix
>
> debug_peer_level = 2
>
> home_mailbox = .maildir/
>
> html_directory = /usr/share/doc/postfix-2.5.1/html
>
> mail_owner = postfix
>
> mailq_path = /usr/bin/mailq
>
> manpage_directory = /usr/share/man
>
> mydomain = domain.tld
>
> myhostname = mail..domain.tld
>
> mynetworks = 168.100.189.0/28, 127.0.0.0/8, 10.0.0.0/24
>
> newaliases_path = /usr/bin/newaliases
>
> queue_directory = /var/spool/postfix
>
> readme_directory = /usr/share/doc/postfix-2.5.1/readme
>
> relay_domains = domain1.tld, domain2.tld #$mydestination
>
> relay_recipient_maps = hash:/etc/postfix/relay_recipients
>
> sample_directory = /etc/postfix
>
> sendmail_path = /usr/sbin/sendmail
>
> setgid_group = postdrop
>
> smtpd_banner = $myhostname ESMTP $mail_name see http://blah.blah. For
> our Terms of Use
>
> smtpd_recipient_restrictions = permit_mynetworks
> reject_unauth_destination check_recipient_access
> pcre:/etc/postfix/dspam_incoming permit
>
> soft_bounce = yes
>
> transport_maps = hash:/etc/postfix/transport
>
> unknown_local_recipient_reject_code = 550
>
>
>
>
>
>
>
> dspam.conf
>
>
>
> Home /var/spool/dspam
>
> StorageDriver /usr/lib/dspam/libmysql_drv.so
>
> TrustedDeliveryAgent "/usr/bin/procmail"
>
> DeliveryHost 127.0.0.1
>
> DeliveryPort 10025
>
> DeliveryIdent localhost
>
> DeliveryProto SMTP
>
> OnFail error
>
> Trust root
>
> Trust dspam
>
> Trust apache
>
> Trust mail
>
> Trust mailnull
>
> Trust smmsp
>
> Trust daemon
>
> Trust filter
>
> Trust Filter
>
> TrainingMode teft
>
> TestConditionalTraining on
>
> Feature whitelist
>
> Algorithm graham burton
>
> Tokenizer chain
>
> PValue bcr
>
> WebStats on
>
> Preference "spamAction=quarantine"
>
> Preference "signatureLocation=message" # 'message' or 'headers'
>
> Preference "showFactors=off"
>
> Preference "signatureLocation=message" # can be 'message' or 'headers'
>
> ServerPID /var/run/dspam/dspam.pid
>
> ServerMode auto
>
> ServerParameters "--deliver=innocent"
>
> ServerDomainSocketPath "/var/run/dspam/dspam.sock" # socket to receive
> email from Postfix
>
> AllowOverride trainingMode
>
> AllowOverride spamAction spamSubject
>
> AllowOverride statisticalSedation
>
> AllowOverride enableBNR
>
> AllowOverride enableWhitelist
>
> AllowOverride signatureLocation
>
> AllowOverride showFactors
>
> AllowOverride optIn optOut
>
> AllowOverride whitelistThreshold
>
> MySQLServer /var/run/mysqld/mysqld.sock
>
> MySQLUser dspam
>
> MySQLPass password
>
> MySQLDb dspam
>
> MySQLCompress false
>
> MySQLCompress false
>
> HashRecMax 98317
>
> HashAutoExtend on
>
> HashMaxExtents 0
>
> HashExtentSize 49157
>
> HashPctIncrease 10
>
> HashMaxSeek 10
>
> HashConnectionCache 10
>
> Notifications off
>
> PurgeSignature off # Specified in purge.sql
>
> PurgeNeutral 90
>
> PurgeUnused off # Specified in purge.sql
>
> PurgeHapaxes off # Specified in purge.sql
>
> PurgeHits1S off # Specified in purge.sql
>
> PurgeHits1I off # Specified in purge.sql
>
> LocalMX 127.0.0.1
>
> SystemLog on
>
> UserLog on
>
> Opt out
>
> ClientHost "/var/run/dspam/dspam.sock"
>
> ProcessorURLContext on
>
> ProcessorBias on
>
>
>
>
>
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer