I want to use sendmail for virtual domains. I created user@domain style system users. When I send an email to user@domain it comes back with "User unknown" error meesage. What is the problem? How can I use sendmail with user@domain style logins?
You use regular accounts for this (no "@" symbol in the names) and use "virtusertable" in sendmail to map specific users/domains to the correct accounts.
See the section on virtusertable in /usr/share/sendmail-cf/README
See also http://www.sendmail.org/virtual-hosting.html
Paul.