0
This is more of a general question independent of what specific mail server software one might use. I'm renting a single server and using it as a mail server. It only has one SPF record, for that server's IP. This means I can send mail just fine when I SSH into the server and use the command line, or when I proxy my home machine's traffic through it. But when I try to use my email client on my home machine like with any other email provider, I get an SPF fail (not authorized).
The problem is that my home network IP address is not fixed, So I can't just add my home PC's IP as an SPF record and be done with it (besides, I really don't think that would be the way to go about this). I'd also like to take my laptop to any network whatsoever and be able to send mails. So what does my setup have to look like for that?
I guess the mail shouldn't include my home machine's IP to begin with, but I can't find a setting in my client to change that, and it works without having to change anything for the usual email providers.