The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and phishing, 550-5.7.26 the message has been blocked. Please visit ...
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to her, his icloud seems to be set up to forward the mail to gmail. gmail's reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the >> ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address, there are no issues.
I also had this while sending to another rellie who has her own domain, but which is set up to forward to gmail. Upon interrogation, her hubby confirmed about the auto-forwarding, saying that "I add a line to the dovecot rules file. dovecot does the rest." Again, I can send direct to the destination gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a third party, even though they can see the SPF record of the originating sender.
Any suggestions for a way forward?
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to her, his icloud seems to be set up to forward the mail to gmail. gmail's reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the >> ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address, there are no issues.
I also had this while sending to another rellie who has her own domain, but which is set up to forward to gmail. Upon interrogation, her hubby confirmed about the auto-forwarding, saying that "I add a line to the dovecot rules file. dovecot does the rest." Again, I can send direct to the destination gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a third party, even though they can see the SPF record of the originating sender.
Any suggestions for a way forward?
TimS wrote:
This is not strickly a Mac issue, but I hope there's folk here who can
comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address.
Unbeknownst to
her, his icloud seems to be set up to forward the mail to gmail. gmail's
reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks
with the
ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address,
there are no issues.
I also had this while sending to another rellie who has her own
domain, but
which is set up to forward to gmail. Upon interrogation, her hubby
confirmed
about the auto-forwarding, saying that "I add a line to the dovecot rules
file. dovecot does the rest." Again, I can send direct to the destination
gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my
hosting
company about what SPF record they recommended, and then added their
recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and
forwarded by a
third party, even though they can see the SPF record of the originating
sender.
Any suggestions for a way forward?
The third party that does the forwarding has to edit (rewrite) the SPF
record appropriately.
Am 20.04.23 um 12:25 schrieb TimS:
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to
her, his icloud seems to be set up to forward the mail to gmail. gmail's
reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the >>> ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address,
there are no issues.
I also had this while sending to another rellie who has her own domain, but >> which is set up to forward to gmail. Upon interrogation, her hubby confirmed >> about the auto-forwarding, saying that "I add a line to the dovecot rules
file. dovecot does the rest." Again, I can send direct to the destination
gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their
recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a
third party, even though they can see the SPF record of the originating
sender.
Any suggestions for a way forward?
Why should we discuss gmail issues in this *mac* group?
<Apple-irrelevance snipped>
The third party that does the forwarding has to edit (rewrite) the SPF
record appropriately.
With the caveat that I've not been involved with MTAs for about 10
years, I'm not sure that's correct.
SPF is checked on the receiving system's MTA:
* mail's arrived from an MTA at some.domain
* the actual mail claims to be from [email protected]
* does other.domain's DNS SPF record allow some.domain?
In other words SPF makes it harder to spoof mail froms, ie is it a red
flag that mail from "[email protected]" is coming from a google.com MTA?
In other words the owner of some.domain needs to update their own SPF
record in their own DNS.
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to her, his icloud seems to be set up to forward the mail to gmail. gmail's reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the >> ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address, there are no issues.
I also had this while sending to another rellie who has her own domain, but which is set up to forward to gmail. Upon interrogation, her hubby confirmed about the auto-forwarding, saying that "I add a line to the dovecot rules file. dovecot does the rest." Again, I can send direct to the destination gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a third party, even though they can see the SPF record of the originating sender.
Any suggestions for a way forward?
On 20/04/2023 11:25, TimS wrote:
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to
her, his icloud seems to be set up to forward the mail to gmail. gmail's
reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the >>> ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address,
there are no issues.
I also had this while sending to another rellie who has her own domain, but >> which is set up to forward to gmail. Upon interrogation, her hubby confirmed >> about the auto-forwarding, saying that "I add a line to the dovecot rules
file. dovecot does the rest." Again, I can send direct to the destination
gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their
recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a
third party, even though they can see the SPF record of the originating
sender.
Any suggestions for a way forward?
It should 'just work'. So I'd suggest:
1) Confirm with the brother that he is intentionally forwarding iCloud
mail and that he did so by following these instructions: <https://support.apple.com/en-gb/guide/icloud/mm6b1a3960/icloud>
2) If so then raise a support call with Apple and complain that it
doesn't work.
3) Or give up and just email direct to his Gmail account?
Chris Ridd wrote:
[snip]
The third party that does the forwarding has to edit (rewrite) the SPF
record appropriately.
With the caveat that I've not been involved with MTAs for about 10
years, I'm not sure that's correct.
SPF is checked on the receiving system's MTA:
* mail's arrived from an MTA at some.domain
* the actual mail claims to be from [email protected]
* does other.domain's DNS SPF record allow some.domain?
In other words SPF makes it harder to spoof mail froms, ie is it a red
flag that mail from "[email protected]" is coming from a google.com MTA?
In other words the owner of some.domain needs to update their own SPF
record in their own DNS.
Er, no.
Better explanation here:
<https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme>
It is some.domain that did the forwarding. The originator of the
message - [email protected] - would have to know that some.domain would forward his message, and would have had to prepare his SPF record in
advance to allow for forwarding. This is obviously not impossible, but
the sender would have to identify the IP address (perhaps several) of
the MTA used by some.domain. So it could only be regarded as an
emergency work-around.
However, the user of some.domain has chosen to forward emails to his
gmail account. Therefore the MTA at some.domain should rewrite the
message header to show that the forwarded mail from [email protected] is
being sent from some.domain - which should be an automatic process
invoked by setting up the forwarding.
On 2023-04-20 11:40:49 +0000, Joerg Lorenz said:
Am 20.04.23 um 12:25 schrieb TimS:
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to
her, his icloud seems to be set up to forward the mail to gmail. gmail's >>> reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the
ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and >>>> phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address, >>> there are no issues.
I also had this while sending to another rellie who has her own domain, but >>> which is set up to forward to gmail. Upon interrogation, her hubby confirmed
about the auto-forwarding, saying that "I add a line to the dovecot rules >>> file. dovecot does the rest." Again, I can send direct to the destination >>> gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their
recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a
third party, even though they can see the SPF record of the originating
sender.
Any suggestions for a way forward?
Why should we discuss gmail issues in this *mac* group?
iCloud seems to be the/a relavent part of the issue.
Nod. But the thing they're *not* doing is changing the SPF record as you indicated in your original post:
The third party that does the forwarding has to edit (rewrite) the SPFThey're (just) rewriting the envelope address.
record appropriately
Chris Ridd wrote:
[snip]
The third party that does the forwarding has to edit (rewrite) the
SPF record appropriately.
With the caveat that I've not been involved with MTAs for about 10
years, I'm not sure that's correct.
SPF is checked on the receiving system's MTA:
* mail's arrived from an MTA at some.domain
* the actual mail claims to be from [email protected]
* does other.domain's DNS SPF record allow some.domain?
In other words SPF makes it harder to spoof mail froms, ie is it a red
flag that mail from "[email protected]" is coming from a google.com MTA?
In other words the owner of some.domain needs to update their own SPF
record in their own DNS.
Er, no.
Better explanation here:
<https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme>
It is some.domain that did the forwarding. The originator of the
message - [email protected] - would have to know that some.domain would forward his message, and would have had to prepare his SPF record in
advance to allow for forwarding. This is obviously not impossible, but
the sender would have to identify the IP address (perhaps several) of
the MTA used by some.domain. So it could only be regarded as an
emergency work-around.
However, the user of some.domain has chosen to forward emails to his
gmail account. Therefore the MTA at some.domain should rewrite the
message header to show that the forwarded mail from [email protected] is
being sent from some.domain - which should be an automatic process
invoked by setting up the forwarding.
The third party that does the forwarding has to edit (rewrite) the SPF record appropriatelyThey're (just) rewriting the envelope address.
iCloud seems to be the/a relavent part of the issue.
iCloud does what it is meant to do in this scenario. Gmail has an/the issue.
Joerg Lorenz wrote:
[snip]
iCloud seems to be the/a relavent part of the issue.
iCloud does what it is meant to do in this scenario. Gmail has an/the issue.
No, Gmail is doing the right thing - it is protecting its users from potential spam.
TimS <[email protected]> wrote:
[...]
1) Evidently I'm not the first to come up against this.
I've been battling against this, or something like it, for many months. Suddenly i found all my e-mails to gmail accounts were being bounced;
the only way I can get them through is to send them from an old Plusnet account or redirect them from an Easily account.
If I can do this, so can spammers, so where is the 'security' in that?
It seems much more likely to be a move to force people into updates or changes they don't really need.
1) Evidently I'm not the first to come up against this.
Liz Tuddenham wrote:
TimS <[email protected]> wrote:
[...]
1) Evidently I'm not the first to come up against this.
I've been battling against this, or something like it, for many months.
Suddenly i found all my e-mails to gmail accounts were being bounced;
the only way I can get them through is to send them from an old Plusnet
account or redirect them from an Easily account.
We've discussed this before. We would need to see a selection of bounce messages to understand your current problem, but in the past it was
evident that you could not communicate your wishes to your ISP (a one-man-band, I think), consequently your mail server is not set up correctly.
Sending via Plusnet would be expected to work given that they set up
their mail service properly.
TimS <[email protected]> wrote:
[...]
1) Evidently I'm not the first to come up against this.
I've been battling against this, or something like it, for many months. Suddenly i found all my e-mails to gmail accounts were being bounced;
the only way I can get them through is to send them from an old Plusnet account or redirect them from an Easily account.
If I can do this, so can spammers, so where is the 'security' in that?
It seems much more likely to be a move to force people into updates or changes they don't really need.
This is not strickly a Mac issue, but I hope there's folk here who can comment
usefully.
SWMBO sent a mail to her brother, to his icloud email address. Unbeknownst to her, his icloud seems to be set up to forward the mail to gmail. gmail's reaction to this was:
The MAIL FROM domain [example.com] has an SPF record with a
hard 550-5.7.26 fail policy (-all) but it fails to pass SPF checks with the >> ip: 550-5.7.26 [17.58.63.172]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. Please visit ...
and to reject the mail. If she sends directly to her bro's gmail address, there are no issues.
I also had this while sending to another rellie who has her own domain, but which is set up to forward to gmail. Upon interrogation, her hubby confirmed about the auto-forwarding, saying that "I add a line to the dovecot rules file. dovecot does the rest." Again, I can send direct to the destination gmail address with no trouble.
Last year my mail to gmail destinations started failing, so I asked my hosting
company about what SPF record they recommended, and then added their recommended SPF (TEXT) record, which fixed that.
So mail sent direct is OK, but gmail refuses mail sent via and forwarded by a third party, even though they can see the SPF record of the originating sender.
Any suggestions for a way forward?
Am 21.04.23 um 10:14 schrieb Liz Tuddenham:
TimS <[email protected]> wrote:
[...]
1) Evidently I'm not the first to come up against this.
I've been battling against this, or something like it, for many months.
Suddenly i found all my e-mails to gmail accounts were being bounced;
the only way I can get them through is to send them from an old Plusnet
account or redirect them from an Easily account.
If I can do this, so can spammers, so where is the 'security' in that?
It seems much more likely to be a move to force people into updates or
changes they don't really need.
Google is evil and they are idiots.
On 20/04/2023 11:25, TimS wrote:
Any suggestions for a way forward?
I think that there are two things wrong here.
Google are using DMARC to look for either an SPF pass or DKIM pass
before allowing an incoming mail.
You have specified SPF with a hard fail, so this means that mails from
you will only be valid if sent directly and can never be automatically forwarded (this is 'safest', so why your hosting company recommended it,
but quite restrictive).
If you didn't have such a strict SPF policy then you could make
forwarding work by also using DKIM, so then your original message would
get a DKIM pass to offset the SPF soft fail which always results from automatic forwarding.
Thanks for the link, it clarifies you're actually talking about SRS
instead, which seems kind of interesting. (In an SMTP-as-train-wreck
kind of way.)
Am 21.04.23 um 11:01 schrieb Graham J:
Liz Tuddenham wrote:
TimS <[email protected]> wrote:
[...]
1) Evidently I'm not the first to come up against this.
I've been battling against this, or something like it, for many months.
Suddenly i found all my e-mails to gmail accounts were being bounced;
the only way I can get them through is to send them from an old Plusnet
account or redirect them from an Easily account.
We've discussed this before. We would need to see a selection of bounce messages to understand your current problem, but in the past it was
evident that you could not communicate your wishes to your ISP (a one-man-band, I think), consequently your mail server is not set up correctly.
Sending via Plusnet would be expected to work given that they set up
their mail service properly.
The murderer is the victim?
Joerg Lorenz <[email protected]> wrote:
Am 21.04.23 um 11:01 schrieb Graham J:
Liz Tuddenham wrote:
TimS <[email protected]> wrote:
[...]
1) Evidently I'm not the first to come up against this.
I've been battling against this, or something like it, for many months. >>>> Suddenly i found all my e-mails to gmail accounts were being bounced;
the only way I can get them through is to send them from an old Plusnet >>>> account or redirect them from an Easily account.
We've discussed this before. We would need to see a selection of bounce >>> messages to understand your current problem, but in the past it was
evident that you could not communicate your wishes to your ISP (a
one-man-band, I think), consequently your mail server is not set up
correctly.
Sending via Plusnet would be expected to work given that they set up
their mail service properly.
The murderer is the victim?
I completely agree. Google is unilaterally trying to enforce something
that is supposed to be optiional. That is not the fault of the other
ISPs, who are sending out e-mails which conform to internationally
agreed standards and havng them arbitrarily rejected.
Liz Tuddenham <[email protected]d> wrote:
properly.
Google is unilaterally trying to enforce something
that is supposed to be optiional. That is not the fault of the other
ISPs, who are sending out e-mails which conform to internationally
agreed standards and havng them arbitrarily rejected.
I’m just glad gmail is not my primary email account then!
On 20 Apr 2023 at 21:17:38 BST, "Chris Ridd" <[email protected]> wrote:
Thanks for the link, it clarifies you're actually talking about SRS
instead, which seems kind of interesting. (In an SMTP-as-train-wreck
kind of way.)
Joy! I've been out of the email wrangling business so long I didn't even
know of SRS :)
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 152:20:46 |
| Calls: | 12,091 |
| Calls today: | 4 |
| Files: | 15,000 |
| Messages: | 6,517,636 |