Hi, I'm trying to setup an email format of user@domain.tld rather than the standard Virtualmin joe.virtualmin.
I followed the Virtualmin instructions https://www.virtualmin.com/documentation/email/pop-and-imap and went to Virtualmin > System Settings > Server Templates, however there should be an option called Mail for domain. There is no Mail for domain there?
Mail for domain is enabled in Virtualmin > Edit Virtual Server > Enabled features.
I tried these to forum posts too, however there is no email address to send a test email to, like user@domain.tld. https://www.virtualmin.com/node/30046 https://www.virtualmin.com/node/30051
I have created a new email account using Virtualmin > Edit Users > Add a user to this server. > entered the email address, full name and password > Create, however the result is a name called test and a login test.domain. How do I send an email to test.domain as I sent an email to test@domain.tld, but I can't access the test@domain.tld webmail box?
I tried accessing test@domain.tld by going to https://LAN_IP:20000 > Username: test@domain.tld > Password: password > Login, however an error: Failed to login to IMAP server : [AUTHENTICATIONFAILED] Authentication failed.
Any help please on how to setup the user@domain.tld email please?
Okay, I was able to login to Username using username: test.domain rather than test@domain.tld. After logging in with test.domain, I can now also log in with test@domain.tld.
However, there is no test email I sent to test@domain.tld?
http://www.virtualmin.com/documentation/id,webmail_and_virtualmin/#webma... says Usermin uses IMAP server by default if Dovecot is running and properly configured. I am using whatever the default configuration is, so if I need to configure something, I can't find any instructions how to?
I checked the Virtualmin mail logs in /var/log/maillog. Here is some of the log errors. I couldn't paste all of the logs as it's 2710 lines of code from 5065-7775: 1st part of log files:
Last part of log files:
Further troubleshooting suggests the Virtualmin email configuration is correct. I tried: http://www.virtualmin.com/documentation/email/troubleshooting DNS resolution for mail
I received email from gmail saying: The recipient server did not accept our requests to connect. Learn more at https://support.google.com/mail/answer/7720 [(5)mail.domain.com. [WANIP]:25: Connection timed out]
Virtualmin > Server Configuration > DNS Records > MX - Mail Server, has setting, 5 mail.domain.com.
This is the automatic default Virtualmin settings so I am not sure how the MX records aren't configured correctly?
www.intodns.com says all my MX Records are good and have a green tick.
Howdy,
It sounds as if port 25 is inaccessible from the Internet.
One possible reason for that is that many ISP's block port 25. You may want to verify that yours allows traffic on that port.
Another possibility is that if you're using NAT, your router may not be forwarding port 25 to your server.
-Eric
Thanks andreychek, it seems the port 25 was probably the issue. I also had to send out an email from Usermin and email then started coming in after port 25 was forwarded and the initial Usermin email was sent.