To begin, here are my server’s software and versions:
Operating system CentOS Linux 7.8.2003 Perl version 5.016003 Path to Perl /usr/bin/perl BIND version 9.11 Postfix version 2.10.1 Mail injection command /usr/lib/sendmail -t Apache version 2.4.6 PHP versions 7.4.8 Webalizer version 2.23-08 Logrotate version 3.8.6 MySQL version 5.7.31 SpamAssassin version 3.4.0 I can add system level users and FTP works fine (but email logins do not work).
If I add users to any virtual host via VirtualMin for email or FTP access, the system can receive email for that user and I can go look at their mail queue and read the incoming emails.
However, the username.domain login name format appears not to work for either email or FTP, in that login attempts for either using the username.domain login name format fail on bad passwords.
I am using Postfix and Proftpd. Before I had to manually change the inet_interfaces setting in /etc/postfix/main.cf to ‘all’ from its default setting of ‘localhost’, and verified that I had port 25 open for SMTP, I could neither send nor receive email from the system.
Now the mail server can receive email for virtual users, but under no circumstances can the server send anything that isn’t to itself, i.e, within the localhost zone.
And, the username.domain style users cannot log in (but the system level users where the name in the /etc/passwd and /etc/shadow files where the username is expressed as ‘username’ instead of ‘username.domain’ can access FTP just fine.
I have tried other FTP engines. The behavior is the same with respect to FTP logins. This leads me to believe that this is a Webmin/Virtualmin problem, not a system level problem.
I have to get my email running. Anybody have any idea what’s going on?? Other users appear to have this working out of the box. Alas, I am not among them.
Found this in my /var/log/maillog, which may have bearing on the issue:
dovecot: imap-login: Warning: Auth process not responding, delayed sending initial response (greeting): user=<>, rip=126.96.36.199, lip=188.8.131.52, TLS, session= Jul 29 21:22:25 ns548855