Virtualmin Mail server with cloudflare, still can't get emails

Hi,

I managed to setup a virtualmin server with DNS coming from Cloudflare and with the registrar Namecheap. The site is working but I need to be able to send/receive mail from say info@mysite.com (mysite.com is the virtualmin server).

I set all the suggested records that virtualmin advises into my cloudflare DNS records.

I understood I had to disable the DNS in virtualmin (I simply un-ticked the DNS checkbox when creating mysite.com)

Now I added a user called “info”.

I have set a forwarder to my gmail address and I send some test emails from an other hotmail address I have but nothing happens, are there some logs I could check?
How can I get the mail server running from here please?

Howdy,

The email logs may help out here… on CentOS those are located in /var/log/maillog, and on Debian/Ubuntu those are in /var/log/mail.log.

You’d want to verify that the email is indeed arriving from hotmail, and then see what happens when it tries to forward those to Gmail.

-Eric

I am lost

The mail log sends this, but I have no idea why this hong kong ip keeps coming… it’s worse than I imagined to debug this whole DNS mess, I think I will give up on giving my customers email for now.

Oct 21 17:24:42 vps74899 postfix/smtpd[28125]: disconnect from unknown[218.189.203.15]
Oct 21 17:24:42 vps74899 postfix/smtpd[28125]: connect from unknown[218.189.203.15]
Oct 21 17:24:45 vps74899 postfix/smtpd[28125]: warning: unknown[218.189.203.15]: SASL LOGIN authentication failed: authentication failure
Oct 21 17:24:45 vps74899 postfix/smtpd[28125]: lost connection after AUTH from unknown[218.189.203.15]
Oct 21 17:24:45 vps74899 postfix/smtpd[28125]: disconnect from unknown[218.189.203.15]
Oct 21 17:24:46 vps74899 postfix/smtpd[28125]: connect from unknown[218.189.203.15]
Oct 21 17:24:49 vps74899 postfix/smtpd[28125]: warning: unknown[218.189.203.15]: SASL LOGIN authentication failed: authentication failure
Oct 21 17:24:49 vps74899 postfix/smtpd[28125]: lost connection after AUTH from unknown[218.189.203.15]
Oct 21 17:24:49 vps74899 postfix/smtpd[28125]: disconnect from unknown[218.189.203.15]
Oct 21 17:26:57 vps74899 postfix/smtpd[28495]: connect from unknown[unknown]
Oct 21 17:26:57 vps74899 postfix/anvil[26167]: statistics: max connection rate 17/60s for (smtp:218.189.203.15) at Oct 21 17:17:46
Oct 21 17:26:57 vps74899 postfix/anvil[26167]: statistics: max connection count 1 for (smtp:unknown) at Oct 21 17:16:59
Oct 21 17:26:57 vps74899 postfix/anvil[26167]: statistics: max cache size 2 at Oct 21 17:16:59
Oct 21 17:26:57 vps74899 postfix/smtpd[28495]: lost connection after CONNECT from unknown[unknown]
Oct 21 17:26:57 vps74899 postfix/smtpd[28495]: disconnect from unknown[unknown]

I am lost

The mail log sends this, but I have no idea why this hong kong ip keeps coming… it’s worse than I imagined to debug this whole DNS mess, I think I will give up on giving my customers email for now.

Oct 21 17:24:42 vps74899 postfix/smtpd[28125]: disconnect from unknown[218.189.203.15]
Oct 21 17:24:42 vps74899 postfix/smtpd[28125]: connect from unknown[218.189.203.15]
Oct 21 17:24:45 vps74899 postfix/smtpd[28125]: warning: unknown[218.189.203.15]: SASL LOGIN authentication failed: authentication failure
Oct 21 17:24:45 vps74899 postfix/smtpd[28125]: lost connection after AUTH from unknown[218.189.203.15]
Oct 21 17:24:45 vps74899 postfix/smtpd[28125]: disconnect from unknown[218.189.203.15]
Oct 21 17:24:46 vps74899 postfix/smtpd[28125]: connect from unknown[218.189.203.15]
Oct 21 17:24:49 vps74899 postfix/smtpd[28125]: warning: unknown[218.189.203.15]: SASL LOGIN authentication failed: authentication failure
Oct 21 17:24:49 vps74899 postfix/smtpd[28125]: lost connection after AUTH from unknown[218.189.203.15]
Oct 21 17:24:49 vps74899 postfix/smtpd[28125]: disconnect from unknown[218.189.203.15]
Oct 21 17:26:57 vps74899 postfix/smtpd[28495]: connect from unknown[unknown]
Oct 21 17:26:57 vps74899 postfix/anvil[26167]: statistics: max connection rate 17/60s for (smtp:218.189.203.15) at Oct 21 17:17:46
Oct 21 17:26:57 vps74899 postfix/anvil[26167]: statistics: max connection count 1 for (smtp:unknown) at Oct 21 17:16:59
Oct 21 17:26:57 vps74899 postfix/anvil[26167]: statistics: max cache size 2 at Oct 21 17:16:59
Oct 21 17:26:57 vps74899 postfix/smtpd[28495]: lost connection after CONNECT from unknown[unknown]
Oct 21 17:26:57 vps74899 postfix/smtpd[28495]: disconnect from unknown[unknown]