[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem with sendmail

Posted on 2001-06-11
5
Medium Priority
?
241 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
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 400 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

872 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