Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-08-2011, 10:50 AM   #1
LQ Newbie
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
Sendmail virtual domain issue

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 and is our main domain that the server is on. So we have an aliases file that works great! Example: we have going to This works great.

The problem we have is that we had our exchange server crash for so we moved all the users to a POP account on We had a 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 file to add in:

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:

We then ran the following:
makemap hash virtusertable.db < /etc/mai/virtusertable
Now I tried sending an email to the account but I got nothing on

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.

Last edited by zang8027; 11-08-2011 at 11:00 AM.
Old 11-08-2011, 04:33 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,319

Rep: Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701

If I can understand well, you had an exchange server that was getting mail for And you want to (at least temporarily) get that mail to sendmail running on
If that's the case, the first thing that needs to be changed, is the MX record of the domain, so it points to your sendmail server. So ask the admin of the nameserver to do this change.
Then add in /etc/mail/local-host-names and restart sendmail.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Domain Issue tele2002 Linux - Software 3 01-11-2011 08:24 PM
[SOLVED] Openwebmail Virtual Domain + Sendmail Issue mail4vijay Linux - General 1 12-11-2009 08:06 AM
How to configure Sendmail + 1 free domain + Mysql for virtual server simon.unix Linux - Server 1 04-15-2009 01:23 PM
sendmail unresolved domain issue Bake-SaleNet Linux - Networking 0 11-30-2003 10:27 AM
how to add virtual user & domain on sendmail? earl Linux - Networking 2 07-30-2002 11:22 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration