Re: SPF Record with Multiple Servers
Vinícius Ferrão <[email protected]> Thu, 25 Apr 2013 15:57:43 +0000
| Newsgroups | gmane.linux.gentoo.server |
|---|---|
| Message-ID | <[email protected]> |
Hello Halassy, thanks for your reply. I'm aware of the syntax, I just mistyped it. The main question still continues, should I put both MTAs or just the Inter= net facing one? Thanks in advance, Sent from my iPhone On 25/04/2013, at 05:14, "Halassy Zolt=E1n" <[email protected]> wrote: > Hello! >=20 > Using MX in SPF record is a simple way to describe trivial two-way setups= , that is, MX will also send the mails, not just receive them. If you have = a non-trivial setup, you can use, for example IP addresses, like ip6: and i= p4:. Add every address which from a mail could possibly leave your organiza= tion, and that's it, do not use MX. BTW, the syntax is v=3Dspf1, not what y= ou wrote. >=20 > 2013-04-25 01:32 keltez=E9ssel, Vin=EDcius Ferr=E3o =EDrta: >> I've a question about the SPF setup in my domain. >>=20 >> We have two MTAs: an exchange server that does not use SMTP to relay mes= sages to the Internet and a Postfix Mail Gateway on the border to send and = receive messages to/from the internet. >>=20 >> The clients connect on the Exchange Server to relay messages to the exte= rnal world. So an SMTP connection would start in the Exchange, then it rela= ys to the Postfix server and then to the Internet. On the other hand when a= message come from the Internet it first arrives in the Postfix server and = after the processing it's handled to the Exchange server. >>=20 >> The question is: which SPF TXT string I should use? >>=20 >> The Postfix server is my only MX. And I don't know if I should include t= he Exchange Server name in the SPF rules. >>=20 >> I was considering: vspf=3D1 mx -all >>=20 >> But this does not include the Exchange, and I don't know if it's right o= r not. >=20 >=20