I created a domain under virtualmin, modified the DNS MX records to point to existing mail server. When sending mail from a php form it was bouncing with an unknown user error.
I turned off mail for the domain and attempted to configure postfix by removing any mention of the domain, but it is still not working.
The form correctly delivers mail to other domains, i.e. gmail, etc., but it does not deliver any mail addressed to the servers virtual host domain.
There is only one domain on this server for www, ftp, etc., but the mail server is located elsewhere.
Server is RHEL 5, Virtualmin 3.84 Pro
-Jeff