Mailing List Archive

Re: Did I miss something?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Follow-ups to spf-devel@v2.listbox.com, please.

Roberto Alsina wrote:
> I had libspf2 1.2.5 installed, and was doing some plugins for qmail.
>
> So, I decided to do a SPF plugin.
>
> So, I go to www.libspf2.org and start reading about the API.
> Ok, so I get one of the patches (the postfix policyd to be exact) and
> decide to start hacking the code to make it work as a plugin.
>
> I rewrite, it's not much, it's 100 lines of code, a couple hours of
> work....
>
> And it doesn't build.

I'm no expert on libspf2, but if you're more specific, perhaps I or
somebody else can help.

> Is it me, or is the API documented in the website (and partly in the
> tarball, for example API still contains references to SPF_c_results_t)
> completely different from the API in the latest version the website has
> for download?
>
> I hacked the plugin together anyway by downloading the sources and
> pilfering code from spf_example, but... how often do these changes
> happen?

Changes to libspf2 don't happen very often anymore these days. libspf2
1.2.5 was released quite some time ago.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKYERwL7PKlBZWjsRAn6hAJ9pbspcV2pHSHaLpah1kK/+TfpmwwCg6uBe
OTlz0z+zZYB1ZAM96U12fj4=
=EqgR
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
Re: Did I miss something? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please send replies to spf-devel@v2.listbox.com on this issue.

Roberto Alsina wrote:
> [libspf2 doesn't build.]
> Well, it fails as soon as you declare a variable because all types are
> named differently from the API and (at least).
>
> For example, the website tells you that you must use
>
> void SPF_init_c_results(SPF_c_results_t *data)
>
> And there is no SPF_c_results type (and no SPF_init_c_results function,
> for that matter) in 1.2.5.

Perhaps someone else here has experience with this problem? Anyone?

Sorry that I can't help.

> > Changes to libspf2 don't happen very often anymore these days.
> > libspf2 1.2.5 was released quite some time ago.
>
> Then please tell who manages the website to delete
> http://www.libspf2.org/docs/api.html because it's not current.
>  
> Same thing about the MTA patches. I haven't checked them all, but the
> policyd 1.0.1 por postfix will not work with libspf2 1.2.5, and needs to
> be rewritten for the latest API.

Contact info is here: http://www.libspf2.org/support.html

Unfortunately, the libspf2 developers don't seem to be hanging around
spf-discuss or spf-devel currently, so you should try e-mailing their
bugtracker at <libspf2@rt.anarres.org>.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKcb/wL7PKlBZWjsRAnxyAKCz32BKGZzA1h0MlFVKD7yUrRKvWACfetcf
rfb433XHmz/qsOMwHbI2e7E=
=/wPz
-----END PGP SIGNATURE-----

-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com