Solved

Problem with sendmail

Posted on 2001-06-11
5
231 Views
Last Modified: 2010-03-18
Hi all,

I have the following problem :

I am using Red Hat 7.1 as mailserver and I have multiple MX domains, which are maped to one and the same IP address.

For example :

Domains :
mail.a.com
mail.b.com

I want to have accounts :
info@mail.a.com and
info@mail.b.com

The problem is that sendmail did not recognize aliases like this :

info@mail.a.com: info_a
info@mail.b.com: info_b

What I must do to configure sendmail to accept this, or I have to replace it with another MTA agent ?

Thanks in advance.
0
Comment
Question by:tkalchev
[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
  • 3
5 Comments
 
LVL 3

Expert Comment

by:superschlonz
ID: 6177183
I think you can add the hostnames to sendmail.cw file each on a single line.
In sendmail.cf I have a line which defines where this file is:

Fw/etc/mail/sendmail.cw

Perhaps yu have to add this line.
I hope this helps.
0
 
LVL 9

Author Comment

by:tkalchev
ID: 6177220
Thanks, i will check this
0
 
LVL 9

Author Comment

by:tkalchev
ID: 6177423
Thanks, i will check this
0
 
LVL 5

Accepted Solution

by:
vsamtani earned 100 total points
ID: 6178063
Sendmail can do this fine. You need to enable the virtual hosting features of sendmail. There is a howto at the sendmail site:

http://www.sendmail.org/virtual-hosting.html

The viurtual hosting howto tells you what to do in pretty good detail. You won't need to download and build sendmail (steps 1 and 2 in the howto) - start at step 3.

You can then define a virtusertable file

info@mail.a.com  info_a
info@mail.b.com  info_b

(not an aliases file)

and the emails will be correctly delivered.

Vijay

0
 
LVL 9

Author Comment

by:tkalchev
ID: 6178102
Thanks, though I had always found this site. Thanks everybody
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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