Relay Access Denied recieving mail on ISPCONFIG3

Discussion in 'Installation/Configuration' started by vestport, Nov 24, 2025 at 2:48 PM.

  1. vestport

    vestport Member

    I can send mail out but incoming mail is refused. "relay access denied" message comes back from remote email server on yahoo that I send to ispconfig3 account.

    The below is from my ispconfig3 /var/log/mail.log

    2025-11-24T08:42:13.270102-05:00 ns1 postfix/smtpd[1654]: NOQUEUE: reject: RCPT from sonic317-32.consmr.mail.ne1.yahoo.com[66.163.184.43]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<sonic317-32.consmr.mail.ne1.yahoo.com>

    The below error is from the sender on yahoo:

    Sorry, we were unable to deliver your message to the following address.

    <[email protected]>:
    554: 5.7.1 <my@ispconfig3-email-account.com>: Relay access denied



    Outbound mail from my ispconfg3 email account goes to spam on yahoo.

    Thanks in advance for any help on this!

    Art
     
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    Probably because of improper SPF/DKIM/DMARC settings in ispconfig and/or dns zone.
    Though it could also be because of ip reputation.
     
  3. vestport

    vestport Member

    Got all my mail fine before I migrated to this new server. Any idea of what I can check or add specifically?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    To me, it looks as if you did not add that domain as an email domain in ISPConfig, or you did not enable local delivery for that domain.
     
  5. remkoh

    remkoh Active Member HowtoForge Supporter

    And then outbound mail won't be DKIM signed, so Yahoo may mark it as possible spam because of that.

    When all is configured correctly you should be able to easily score 10/10 on mail-tester.com.
    Anything less and mail-tester.com will show you why.
     
    Last edited: Nov 25, 2025 at 3:00 PM
  6. vestport

    vestport Member

    Thank you so much Till! I think I am finally up and running other than what remkoh is suggesting. I need to understand DKIM singatures now.
     
  7. vestport

    vestport Member

    Thank you for pointing that out and suggesting mail-tester.com. I will check the site out and try to figure this out. I did activeate DKIM, generate a private key and resync but still going to spam on yahoo.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    It's just a checkbox and a button to create the key; you don't need to understand it (if you don't want to). Just enable it, it all happens automatically in ISPConfig. Only in case you use external DNS, then you must publish it there.
     
    ahrasis and remkoh like this.
  9. remkoh

    remkoh Active Member HowtoForge Supporter

    It is possible Yahoo marks your mail as spam even when you score 10/10 on mail-tester.com.
    Than it's just Yahoo being Yahoo and marking it for no apparent reason at all. I've seen it with Gmail too.

    Very important with mail is having reverse dns in order!
    The ip of your mailserver has the resolve to the hostname of your mailserver.
    Which can be a hassle, depending on who manages your ip.
    (Luckely I manage all my own ip-blocks myself)
     
    Last edited: Nov 25, 2025 at 3:15 PM
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, it's quite common. I guess it's just IP reputation, it gets mostly better over time if you don't send spam. I guess the large providers must get used to that a specific IP is a mail server now.
     
    ahrasis likes this.
  11. remkoh

    remkoh Active Member HowtoForge Supporter

    I know of multiple german isp's that block everything by default and you have to request a whitelisting.
     

Share This Page