On Mon, Nov 21, 2022 at 10:18:38PM +0000, Scott Kitterman <skl...@kitterman.com> wrote:
> On November 21, 2022 8:50:51 PM UTC, raf <post...@raf.org> wrote: > >On Mon, Nov 21, 2022 at 12:48:49AM +0000, Scott Kitterman > ><post...@kitterman.com> wrote: > > > >> On November 20, 2022 11:47:02 PM UTC, raf <post...@raf.org> wrote: > >> > > >> >There are also Debian packages for policy server versions: > >> > > >> > postfix-policyd-spf-perl > >> > postfix-policyd-spf-python > >> > >> The Perl implementation is very rudimentary. Unless one is completely > >> allergic to Python for some reason, I definitely recommend the Python > >> one. > >> > >> The backend logic/code in pyspf-milter is shared with the policy > >> server. For Postfix, I don't think it matters much if you use the > >> milter or the policy server. > >> > >> Scott K > > > >Thanks for the tip. If I remember correctly, I tried both > >and preferred the headers created by the perl version. > >They were more detailed and informative. > > > >In what way is the python version better? > > It's much more configurable, so covers more use cases. If the Perl one does > what you need, then there's nothing wrong with it. > > Here's a link to the section 5 man page that shows configuration options to > give you an idea of the details: > > https://git.launchpad.net/spf-engine/tree/policyd-spf.conf.5 > > Scott K Thanks for that. cheers, raf