Code Monkey home page Code Monkey logo

Comments (4)

emtiu avatar emtiu commented on June 30, 2024

I might be missing the point here, but: You have plenty of options what getmail should do with your messages. I don't have the incoming mail processed by postfix, for example, but filtered by dovecot with Sieve rules and deposited into the appropriate Maildir folders.

I do this with the following config entries:

[destination]
type = MDA_external
path = /usr/local/libexec/dovecot/dovecot-lda

Check out getmail's documentation here: https://getmail6.org/configuration.html#conf-destination

from getmail6.

spi43984 avatar spi43984 commented on June 30, 2024

It's not about filtering - for that I use sieve as well.

What I'd like to achieve is to do a proper spf check and add a spf header accordingly so it could be used by other tools further down the line to e. g. increase spam detection (https://en.wikipedia.org/wiki/Sender_Policy_Framework). This is usually done by the receiving MTA as envelope from, helo name, sender IP etc. are needed for this check to be performed. As I don't operate my MTA to receive mails directly but rather inject them by getmail I can't implement this kind of check in my MTA.

from getmail6.

rpuntaie avatar rpuntaie commented on June 30, 2024

You could possibly use https://github.com/sdgathman/pyspf/ after getmail.

from getmail6.

spi43984 avatar spi43984 commented on June 30, 2024

You could possibly use https://github.com/sdgathman/pyspf/ after getmail.

That's a good idea. Would need a wrapper though to create the correct header and inject it back into the mail. Did some more testing - quite challenging to implement all the checks in my getmail + postfix + dovecot tool chain. Need to evaluate that further - it might be easier to change the tool chain at all.

from getmail6.

Related Issues (20)

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.