# Makemap not found while creating email alias

**URL:** <https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249>\
**Category:** Virtualmin\
**Created:** [April 12, 2014, 5:30pm UTC](https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249 "2014-04-12T17:30:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pabloescobar](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/8e8cbc/32.png) [@pabloescobar](https://forum.virtualmin.com/u/pabloescobar)\
**Post date:** [April 12, 2014, 5:30pm UTC](https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249/1 "2014-04-12T17:30:20Z")

</div>

Hello!

I’m trying to get email working for one of the domains on my server. I’m using Virtualmin to set it up, but when I try to create an email address with this command:

virtualmin create-alias --domain [foo.com](http://foo.com) --from sales --to [joe@foo.com](mailto:joe@foo.com)

It gives me this error:

## Error

makemap failed : sh: 1: makemap: not found

I’ve searched high and low and can’t find any good answer to the problem. Any help is much appreciated!

Thanks

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [April 13, 2014, 3:00pm UTC](https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249/2 "2014-04-13T15:00:53Z")

</div>

Howdy,

Hmm, what mail server are you using on your server? Are you using the default Postfix, or did you switch to a different mail server?

I believe makemap is part of Sendmail, and Virtualmin should only be looking for that if it were configured to use Sendmail rather than Postfix.

If Virtualmin is indeed using Sendmail, you’d want to make sure makemap is installed, and that within Webmin, that the Sendmail module has the correct path to makemap.

Also, which distro/version is it that you’re using there?

-Eric

---

<div class="post-metadata">

**Author:** ![pabloescobar](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/8e8cbc/32.png) [@pabloescobar](https://forum.virtualmin.com/u/pabloescobar)\
**Post date:** [April 13, 2014, 5:31pm UTC](https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249/3 "2014-04-13T17:31:23Z")

</div>

Hi Eric,

Thanks so much for taking the time to help me.

I’m using Sendmail. To be honest, I don’t know why Sendmail was chosen instead of Postfix. This is the first time I’ve used Virtualmin, so I just installed it using the standard instructions, I think.

I can’t figure out whether makemap is installed. I’ve checked usr/bin/ where I believe it should be, and it’s not there. I’ve searched Google and no good answers about makemap; I event went to Bing in desperation, but to no avail.

I’m running Ubuntu 12.04.4 LTS.

Do you think installing postfix is a solution? Would I need to uninstall sendmail?

Thanks!

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [April 13, 2014, 8:23pm UTC](https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249/4 "2014-04-13T20:23:00Z")

</div>

Howdy,

Well, do you have any accounts setup on your server that you don’t want to lose?

Using Postfix really might make things a lot simpler, though switching to it generally requires having to re-setup all your email accounts.

That said, it looks like makemap is part of the sendmail-bin package on Ubuntu – if you don’t have that installed, you could always try installing it.

-Eric

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 6:00am UTC](https://forum.virtualmin.com/t/makemap-not-found-while-creating-email-alias/48249/5 "2020-04-30T06:00:27Z")

</div>

Closed on April 30, 2020, 6:00am UTC


