Visit Jeremy's Blog.
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 08-30-2003, 10:28 AM   #1
LQ Newbie
Registered: Aug 2003
Distribution: redhat 8
Posts: 2

Rep: Reputation: 0
sendmail - add/remove domain virtusertable

i use redhat 8 with sendmail 8.12.7 as a mailserver. i added a domain to the virtualusertable.

i added it to the /etc/mail/access , /etc/mail/local-host-names and the /etc/mail/virtusertable . i ran MAKE after each and stopped/restarted sendmail with: service sendmail restart.

i also deleted a domain from the same files and restarted sendmail. e.g.

my prob is that i can still receive email i send to myself, using the deleted domain (e.g. and i cant receive email using the new domain, i send the emails by using Pine on the server, using an account i created for myself.

the deleted domain was deleted from the dns server as well.

what am i doing wrong ?
Old 09-11-2003, 12:11 AM   #2
Sticky Toejam
LQ Newbie
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Assuming you have the following:


You will need to add these three domains to /etc/mai/ (or whatever you have defined for


OR you can add these three domains to /etc/ file by the "cw" variable.

Cwlocalhost domain1.blah domain2.blah domain3.blah

Basically these tell sendmail that "Hey, I should accept these domains as "local" and deliver mail accordingly."


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 virtusertable niranjan_mr Linux - Software 0 11-07-2005 04:41 AM
sendmail virtusertable or aliases? HeadNoodle Linux - Newbie 7 02-18-2005 12:38 PM
Imap - Pop3 Auth with user@domain instead username using virtusertable gakullak Linux - General 1 09-04-2004 05:34 PM
Sendmail configuration (domain name+virtusertable) bulzbb Linux - Software 2 03-16-2004 05:35 PM
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 03:02 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
Open Source Consulting | Domain Registration