cannot receive or send emails digital ocean

Discussion in 'ISPConfig 3 Priority Support' started by senormedia, May 21, 2019.

  1. senormedia

    senormedia New Member

    I cannot receiver or send emails, is it the dkim
    digitalocean droplet
    for digitalocean i have private ip and gateway as well

    Im using the automation
    https://www.howtoforge.com/tutorial/ubuntu-ispconfig-automated-install-script/ - picked all recommended
    apache
    mysql
    Clamavd
    dovecot
    webmail with roundcube

    checkbox is checked for
    Use SMTP to send system emails under main config
    under stmp but values are empty are those supposed to be filled out

    for dns it has been more than 48hours

    what am i missing or do i need to add something

    upload_2019-5-21_10-22-51.png

    upload_2019-5-21_10-21-47.png
     
    Last edited: May 21, 2019
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    According to the two zones you posted: the domain modifiedarts.com has a valid dkim setup, the domain cafeworld.top has no dkim.

    I don't know what the dkim digitalocean droplet is or which prerequisites it has. You might want to contact the digitalocean support if you have any issues with their preconfigured droplet.
     
  3. senormedia

    senormedia New Member

    I added the host and the main domain should i add the dkim to the droplet
    should i add it to the host and main domain dns then droplet?
    also if i add it does that configuration look correct?
    upload_2019-5-21_11-6-28.png
    upload_2019-5-21_11-6-55.png
     

    Attached Files:

  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. senormedia

    senormedia New Member

    i did, im kind of lost, am i just forgetting the mail.mydomain.com etc....

    upload_2019-5-23_1-11-39.png

    im changing the config and adding a record for mail.domain hopefully this one, only thing not working is receiving and and stmp, but need to receive emails asap

    ill see if this works, cause 1000 post here on the forum and nobody can just explain like this is or a pic

    $ORIGIN mundocafe.top.
    $TTL 1800
    mundocafe.top. IN SOA ns1.digitalocean.com. hostmaster.mundocafe.top. 1558579553 10800 3600 604800 1800
    mundocafe.top. 1800 IN NS ns1.digitalocean.com.
    mundocafe.top. 1800 IN NS ns2.digitalocean.com.
    mundocafe.top. 1800 IN NS ns3.digitalocean.com.
    mundocafe.top. 1800 IN A 178.128.2.79
    *.mundocafe.top. 1800 IN A 178.128.2.79
    ns1.mundocafe.top. 1800 IN A 178.128.2.79
    ns2.mundocafe.top. 1800 IN A 178.128.2.79
    www.mundocafe.top. 43200 IN CNAME mundocafe.top.
    sielvos.mundocafe.top. 1800 IN A 178.128.2.79
    mundocafe.top. 14400 IN MX 10 mail.mundocafe.top.
    mail.mundocafe.top. 1800 IN A 178.128.2.79
    mundocafe.top. 3600 IN TXT v=spf1 a mx ~all
    default._domainkey.mundocafe.top. 3600 IN TXT v=DKIM1; t=s; p=MIIB*********
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  7. senormedia

    senormedia New Member

    ok im reading it, but can you explain if all what i added in digital ocean, does it even matter or ipsconfig takes care of that because, cause it says dns viz something and i am confused, about the parent zone
    only reason i want to use my ns1.domain.com, ns2.domain.com is because i have over 80 sites and dont want to go into each and change the dns

    is there a link or something that can dumb it down even more, i have looked thru dozens of tutorials
    i even bought the manual but i still cannot find something where it says to point ns1.to this ns1 or just add ip to nameservers if etc...

    and the tutorials i found everybody does it different just want to know what the proper way to do it

    the manual does not explain it or really go over actually what you need to do with ns1 etc..., if its in spanish i can give it a try, can i use ip6 as a second dns but dont think that would help

    i been trying for weeks, and nothing this is my 20th install

    question does the ispconfig work the same as cpanel as in using the droplet info to create mx, mail, etc...

    or diffrent
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Seems you only have one name server, since ns1 and ns2 have same IP-number.
    Did you set up name service on your ISPConfig host? Which host is that, is it the one with IP-number 104.248.215.104?
    There is Tutorial: https://www.howtoforge.com/tutorial/setting-up-your-own-name-service-with-ispconfig
    To get sending of e-mails working, the MX host must have reverse DNS PTR record matching the hostname. Your MX does not:
    Code:
    $ host mail.cafeworld.top
    mail.cafeworld.top has address 104.248.215.104
    
    $ host 104.248.215.104
    Host 104.215.248.104.in-addr.arpa. not found: 3(NXDOMAIN)
    
    Also, show what
    Code:
    hostname
    hostname -f
    
    return on your host. If you have only cafeworld.com as hostname -f, it causes problems with mail server setup. If you have one ISPConfig server, set hostname to mail.cafeworld.top.
     
  9. senormedia

    senormedia New Member

    looks like i got it, but i have some errors here, can you check it out also cafeworld.top was my old domain
    mundocafe.top
    https://dnssec-debugger.verisignlabs.com/mundocafe.top
    do i need to have mundocafe.top on dns zones or dont matter

    here is a site i added
    email to test
    [email protected]

    is this to much mumbo jumbo or pretty much correct way on a single server

    upload_2019-5-23_3-49-44.png



    upload_2019-5-23_3-50-32.png

    upload_2019-5-23_3-58-3.png


    let me know if that works,
    if yeah so i can start creating a spanish tutorial and start translating the https://www.faqforge.com/linux/controlpanels/ispconfig3/ to spanish
     
  10. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I do not understand what you are asking.
    But mundocafe is working in DNS:
    Code:
    host mundocafe.top
    mundocafe.top has address 178.128.2.79
    mundocafe.top mail is handled by 10 mail.mundocafe.top.
    
    host mail.mundocafe.top
    mail.mundocafe.top has address 178.128.2.79
    
    host 178.128.2.79
    79.2.128.178.in-addr.arpa domain name pointer sielvos.mundocafe.top.
    I cant say whether that works or not. Those test websites you already used should tell you if they work.
     
  11. senormedia

    senormedia New Member

    actually it worked this time with no more errors, email is working, im receiving email as well as sending, and have everything like dkim

    but for the sites you sent i have these errors

    but https://mxtoolbox.com/ does not show this, so im confused how these two sites are saying the errors

    upload_2019-5-23_11-22-41.png

    upload_2019-5-23_11-23-26.png
     
  12. MaxT

    MaxT Member HowtoForge Supporter

    It shows error "ERROR: No reverse DNS (PTR) entries":
    https://intodns.com/mundocafe.top
    it seems you should configure you reverse IP inside DigitalOcean. Don't know that provider, I suppose they should have a panel with some option in where you can assign your server name ("server.mundocafe.top" or whatever) to the ip 159.89.222.83
    https://www.digitalocean.com/community/questions/how-do-i-set-up-reverse-dns-for-my-ip

    Do a #hostname to know the name of your machine, then go inside DigitalOcean panel and assign 159.89.222.83
    Wait some time and then check you IP returns your server name : http://mxtoolbox.com/ReverseLookup.aspx

    I believe there is a confussion in your config using the dns ip from digital ocean and the ip of your server. Maybe you should look assistance in digitalocean
     
    Last edited: May 25, 2019
  13. senormedia

    senormedia New Member

    thank you figured it out,
    so added extra name servers in namesilo.com
    with the digitalocean dns
    then in digitalocean i created two dns with ns1 digitalocean, ns2 digitalocean and then added 2 a records ns1.mydomain.com and ns2.domain.com pointing to my ip

    mydomain.com. 1800 IN NS ns1.digitalocean.com.
    mydomain.com. 1800 IN NS ns2.digitalocean.com.
    ns1.mydomain.com. 1800 IN A IP Address
    ns2.mydomain.com. 1800 IN A IP Address
    mydomain.com. 3600 IN A IP Address
    *.mydomain.com. 3600 IN A IP Address
    host.mydomain.com. 3600 IN A IP Address
    mydomain.com. 3600 IN MX 10 mail.mydomain.com.
    mail.mydomain.com. 3600 IN A IP Address
    mydomain.com. 3600 IN TXT "v=spf1 a mx ip4:IP Address -all"
    default._domainkey.mydomain.com. 3600 IN TXT "v=DKIM1; etc..."
    _dmarc.mydomain.com. 3600 IN TXT "v=DMARC1; p=reject; rua=mailto:[email protected]; ruf=mailto:[email protected]; fo=0:1:d:s"
    mydomain.com. 3600 IN CAA 128 issue ""letsencrypt.org""
     

Share This Page