--------------------------------------------------
From: "Silvio Siefke" <siefke_lis...@web.de>
Sent: Friday, August 27, 2010 7:39 PM
To: <dspam-user@lists.sourceforge.net>
Subject: [Dspam-user] Dspam in Freebsd Jail

> Hello,
> 
> i have install DSPAM with Apache in a FreeBSD Jail. I do it, because i
> want run Apache
> in a Jail and Dspam need the Apache. Now im not sure how i can it do
> that Postfix speak
> with Dspam. I have search much Howtos, but all use the socket in
> /var/run or /tmp.
> 
> Now i need a Idea how i can use Postfix (Host 192.168.0.100) with Dspam
> (Jail 192.168.0.101).
> 
> I have read in a Forum that i can use LMTP with Dspam. So i realized it
> so, but log write Connection
> refused.
> 
> # postconf -n
> alias_maps = hash:/etc/aliases
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> data_directory = /var/db/postfix
> html_directory = /usr/share/doc/postfix
> inet_interfaces = 192.168.0.100, 127.0.0.1
> mail_owner = postfix
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, localhost
> mydomain = dyndns.org
> myhostname = silviosiefke.dyndns.org
> mynetworks = 127.0.0.0/8, 192.168.0.0/24
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix
> sample_directory = /etc/postfix
> sendmail_path = /usr/sbin/sendmail
> setgid_group = maildrop
> smtp_tls_note_starttls_offer = yes
> smtp_use_tls = no
> smtpd_recipient_restrictions =
>       permit_mynetworks,
>       permit_sasl_authenticated,
>       reject_non_fqdn_hostname,
>       reject_non_fqdn_sender,
>       reject_non_fqdn_recipient,
>       reject_unauth_destination,
>       reject_unauth_pipelining,
>       reject_invalid_hostname,
>       reject_rbl_client opm.blitzed.org,
>       reject_rbl_client bl.spamcop.net,
>       reject_rbl_client sbl-xbl.spamhaus.org,
>       check_client_access pcre:/etc/postfix/dspam_filter_access,
>       permit_auth_destination
> smtpd_sasl_auth_enable = no
> smtpd_sasl_local_domain =
> smtpd_sasl_path = private/auth
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_type = dovecot
> smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
> smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
> smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
> smtpd_tls_loglevel = 1
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> smtpd_use_tls = no
> soft_bounce = yes
> tls_random_source = dev:/dev/urandom
> unknown_local_recipient_reject_code = 550
> 
> master.cf
> smtp      inet  n       -       n       -       -       smtpd
> 192.168.0.100:10025 inet n  -       n       -        -      smtpd
>   -o smtpd_authorized_xforward_hosts=192.168.0.0/24
> 

How You send mails to dspam? 

> dspam.conf
> Home /var/db/dspam
> StorageDriver /usr/local/lib/dspam/libhash_drv.so
> TrustedDeliveryAgent ""/usr/sbin/sendmail"
> DeliveryHost        192.168.0.101

I think this should be 192.168.0.100, your postfix server?

> DeliveryPort        10025
> DeliveryIdent       localhost
> DeliveryProto       SMTP
> OnFail error
> Trust root
> Trust dspam
> Trust apache
> Trust mail
> Trust mailnull
> Trust smmsp
> Trust daemon
> Trust siefke
> #Trust nobody
> #Trust majordomo
> TrainingMode teft
> TestConditionalTraining on
> Feature whitelist
> Algorithm graham burton
> PValue bcr
> WebStats on
> Preference "spamAction=quarantine"
> Preference "signatureLocation=headers"  # can be 'message' or 'headers'
> Preference "showFactors=off" # changed from on
> ServerPort           11124
> ServerQueueSize      32
> ServerPID /tmp/dspam.pid
> ServerMode auto
> ServerParameters        "--user filter --deliver=innocent"
> ServerDomainSocketPath  "/tmp/dspam.sock"
> ServerParameters    "--deliver=innocent -d %u"
> ServerIdent     "localhost.localdomain"
> ClientHost      192.168.0.101
> ClientPort      10024
> HashRecMax        98317
> HashAutoExtend    on
> HashMaxExtents    0
> HashExtentSize    49157
> HashPctIncrease    100
> HashMaxSeek        10
> Notifications    off
> PurgeSignatures 14    # Stale signatures
> PurgeNeutral    90    # Tokens with neutralish probabilities
> PurgeUnused    90    # Unused tokens
> PurgeHapaxes    30    # Tokens with less than 5 hits (hapaxes)
> PurgeHits1S    15    # Tokens with only 1 spam hit
> PurgeHits1I    15    # Tokens with only 1 innocent hit
> LocalMX 192.168.0.100
> SystemLog    on
> UserLog    on
> Opt out
> TrackSources spam ham
> ParseToHeaders on
> ChangeModeOnParse on
> ChangeUserOnParse on
> ClamAVPort        3310
> ClamAVHost        127.0.0.1
> ClamAVResponse    accept
> ProcessorBias on
> 
> Has someone a idea how i can realized this situation. Thanks for help.
> 
> 
> Regards
> Silvio


 

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to