Solved

Problem with sendmail

Posted on 2001-06-11
5
219 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
  • 3
5 Comments
 
LVL 3

Expert Comment

by:superschlonz
Comment Utility
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
Comment Utility
Thanks, i will check this
0
 
LVL 9

Author Comment

by:tkalchev
Comment Utility
Thanks, i will check this
0
 
LVL 5

Accepted Solution

by:
vsamtani earned 100 total points
Comment Utility
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
Comment Utility
Thanks, though I had always found this site. Thanks everybody
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now