• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

Problem with sendmail

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 :

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

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.
  • 3
1 Solution
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:


Perhaps yu have to add this line.
I hope this helps.
tkalchevAuthor Commented:
Thanks, i will check this
tkalchevAuthor Commented:
Thanks, i will check this
Sendmail can do this fine. You need to enable the virtual hosting features of sendmail. There is a howto at the sendmail site:


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.


tkalchevAuthor Commented:
Thanks, though I had always found this site. Thanks everybody
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now