著者: Ian Eiloart 日付: To: rob@steinmetznet.com CC: exim-users@exim.org 題目: Re: [exim] exim4, gmail and 550-5.7.1
> On 14 Dec 2015, at 20:55, Robert Steinmetz AIA <rob@???> wrote:
>
> Ian Eiloart wrote:
>>> On 11 Dec 2015, at 21:22, Robert Steinmetz AIA <rob@???> wrote:
>>>
>>> I run two mail servers one postfix and the other exim4, both on Ubuntu.
>>>
>>> Any email to a gmail server is rejected with a 550-5.7.1 error, basically requiring a ipv6 ptr record.
>> Why use IPv6 if you have an IPv4 address? Have you found an email recipient that doesn’t accept email from IPv4 addresses?
>>
>> If you really want to use IPv6, then move to an ISP that supports it properly.
>>
>
>
> I think you misunderstand my aim. I don't want to use ipv6, nor do I want to avoid it. I simply want my server to work. Apparently gmail. has taken the position that if there is any hint of ipv6 in the headers and and there is no pty record they reject the email.
So far you haven’t mentioned headers. If that’s true, then you also want to remove any headers which mention IPv6 addresses, but I think Google are just concerned with connections from IPv6 addresses.
> I found a configuration for postfix which created allowed a list of domain which would only use ipv4, that fixed my problem. gmail accepts ipv4 only email just fine.
Then this isn’t about headers. If you want to maintain a list of servers that require IPv4, then that’s fine. However, it would be much simpler just to use IPv4 all the time. Perhaps the content of your list could be just "*" (if that works as I think). After all, Google may move their MX hosts. And other providers might reasonably adopt a similar approach. For example we’ll give you a very high spam score if you don’t have a PTR record with FCrDNS. But we don’t accept any IPv6 email.
--
Ian Eiloart
Postmaster, University of Sussex
+44 (0) 1273 87-3148