Code Monkey home page Code Monkey logo

milter's Introduction

milter

This repo has three python milter packages.

bms

This is the original application that drove the need for pymilter, and then pydspam, pygossip, pyspf, pydkim. It is very effective,and used on dozens of production mail servers. But it is kind of "hacky", with features added by busy mail admins without enough thought toward ease of configuration by new users. Even if you don't install it, I recommend it as a rich source of examples of real life use of pymilter and other email related python packages.

The driving principle is authentication and reputation. For instance, when banning a domain, you don't just ban the domain, but a given level of authentication for that domain. If spam.com is unauthenticated, then banning spam.com does not block an authenticated email from spam.com - because the spam may have been forged. But if the spam email from spam.com that triggers the ban (or bad reputation) is authenticated, then all emails from that domain are banned.

It implements per-domain policies and reputation tracking based on SPF or DKIM result (example.com:PASS tracks a different reputation than example.com:NEUTRAL).

The primary authentication methods are SPF (Sender Policy Framework) and DKIM. DMARC would be a future enhancement. Greylisting is also used.

spfmilter

This is a simple SPF milter that adds Received-SPF, logs, and optionally rejects based on reject with policy configured per MFROM domain. Use as is, or as a starting point for your own custom milter.

dkim-milter

This is a simple DKIM milter that signs outgoing mail and adds Authentication-Results, logs, and optionally rejects incoming mail based on local and Author Domain Sender Policy (ADSP).

milter's People

Contributors

sdgathman avatar

Watchers

 avatar

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.