Comments (4)
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.
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.
You could possibly use https://github.com/sdgathman/pyspf/ after getmail.
from getmail6.
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)
- Fails trying to deliver email with broken emojis HOT 3
- Is v6.18.13 the latest release? HOT 2
- Getmail6 problem with attachments when using it with outlook.office365.com HOT 1
- Not working in Ubuntu 23.04, Python 3.11.6 : missing lts.decode() HOT 4
- Maildir Filename Generation Issue with Truncated Hostname
- not working on Android Termux if [destination] type is Maildir
- Allow customization of `redirect_uri`
- UnicodeDecodeError when checking mail HOT 3
- Can't get mailboxes parameter to work HOT 3
- handler called, but no children ([Errno 10] No child processes) HOT 5
- getmail6 not working with python 3.12
- Delivery error (maildir delivery 2593690 error (127, maildir delivery process failed (%b requires a bytes-like object, or an object that implements __bytes__, not 'UnicodeEncodeError'))) HOT 4
- Oracle Linux 9.3 install fails HOT 1
- Are there any retrievers for docking folders here? HOT 1
- Possible mailbox fetching duplication HOT 11
- MS365 Shared Mailboxes HOT 2
- Possible mailbox fetching duplication (part 2) HOT 4
- getmail-gmail-xoauth-tokens no longer working after fix for #178 HOT 3
- getmail-gmail-xoauth-token not starting http server HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from getmail6.