add domain in Sendmail

Posted on 2003-02-21
Medium Priority
Last Modified: 2013-12-15
I have installed Sendmail which is come from RH 8.0. I have a domain like abc.com and a user xyz. How can I add abc.com this domain to mail server.I have started the ipop3 and imap already.

Question by:erase009
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

cnjuguna earned 120 total points
ID: 8002453
add abc.com to the /etc/mail/relay-domains file. however, you haven't told us if the domain is on the same machine or not. if it is, then you may need to make changes to the /etc/mail/virtualuser file so that xyz@abc.com receives mail in their account (assuming abc is a user on your box) or you can map the whole domain to another domain e.g.
@abc.com @mydomain.com meaning mail from xyz@abc.com will be forwarded to xyz@mydomain.com
after making changes to relay-domains and virtualuser, you'll need to rebuild the virtualusers database using m4
(m4 virtualuser < virtualuser if i'm not wrong)
and then restart sendmail so the changes can take effect
hope it helps

Expert Comment

ID: 9076682
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question