Like I said, can't really help with DKIM.
That SPF generator was working when I posted it, looks like it's disappeared now.
Let's take an example. Your Linode has IP address 12.34.56.78, and you want to send mail on behalf of example.com. You would need to get the person who runs DNS for example.com to put in an entry like the following:
Code:
example.com. IN TXT "v=spf1 ip4:12.34.56.78 ?all"
This explicitly designates your Linode as an approved sender. The ?all means that receivers should treat other machines no worse than they ordinarily would. Often, coming from a dynamic IP is enough for hosts to
not accept mail.
If you have dynamic DNS set up for your home machine, you could do something like this, substituting the actual hostname used to point to you:
Code:
example.com. IN TXT "v=spf1 ip4:12.34.56.78 a:lilmike.dynamic-dns-service.net ?all"
When receiving mail, a machine will look up the IP address for lilmike.dynamic-dns-service.net and check to see if it matches your IP address. Note that this does
not necessarily mean it will accept the mail; it depends on how aggressively they blacklist dynamic IPs. If example.com also has its own mail servers sending outgoing mail, they should be added to the record also. Assuming they are also used for inbound mail, the easiest way would be:
Code:
example.com. IN TXT "v=spf1 ip4:12.34.56.78 a:lilmike.dynamic-dns-service.net mx ?all"
This adds any value for an MX record for example.com to the list of approved senders. Instead of "mx" they could also use an "ip4" or "a" value for the appropriate machine. (There is also an "ip6" value that can be used to list IPv6 addresses.)
You would need to do the above for each domain that you want to send mail on behalf of.