• Re: Email Error

    From Andy Burns@21:1/5 to Jeff Gaines on Wed Jan 8 17:12:32 2025
    XPost: uk.comp.homebuilt

    Jeff Gaines wrote:

    "5.7.1 <END-OF-MESSAGE>: End-of-data rejected: SPF Incorrect")
    I am sending it via my own domain via PlusNet
    You need an SPF record in the DNS for your domain, speak to whoever
    hosts your domain.

    e.g. here is what I use for my domain to allow sending via plusnet's servers

    v=spf1 a mx include:_spf-internal.plus.net
    include:_spf-internal2.plus.net ~all

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Alan J. Wylie on Wed Jan 8 19:14:42 2025
    XPost: uk.comp.homebuilt

    Alan J. Wylie wrote:

    If so, do you have an SPF and DMARC record set in DNS, and are you signing your outgoing emails with DKIM? If not, you will have serious
    deliverability issues

    I think you're stating it a little too strongly, implying that all three
    of SPF, DKIM and DMARC are required.

    Certainly email services have rightly been getting stricter in their requirements, but in general either SPF or DKIM will see mail accepted, provided that everything matches, and for most users SPF is easiest to organise.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to Alan J. Wylie on Wed Jan 8 20:26:33 2025
    XPost: uk.comp.homebuilt

    Alan J. Wylie wrote:

    I run a mailing list for my mountaineering club. Previously, mail was delivered fine with the From: address being that of the sender, no DMARC record and any DKIM signature being the original one from the senders
    mail provider.

    Yes, mailing lists, dkim, dmarc, address re-writing ... all add to the fun!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Rumm@21:1/5 to Jeff Gaines on Thu Jan 9 10:25:54 2025
    XPost: uk.comp.homebuilt

    On 09/01/2025 09:41, Jeff Gaines wrote:
    On 09/01/2025 in message <vln6db$31eg0$1@dont-email.me> John Rumm wrote:

    On 08/01/2025 16:48, Jeff Gaines wrote:

    I am getting an error in sending emails from my own domain address
    but via my ISP's server:

    [SMTP] Cannot send message (Sending email "Re[2]: xxx" failed with
    error: Email body not accepted due to the following reason:
        "5.7.1 <END-OF-MESSAGE>: End-of-data rejected: SPF Incorrect
    ")

    Any clues on where the error might be occurring based on:

    My ISP is PlusNet.
    I am sending it via my own domain via PlusNet (I have no idea how
    that works)
    I use em Client which has recently been upgraded.

    It went successfully using my outlook.com address from the same email
    client, where do I start looking first?

    The Sender Policy Framework (SPF) mechanism is a way that a domain can
    advertise which SMTP servers will legitimately handle sending email
    for a domain. It allows (among other things) the receiver to make an
    estimation of how it is that a email is coming from a legit server. If
    the originating SMTP server does not match that indicated in the SPF
    record, then it is more likely that it is a spoof. Absence of a SPF
    record (or an incorrect record) make it harder to get your email
    delivered.

    I seem to recall plusnet tightened up on mail verification some time
    back, and hence may be verifying that senders have a proper SPF record.

    To see if you have a SPF record, open a command prompt, and enter:

    nslookup -type=txt <yourdomainname>

    You should have a txt record that looks like:

    "v=spf1 include:_spf-internal.plus.net include:_spf-internal2.plus.net
    ~all"

    That tells any server processing your email to lookup the server
    addresses pull in the list of IP addresses contained in text records
    attached to those two plusnet sub domains.

    So if you don't see a record like that you need to add one in the DNS
    management control panel of your domain registrar.

    Many thanks John :-)

    I have found that email, it said:

    "If your nameservers are managed by Heart Internet, there’s no need to
    take any action - our team has already made the necessary updates for you."

    So I ignored it.

    They might be assuming that if they are managing the name servers they
    are also hosting the mailbox, and hence they can put two and two
    together and do that.

    If you have mail hosted elsewhere, it seems unlikely they could do it
    (right!) automatically.

    However from following your advice it seems I have no SPF record so I followed Heart's instructions which say "Log in to your Domain Control
    Panel and navigate to ‘DNS Management’.

    There is no "DNS Management" to navigate to!

    :-)

    It is there somewhere since I had to make DNS changes for a customer on
    heart a couple of years ago. I don't think I have a valid login for them
    now, so can't go find it.

    I will raise a ticket with them. Their admin is appalling but when I
    tried to move away it seemed I had to set up my own records at Mythic
    Beasts and that was way beyond me.

    Might be worth me doing a wiki page on DIY email setups by the sounds of
    it.


    --
    Cheers,

    John.

    /=================================================================\
    | Internode Ltd - http://www.internode.co.uk | |-----------------------------------------------------------------|
    | John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to John Rumm on Thu Jan 9 10:49:01 2025
    XPost: uk.comp.homebuilt

    On 09/01/2025 in message <vlo87i$3agr2$1@dont-email.me> John Rumm wrote:

    Might be worth me doing a wiki page on DIY email setups by the sounds of
    it.

    Oh god, yes please, make sure it has a beginners' section for me!

    --
    Jeff Gaines Dorset UK
    The world will not be destroyed by those who do evil but by those who
    watch them without doing anything. (Albert Einstein)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Rumm@21:1/5 to Jeff Gaines on Fri Jan 10 01:10:04 2025
    XPost: uk.comp.homebuilt

    On 09/01/2025 15:20, Jeff Gaines wrote:
    On 09/01/2025 in message <xn0p0liqk2k6y7d006@news.individual.net> Jeff
    Gaines wrote:

    On 09/01/2025 in message <vlo87i$3agr2$1@dont-email.me> John Rumm wrote:

    Might be worth me doing a wiki page on DIY email setups by the sounds
    of it.

    Oh god, yes please, make sure it has a beginners' section for me!

    Follow up.

    Heart replied to the ticket within 10 minutes and said they would set up default SPF records so I think I was right in believing they should have
    done this.

    I can imagine that they might setup a SPF record to include their mail
    servers in the list of advertised ones, but I would not expect them to
    include the plusnet servers unless you explicitly asked them to?

    One domain is now fine, I suspect they only answered the first point so
    I have jogged them that there are two domains affected.

    (I have started an article on DIY mail server configuration and setup -
    but not ready yet)

    --
    Cheers,

    John.

    /=================================================================\
    | Internode Ltd - http://www.internode.co.uk | |-----------------------------------------------------------------|
    | John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Rumm@21:1/5 to Jeff Gaines on Fri Jan 10 01:16:07 2025
    XPost: uk.comp.homebuilt

    On 09/01/2025 15:29, Jeff Gaines wrote:
    On 09/01/2025 in message <vloomt$3df8k$1@dont-email.me> Daniel James wrote:

    On 09/01/2025 09:41, Jeff Gaines wrote:
    I will raise a ticket with [Heart]. Their admin is appalling but when
    I tried to move away it seemed I had to set up my own records at
    Mythic Beasts and that was way beyond me.

    Setting up SPF for your domain hosted on Heart will be similar if you
    don't use the EMail provided by Heart. If you don't use Heart's EMail
    servers they don't know whose servers you do use, so they can't set
    SPF up automatically for your domain.

    It's really up to the people whose servers you do use to tell you what
    to use to identify their mail servers, and up to the hosting company
    to tell you how to put that into an SPF record on their DNS.

    I find the help on Mythic Beasts's website very good, and their
    support people are very helpful and responsive when the help isn't
    quite enough. If you use Mythic Beasts for both mail and domain
    hosting then setting up SPF and DKIM are one-click operations, if you
    don't then you have to do a little work, but they do tell you what you
    need to do.

    I must admit I find it very confusing working out who does what!

    Yup it can get confusing...

    Plusnet is my ISP, I only use their email address for correspondence
    with them.

    I have 2 x domains hosted with Heart but my email client is set up to
    log on to the Heart servers so although I send email from my email
    program I think Plusnet only connects me to the Internet, Heart does all
    the addressing stuff.

    Earlier I got the impression that you might be trying to send mail for
    your domain via the plusnet mail server (you did say "I am getting an
    error in sending emails from my own domain address but via my ISP's
    server"). You might have been able to get that to work in the past, but
    plusnet would likely block it now.

    However connecting to the mail servers that belong to the actual host of
    your mailbox is the proper way to do it. In that case, all plusnet is
    doing is providing the connection and play no further part in it.


    --
    Cheers,

    John.

    /=================================================================\
    | Internode Ltd - http://www.internode.co.uk | |-----------------------------------------------------------------|
    | John Rumm - john(at)internode(dot)co(dot)uk | \=================================================================/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to John Rumm on Fri Jan 10 08:30:44 2025
    XPost: uk.comp.homebuilt

    On 10/01/2025 in message <vlpscn$3kc15$2@dont-email.me> John Rumm wrote:

    I must admit I find it very confusing working out who does what!

    Yup it can get confusing...

    Plusnet is my ISP, I only use their email address for correspondence with >>them.

    I have 2 x domains hosted with Heart but my email client is set up to log >>on to the Heart servers so although I send email from my email program I >>think Plusnet only connects me to the Internet, Heart does all the >>addressing stuff.

    Earlier I got the impression that you might be trying to send mail for
    your domain via the plusnet mail server (you did say "I am getting an
    error in sending emails from my own domain address but via my ISP's >server"). You might have been able to get that to work in the past, but >plusnet would likely block it now.

    However connecting to the mail servers that belong to the actual host of
    your mailbox is the proper way to do it. In that case, all plusnet is
    doing is providing the connection and play no further part in it.

    Good to know I am doing it properly even if I didn't know what I was doing!

    Heart's original email said:

    "At Heart Internet, we’re always investing in improvements to give our customers the best possible experience. As part of this commitment,
    we’ve partnered with a new mail provider, Soverin, to enhance email reliability and deliverability.

    To support this change, we’ve updated the SPF (Sender Policy Framework) records required for sending emails through our servers.

    To ensure your emails continue to deliver successfully, please review and update your SPF record based on the instructions below.

    If your nameservers are managed by Heart Internet, there’s no need to
    take any action - our team has already made the necessary updates for you."

    I decided that meant I didn't need to take any action and I suspect I was right, just for some reason Heart didn't do what it said it would.

    Look forward to the blog on the subject :-)

    --
    Jeff Gaines Dorset UK
    If you ever find something you like buy a lifetime supply because they
    will stop making it

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andy Burns@21:1/5 to John Rumm on Fri Jan 10 10:22:14 2025
    XPost: uk.comp.homebuilt

    John Rumm wrote:

    I got the impression that you might be trying to send mail for your
    domain via the plusnet mail server

    That's how I read it too ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to Theo on Fri Jan 10 12:31:50 2025
    XPost: uk.comp.homebuilt

    On 10/01/2025 in message <BSw*1re4z@news.chiark.greenend.org.uk> Theo wrote:

    In uk.d-i-y Andy Burns <usenet@andyburns.uk> wrote:

    John Rumm wrote:

    I got the impression that you might be trying to send mail for your >>>domain via the plusnet mail server

    That's how I read it too ...

    Me too.

    The general rule of thumb is that email should go out by the same provider >that it comes in, ie if you host example.com at XYZ Hosting, you should
    send mail that claims to be from you@example.com via XYZ Hosting. XYZ >Hosting should take care of the necessary SPF/etc to make this possible >(although check their control panel in case it's a setting you need to >enable).

    Most mail clients can accept settings for an SMTP server per account. Some >older ones can't, so unfortunately they aren't suitable for modern use.[*]

    Theo

    [*] You could I suppose run a local smarthost on a RPi or something whose
    job it is to accept messages from your old client and work out which
    upstream server to send the messages to. That is left as a DIY for the >reader.

    I have to say this is beyond me, I said:

    "Any clues on where the error might be occurring based on:

    My ISP is PlusNet.
    I am sending it via my own domain via PlusNet (I have no idea how that
    works)
    I use em Client which has recently been upgraded.

    It went successfully using my outlook.com address from the same email
    client, where do I start looking first?"

    I suspect "I am sending it via my own domain via PlusNet (I have no idea
    how that works)" is causing confusion, my ISP is PlusNet so that's how I
    get on to the Internet, the details in my email program are the Heart
    Internet details. Seems I am connecting to my domain server via my PlusNet connection?

    Anyway it works now!

    --
    Jeff Gaines Dorset UK
    The first five days after the weekend are the hardest.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to All on Fri Jan 10 17:34:04 2025
    XPost: uk.comp.homebuilt

    On 10/01/2025 in message <lud2j2Faar9U2@mid.individual.net> Andy Burns
    wrote:

    Jeff Gaines wrote:

    I already had a domain hosted with Mythic Beasts which I had transferred >>from Heart

    Previously Heart got gobbled up by GoDaddy (as part of Host Europe) but
    now they seem to have become part of <https://your.online> which, perhaps >worryingly, seems to be offline ...

    :-)

    --
    Jeff Gaines Dorset UK
    That's an amazing invention but who would ever want to use one of them? (President Hayes speaking to Alexander Graham Bell on the invention of the telephone)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to wasbit on Sat Jan 11 10:52:36 2025
    XPost: uk.comp.homebuilt

    On 11/01/2025 in message <vltflc$ih20$1@dont-email.me> wasbit wrote:

    On 10/01/2025 12:31, Jeff Gaines wrote:
    On 10/01/2025 in message <BSw*1re4z@news.chiark.greenend.org.uk> Theo >>wrote:

    In uk.d-i-y Andy Burns <usenet@andyburns.uk> wrote:

    John Rumm wrote:

    I got the impression that you might be trying to send mail for your >>>>>domain via the plusnet mail server

    That's how I read it too ...

    Me too.

    The general rule of thumb is that email should go out by the same >>>provider
    that it comes in, ie if you host example.com at XYZ Hosting, you should >>>send mail that claims to be from you@example.com via XYZ Hosting.  XYZ >>>Hosting should take care of the necessary SPF/etc to make this possible >>>(although check their control panel in case it's a setting you need to >>>enable).

    Most mail clients can accept settings for an SMTP server per account. >>>Some
    older ones can't, so unfortunately they aren't suitable for modern >>>use.[*]

    Theo

    [*] You could I suppose run a local smarthost on a RPi or something whose >>>job it is to accept messages from your old client and work out which >>>upstream server to send the messages to.  That is left as a DIY for the >>>reader.

    I have to say this is beyond me, I said:

    "Any clues on where the error might be occurring based on:

    My ISP is PlusNet.
    I am sending it via my own domain via PlusNet (I have no idea how that >>works)
    I use em Client which has recently been upgraded.

    It went successfully using my outlook.com address from the same email >>client, where do I start looking first?"

    I suspect "I am sending it via my own domain via PlusNet (I have no idea >>how that works)" is causing confusion, my ISP is PlusNet so that's how I >>get on to the Internet, the details in my email program are the Heart >>Internet details. Seems I am connecting to my domain server via my
    PlusNet connection?

    Anyway it works now!


    I used EM Client for a couple of email addresses for several years. It's
    free for 2 addresses. Don't need calendar, chat etc.
    When Microsoft updated their authentication EM had to update their client
    & the emails failed.
    Luckily I managed to get the emails to authenticate with another client. >Can't remember which but I can look it up if needed. I should also say
    that these previously working emails wouldn't authenticate with
    Thunderbird, Betterbird or several other clients that I tried.
    Several months later I tried EM Client again & the addresses authenticated.
    - https://www.emclient.com/

    eM Client does keep up to date BUT sometimes only via a new version so
    there is a cost depending on how many email accounts you need. At the last update (v10) they introduced a personal licence covering 3 x computers
    which seemed a good deal.

    In respect of authentication I have closed all my Yahoo accounts, they
    changed their process so frequently nobody could keep up.

    The only issue I have with MSFT (outlook.com) is they demand
    re-authentication on my Android devices every three months which is a pain
    as I use long password safe produced passwords and re-entering that is a killer!

    So far Gmail seems OK...

    --
    Jeff Gaines Dorset UK
    I was standing in the park wondering why Frisbees got bigger as they get closer.
    Then it hit me.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Jeff Gaines on Wed Jan 15 10:32:18 2025
    XPost: uk.comp.homebuilt

    On 1/9/25 09:41, Jeff Gaines wrote:


    However from following your advice it seems I have no SPF record so I followed Heart's instructions which say "Log in to your Domain Control
    Panel and navigate to ‘DNS Management’.

    There is no "DNS Management" to navigate to!

    I will raise a ticket with them. Their admin is appalling but when I
    tried to move away it seemed I had to set up my own records at Mythic
    Beasts and that was way beyond me.


    It's not that difficult. A painting by numbers task. rather than
    requiring you to know what you are doing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)