spf-discuss
[Top] [All Lists]

Macro to get the domain of current-sender

2003-12-12 11:58:25
I realized that %{s1(_at_)} gives the domain of the current-sender (as opposed to the current-domain). The bad news is that you can't then just take the last two (or whatever) components for use in an MX or PTR.

I still think that adding a macro character to get the domain of the current-sender would fill out the set of macro characters. Without it, many sites that need to use multiple records (includes or redirects) will have problems and maybe suprises.

It may be that we need to add some implementation notes to a document somewhere. These could include:

* Remember that an unqualified A, PTR, MX refers to the domain name of the SPF record, *not* the domain of the sender * Remember that other domains may 'include' your SPF record (especially if you are an ISP and the includer is a vanity domain)

Philip


-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.3.txt
To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡


<Prev in Thread] Current Thread [Next in Thread>
  • Macro to get the domain of current-sender, Philip Gladstone <=