Email settings correct?

Discussion in 'Installation/Configuration' started by jjsjjs, Nov 16, 2021.

  1. jjsjjs

    jjsjjs Member

    Hi,
    the email issue looked solved but it isn't. I can create accounts like in Windows Mail, but I can't send emails.
    From my own email account(other domain) I can't receive emails. But from gmail I can receive email.
    Don't know for sure but, can it be something with the DNS of the DKIM at the domainname isp? I've send them an email, because the TXT does not seems to accept the key from ispconfig. The name of the txt should be default._domainkey but it defaults back to DKIM as name.
    I checked with and online DNS checker and that one only accepts the key when all quotes are removed.
    But the isp is not reachable in the weekend.

    Hope to get that solved.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    It could be a lot of things; log messages often help identify issues. Go through that email tutorial @Taleman referred you to.

    As to the dkim selector, you can change what is in use in ispconfig to match what your dns provider has if you can't change it there.
     
  3. jjsjjs

    jjsjjs Member

    Thanks, ok I will check again.
    And I followed his advice to not create any dns in ispconfig.

    In mail-error there is nothing.

    In mail-warn I have this with an unkown ip:
    Code:
    Nov 21 14:54:42 h123456 postfix/smtpd[8692]: warning: unknown[193.56.29.154]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
    Nov 21 14:54:53 h123456 postfix/smtpd[8692]: warning: unknown[193.56.29.154]: SASL LOGIN authentication failed: Connection lost to authentication server
    
    In mail-log (I changed my ip):
    Code:
    Nov 21 15:49:27 h123456postfix/smtps/smtpd[11434]: SSL_accept error from d54c3228e.access.tele.nl[123.123.123.123]: Connection reset by peer
    Nov 21 15:49:27 h123456postfix/smtps/smtpd[11434]: lost connection after CONNECT from d54c3228e.access.telenet.be[123.123.123.123]
    Nov 21 15:49:27 h123456postfix/smtps/smtpd[11434]: disconnect from d54c3228e.access.tele.nl[123.123.123.123] commands=0/0
    Nov 21 15:49:27 h123456postfix/smtps/smtpd[11434]: connect from d54c3228e.access.tele.nl[123.123.123.123]
    
    Thanks.
     
  4. jjsjjs

    jjsjjs Member

    host 5upmusic and dig 5upmusic are looking good.

    The main difference I now can see is that
    Code:
    host 81.169.204.216
    81.169.204.216.in-addr.arpa domain name h2954186.stratoserver.net
    
    it does not resolve in 5upmusic.com is that a problem in this case?

    other thing is when I request this
    Code:
    host -t txt default._domainkey.5upmusic.com.
    nothing is returned
    when I do
    Code:
    host -t txt DKIM.5upmusic.com.
    
    the public key is returned, but I read that it always should be default._domainkey as name
     
    Last edited: Nov 21, 2021
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    The PTR record should be the hostname of your server.

    It can be a different subdomain as long as this is configured correctly.
     
  6. jjsjjs

    jjsjjs Member

    Thanks Th0m, I hope that the ISP where the DNS settings are can help me out. Their DNS settings page is not working ok, it's not allowing me to change anything at the moment, it defaults back.
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Alright. Otherwise you can also host the nameservers yourself ofcourse ;)
     
  8. jjsjjs

    jjsjjs Member

    Last edited: Nov 21, 2021
  9. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You need 2 nameservers, and you can set those nameservers as authoritive for your domain. All DNS records are set in the zone on ISPConfig in that case.
     
  10. jjsjjs

    jjsjjs Member

    To be clear, (forgive me my stupidness) at the domain provider I leave it now like it is? the nameserver there are ns1-1.alfahost.nl and ns1-2.alfahost.nl. And create the rest in ispconfig right? Going to test it.

    Question: as alfahost points to the IP address of the VPS, does the zone in ISPconfig point to the same ip or to 127.0.0.1 ?
     
    Last edited: Nov 21, 2021
  11. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    No, the nameservers should be changed if you want to use your ISPConfig zone. But you need to add a secondary nameserver to your ISPConfig setup as well.
     
  12. jjsjjs

    jjsjjs Member

    Ah, ok. Then I'll have to wait. The NDS page at the ISP is still giving errors. Hopefully there more news tomorrow.

    Thanks so far!
     
  13. jjsjjs

    jjsjjs Member

    The isp at alfahost removed my DKIM, something was corrupt, so now I corrected it.
    Also the spf is now corrected.
    Let's hope it starts working and else I can try the own nameserver option.
     

Share This Page