Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SPF: Devel

Better Error Messages...

 

 

SPF devel RSS feed   Index | Next | Previous | View Threaded


scott at kitterman

Feb 8, 2007, 9:22 AM

Post #1 of 3 (1417 views)
Permalink
Better Error Messages...

Currently on the spf-test mail verifier, if one has 'mx:ip4:192.168.0.4' in
their SPF record, the error message is:

SPF Permanent Error: Invalid domain found (use FQDN): ip4:192.168.0.4

I think this could be better/clearer. I'm open to suggestions about what the
error message in this case should be. More commonly I see errors like:

a:mail

Which would yield:

SPF Permanent Error: Invalid domain found (use FQDN): mail

This seems reasonable. So, I'd like to not mess that up.

I'm looking for suggestions....

Scott K

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


julian at mehnle

Feb 8, 2007, 10:47 AM

Post #2 of 3 (1348 views)
Permalink
Re: Better Error Messages... [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Kitterman wrote:
> Currently on the spf-test mail verifier, if one has 'mx:ip4:192.168.0.4'
> in their SPF record, the error message is:
>
> SPF Permanent Error: Invalid domain found (use FQDN): ip4:192.168.0.4
>
> I think this could be better/clearer. I'm open to suggestions about
> what the error message in this case should be.

It is always good to put the problematic string in double quotes. Then, do
mention the context of the invalid part:

Invalid domain found in "mx" mechanism: "ip4:192.168.0.4". Use a fully
qualified domain name (FQDN).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFy3A6wL7PKlBZWjsRAv2NAJ9Ly71+yFUPFqL6wVzEjOccdXxfjQCfe8ZP
V84o5GE444ZG03WzMIkrtg8=
=MCvC
-----END PGP SIGNATURE-----

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


nobody at xyzzy

Feb 8, 2007, 2:53 PM

Post #3 of 3 (1354 views)
Permalink
Re: Better Error Messages... [In reply to]

Scott Kitterman wrote:

> SPF Permanent Error: Invalid domain found (use FQDN): ip4:192.168.0.4
[...]
> I'm looking for suggestions....

In addition to Julian's comment, you could state "'4' is no known TLD
(like 'com')". That would also work for the a:mail case. With that
you'd get different error messages if something else is wrong in the
FQDN, like say mx:ip4:192.168.0.com

Frank


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

SPF devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.