I am trying to configure sendmail on RedHat 6.2 to handle e-mails for multiple domains. I've modified files in /etc/mail/:
virtusertable lines simillar to:
(for some users I have local accounts, for others I just want e-mail forwarded to another mailbox)
I did "make all" and "sendmail restart". I've installed imap and enabled ipop in inetd.conf and restarted inetd.
Now e-mail sent to email@example.com
does get stores in localuser1's mailbox and I can retrieve it via pop3, I can send e-mail from from firstname.lastname@example.org
(also hosted on my server) but I can not send mail to email@example.com
(well maybe that's a good thing, but I should be able to...) What am I missing? What do I need to configure to not only be able to pop3 messages from localuser1's account, but also send e-mails as firstname.lastname@example.org