XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Announcements > SPF Filter Beta by Davide Libenzi


Posted by: hschneider May 31 2004, 06:58 AM
QUOTE

On Sun, 30 May 2004, Davide Libenzi wrote:

> On Sun, 30 May 2004, Michael Luke wrote:
>
> > Hi everybody.
> >
> > I've just started using Xmail 1.18 and am impressed by how well it runs.
> >
> > Does Xmail contain features that I can use to verify Sender Policy
> > Framework rules? http://spf.pobox.com/intro.html
>
> This sounds like a perfect candidate for the new pre-data SMTP filters.
> Any takers?

Me me:

http://www.xmailserver.org/xm-spf.pl

It is a mostly a cut&paste from their example, plus XMail parsing (if we
want to call it in that way) logic for spool files. It works from the
command line and it works when passed a spool file (both SMTP and final
spool - they have different header line). It supports tons of options
(many of them I do not even know the meaning smile.gif, but at the basic:

$ xm-spf.pl --ip IP --sender SENDER --debug 1

It supports setting the fail/pass exit codes with --pcode and --fcode. The
default fail code is 19, that is ok for  SMTP filters. When called from a
filter:

xm-spf.pl --file @@FILE

You obviously need this to have it working:

http://spf.pobox.com/Mail-SPF-Query-1.997.tar.gz

Note, it's a first cut, so YMMV ...

- Davide


Closer infos about SPF:
http://spf.pobox.com/

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)