Hello all,
Let me first start out by saying that I am a newbie when it comes to linux. I just got hired on to this company and the company uses a linux mail server running sendmail. Here is the server specs:
Sendmail 8.14.2
Fedora 8 (Werewolf)
We have two domains, which we will call example.com and example2.com. Example.com is our main domain that the server is on. So we have an aliases file that works great! Example: we have
licensing@example.com going to
admin@example.com. This works great.
The problem we have is that we had our exchange server crash for example2.com so we moved all the users to a POP account on example.com. We had a
support@example2.com that we want to alias to a few people, but we cannot do that because its on a different domain.
We are trying to use VirtualUserTable to do this but it is not working. I get no errors. We edited the
sendmail.mc file to add in:
Code:
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
Inside of /etc/mail, we see virtusertable and virtusertable.db. Inside of virtusertable, we have, at the bottom, the following:
Code:
support@example2.com admin@example.com
We then ran the following:
Code:
makemap hash virtusertable.db < /etc/mai/virtusertable
Now I tried sending an email to the account but I got nothing on
admin@example.com.
Anything I am missing or doing wrong? When something is sent to support@[any of our domains], it is sent to our server running sendmail, then it is run through procmail (procmailrc) and from there, recipes send it out. We could adjust the recipes but its sloppy.