?
Solved

Sendmail question

Posted on 2003-02-25
4
Medium Priority
?
192 Views
Last Modified: 2013-12-15
I have Redhat 8 with sendmail installed
If I havetwo domain (abc.com, xyz.com)which was defined in /etc/mail/local-host-names
Les's say if I want to create two email accounts,
sales@abc.com(login ID--sales, PSW--123)
sales@xyz.com(login ID--sales, PSW--12345)

Is it possible to use the same login ID if sales@abc.com and sales@xyz.com are created ?
If yes, how can I do ?

Thanks you very much !


0
Comment
Question by:erase010
[X]
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
4 Comments
 
LVL 1

Accepted Solution

by:
ianmate earned 300 total points
ID: 8024849
If I understand you correctly you have a user called "sales" and you want them to have just one login account - but email directed to either sales@abc.com or sales@xyz.com should end up in that one account.

In which case user /etc/virtusertable (you may want to check the virtusertable feature is enabled - do

grep virtusertable /etc/sendmail.cf

to make sure. If you get no output from that command then get back to me.)

Lets say abc.com is the main domain and xyz.com is an "alias" domain for all users then edit /etc/virtusertable and add

@xyz.com       %1@abc.com

If this aliasing should only be done for specific users, e.g. sales, then make it

sales@xyz.com       sales@abc.com

then do

cd /etc
makemap hash virtusertable < virtusertable
0
 

Expert Comment

by:CleanupPing
ID: 9076674
erase010:
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 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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