To begin, here are my server’s software and versions:
|Operating system||CentOS Linux 7.8.2003|
|Path to Perl||/usr/bin/perl|
|Mail injection command||/usr/lib/sendmail -t|
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.