Solved

Problem with sendmail

Posted on 2001-06-11
5
221 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 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

785 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