Giter Club home page Giter Club logo

dspam-milter's People

Contributors

mk-fg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

iomarmochtar

dspam-milter's Issues

Need advice on how to change my current dspam setup to dspam-milter way.

Hi,

Currently using postfix and dspam. The dspam is setup only to add [SPAM] on the subject header. Very similar to your setup of never rejecting emails, which I like.

When dspam makes a mistake, the email is sent to [email protected] or [email protected]

Would like to change the current setup to use dspam-milter. May I have some advice on how to change the setup to use dspam-milter?

For the incoming emails, I understand the setup mentioned in the readme.
smtpd_milters = unix:/tmp/dspam_milter.sock
non_smtpd_milters = unix:/tmp/dspam_milter.sock

How about the training setup when dspam gets it wrong? Would it be the same as the current setup?

The current setup is as follows.

For incoming emails. (main.cf)
smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031,
permit_mynetworks,
permit_sasl_authenticated,
...
...
check_client_access pcre:/etc/postfix/dspam_incoming

dspam_incoming file has,
/./ FILTER lmtp:unix:/var/run/dspam/dspam.sock

then,
spam_dspam_destination_recipient_limit = 1
notspam_dspam_destination_recipient_limit = 1

For reclassification when there is an error by dspam. (master.cf)
#This is for mail coming back from dspam
127.0.0.1:10028 inet 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
-o smtpd_milters=
#end dspam

#handle dspam retrain
#This path is used when a user sends in a piece of mail and wants to classify it as SPAM
spam_dspam unix - n n - - pipe
flags=Rhq user=vmail argv=/usr/bin/dspam --user vmail --class=spam --source=error

#This path is used when a user sends in a piece of mail and wants to classify it as INNOCENT
notspam_dspam unix - n n - - pipe
flags=Rhq user=vmail argv=/usr/bin/dspam --user vmail --class=innocent --source=error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.