Gentoo Archives: gentoo-server

From: "Halassy Zoltán" <zhalassy@×××××××.hu>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] SPF Record with Multiple Servers
Date: Thu, 25 Apr 2013 08:13:44
Message-Id: 5178E5AF.1090509@loginet.hu
In Reply to: [gentoo-server] SPF Record with Multiple Servers by "Vinícius Ferrão"
1 Hello!
2
3 Using MX in SPF record is a simple way to describe trivial two-way
4 setups, that is, MX will also send the mails, not just receive them. If
5 you have a non-trivial setup, you can use, for example IP addresses,
6 like ip6: and ip4:. Add every address which from a mail could possibly
7 leave your organization, and that's it, do not use MX. BTW, the syntax
8 is v=spf1, not what you wrote.
9
10 2013-04-25 01:32 keltezéssel, Vinícius Ferrão írta:
11 > I've a question about the SPF setup in my domain.
12 >
13 > We have two MTAs: an exchange server that does not use SMTP to relay messages to the Internet and a Postfix Mail Gateway on the border to send and receive messages to/from the internet.
14 >
15 > The clients connect on the Exchange Server to relay messages to the external world. So an SMTP connection would start in the Exchange, then it relays 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.
16 >
17 > The question is: which SPF TXT string I should use?
18 >
19 > The Postfix server is my only MX. And I don't know if I should include the Exchange Server name in the SPF rules.
20 >
21 > I was considering: vspf=1 mx -all
22 >
23 > But this does not include the Exchange, and I don't know if it's right or not.

Attachments

File name MIME type
smime.p7s application/pkcs7-signature

Replies

Subject Author
Re: [gentoo-server] SPF Record with Multiple Servers "Vinícius Ferrão" <viniciusferrao@×××××××.br>