Gentoo Archives: gentoo-server

From: "Vinícius Ferrão" <viniciusferrao@×××××××.br>
To: "<gentoo-server@l.g.o>" <gentoo-server@l.g.o>
Cc: "gentoo-server@l.g.o" <gentoo-server@l.g.o>
Subject: Re: [gentoo-server] SPF Record with Multiple Servers
Date: Thu, 25 Apr 2013 16:30:58
Message-Id: EC15E66D-27AC-4DB0-9D27-C32FCB574617@if.ufrj.br
In Reply to: Re: [gentoo-server] SPF Record with Multiple Servers by Robert Bridge
1 Hello Robert,
2
3 The internal MTA has an Internet facing address since we have a plenty of them we just use it.
4
5 Ordinary users connect through this internal MTA to send/receive mail. But everything that goes outside of the domain goes through the Postfix server. So I'm just uncertain about this configuration. Since the message originates in the internal MTA and the its relayed to the Postfix server...
6
7 So I just need to know if the SPF record should include the internal MTA too, since the postfix server is already in the SPF declaration.
8
9 Thanks in advance,
10
11 Sent from my iPhone
12
13 On 25/04/2013, at 13:03, "Robert Bridge" <robert@××××××××.com<mailto:robert@××××××××.com>> wrote:
14
15 Just the internet facing one, as I understand it. Nothing else should ever see the internal MTA, and it may not even have a routable IP address!
16
17
18 On 25 April 2013 16:57, Vinícius Ferrão <viniciusferrao@×××××××.br<mailto:viniciusferrao@×××××××.br>> wrote:
19 Hello Halassy, thanks for your reply.
20
21 I'm aware of the syntax, I just mistyped it.
22
23 The main question still continues, should I put both MTAs or just the Internet facing one?
24
25 Thanks in advance,
26
27 Sent from my iPhone
28
29 On 25/04/2013, at 05:14, "Halassy Zoltán" <zhalassy@×××××××.hu<mailto:zhalassy@×××××××.hu>> wrote:
30
31 > Hello!
32 >
33 > 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 ip4:. Add every address which from a mail could possibly leave your organization, and that's it, do not use MX. BTW, the syntax is v=spf1, not what you wrote.
34 >
35 > 2013-04-25 01:32 keltezéssel, Vinícius Ferrão írta:
36 >> I've a question about the SPF setup in my domain.
37 >>
38 >> 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.
39 >>
40 >> 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.
41 >>
42 >> The question is: which SPF TXT string I should use?
43 >>
44 >> The Postfix server is my only MX. And I don't know if I should include the Exchange Server name in the SPF rules.
45 >>
46 >> I was considering: vspf=1 mx -all
47 >>
48 >> But this does not include the Exchange, and I don't know if it's right or not.
49 >
50 >

Replies

Subject Author
Re: [gentoo-server] SPF Record with Multiple Servers Robert Bridge <robert@××××××××.com>
Re: [gentoo-server] SPF Record with Multiple Servers Pandu Poluan <pandu@××××××.info>