Bobcares

Create email account in Webmin – Related errors and rapid fixes for you.

Webmin provides a user-friendly interface to quickly create email accounts.

But, Webmin may cause tricky email errors such as “Error while saving a mapping : No map file defined” due to undefined map file in the configuration file.

At Bobcares, we often get requests from our customers to resolve the problems with “Webmin create email account” as part of our Server Management Services.

Today, we’ll see how our Support Engineers solved the errors related to “Webmin create email account”.

 

How to create an email account in Webmin

Webmin is a simple and efficient tool for website and server owners to manage their services. It’s easy to create an email account in Webmin.

Here we’ll see how our Support Engineers create an email account in Webmin.

To create an email account:

1. Firstly, we log into the Webmin control panel.

2. Then we select System > Users and Groups.

3. Next, we click on “Create a new user” link.

4. Then we fill the following field with customer details.

  1. User ID
  2. Real Name
  3. Home Directory
  4. Shell
  5. Password

5. Now, we click on to the “Create” button to create an email account.

6. Furthermore, to add a user to mail:

7. We go to Servers > Sendmail Configuration > Address Mapping.

Again, we fill the following fields too:

Mail for: Address(user@domain.com)
Send to: Enter the name of the mailbox the address points to

8. Then we click the “Create” button.

9. At last, we stop and restart Sendmail.

That’s how we create an email account and add the new user to mail in Webmin.

 

How we fixed errors related to “Webmin create email account”

From our experience in managing servers, we’ve seen that many customers experiencing issues while creating an email account in Webmin. Let’s see how our Support Engineers fixed the errors associated with email account creation in Webmin.

 

1. Missing map file

Recently one of our customers came up with an email issue. When he tried to add a new mapping, he was getting an error like “Error while saving a mapping : No map file defined”.

Then our Support Engineers took the following steps to solve the error.

1. We logged into Webmin control panel.

2. Then, we checked if the main.cf file contains virtual_mailbox_maps or virtual_alias_maps and we found no virtual_mailbox_maps or virtual_alias_maps in the main.cf file.

4. So, we edited the Postfix main.cf and added the following entry.

virtual_alias_domains = Domainabc.com Domainxyz.com
virtual_alias_maps = hash:/etc/postfix/virtual

5. At last, we executed ‘postmap’ and restarted postfix service.

This is how we fixed “Error while saving a mapping : No map file defined”.

 

2. Duplicate mailbox or mail alias

Sometimes Webmin does not properly move/delete/update e-mail addresses and/or aliases. So, it gives an error like “Failed to save mailbox : A mailbox or mail alias with the same name and domain already exists” when we try to create an email account in Webmin.

Now, let’s see how our Support Engineers solved this issue:

1. Firstly, we logged into Webmin control panel.

2. Then we checked if the e-mail account with the same name had already existed in “Edit Mail Aliases“. In addition, we searched in file /etc/passwd and /etc/postfix/virtual too.

3. Then we found that the email account with the same name has already existed in /etc/postfix/virtual.

4. So, we created a copy of /etc/postfix/virtual file.

5. Next, we deleted the line with the same e-mail address from /etc/postfix/virtual file.

6. At last, we run the following command.

postmap /etc/postfix/virtual

Now, the user could create an email account in Webmin without any errors.

 

[ Having trouble while creating an email account in Webmin? We’ll fix it for you.]

 

Conclusion

In short, Webmin provides a user-friendly interface to create emails. Sometimes errors may occur when creating an email account in Webmin due to undefined map file or the presence of duplicate mailbox. Today, we saw how our Support Engineers solved errors related to “Webmin create email account”.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";
0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF