Configuring Postfix for SPF #email #postfix #spf
I am trying to configure Postfix to check SPF, and if that passes, then skip the usual greylisting.
It turns out people have asked about this before. Here is Postfix creator Wietse Venema telling Jukka Salmi off in 2007:
"*** ONE ACCESS MAP LOOKUP RESULT CAN SPECIFY MULTIPLE ACTIONS *** "
and then telling him (again) to read the manual:
"You should now be reading "man 5 access" instead of having other people recite it for you."
So, I have now read access(5) two times, and I still don't understand how I can send "PREPEND X-My-Header: Something" _and_ "OK" from a policy service.
I wonder why he didn't at least also include the answer, besides the railing about reading the manual?
Some more searching turns up this thread from 2008: Multiple responses from a policy daemon, is it possible?, where there conclusion is "No."
Which leaves me slightly confused, and without a solution.
To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.
I have chosen to use a more old school method of spam prevention.
To post a comment here, you need to:
¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).
- Configure a newsreader¹ to connect to the server
- Open the newsgroup called
1119using nntps (nntp over TLS).
lantern.koldfrontand post a follow up to the article.
Or, you can fill in this form: