Hi, I would like to use Zimbra instead of ispconfig's default mail system, when we create a website ispconfig automatically creates an A record as "A mail WAN_IP", if i change this record to my zimbra server's ip will it work?
Email delivery is determined by MX record. So, if you want to point your email to another email server you have to change MX record.
oh i see, when i check the DNS records i saw "MX mydomain.com. mail.mydomain.com. 10 3600" then will it work if i change MX rercord as follow "MX zimbra_server's ip address. mail.mydomain.com. 10 3600" ?
You cannot use IP address as MX record. So, create DNS A record like zimbra.yourodmain.com with its IP address and then for domain where you want to point emails to your zimbra server set MX record to zimbra.yourdomain.com.
ok, i created dns records as you mentioned (please see attached pictures), and created a testing account on zimbra, i'm sending e-mail to testing account, it doesn't return any error messages lik domain not found or user not found but it doesn't deliver the mail, same happening on smtp sending test mail from zimbra it doesn't return any error but not delivering my outgong mail too. Forgive me if i didn't understand your directions correctly,i'm a rookie and still trying to learn.
Hostname of mx record must be empty or should be just the domain name with a dot at the end, not the mail subdomain.
ok now when i ping mail.gorselpackaging.com it replies from 176.236.23.90-which is my zimbra's ip address, forwarded all e-mail ports to my zimbra server, i'm sending from gmail account to [email protected], mail is not delivering to [email protected] but not any error message returns to my gmail account,i think if i get response from zimbra's ip address when i ping and all ports are reachable then it's zimbra related issue right?
DNS zone changes may take up to 24 hours. So, it may be a DNS problem or Zimbra itself problem. Check your logs.
when i'm configuring my domain at godaddy to forward my server i just created ns1.gorselpackaging.com and ns2.gorselpackaging.com,i didn't create any A or MX records at godaddy, can that cause problem?
Yes. There is Tutorial: https://www.howtoforge.com/how-to-i...config-on-debian-10/#dns-name-service-entries