[Webinar] Streamline your web hosting managementRegister Today


Sendmail Q in Unix area - 150pts.

Posted on 1999-12-19
Medium Priority
Last Modified: 2013-12-16
Question by:jhance

Expert Comment

ID: 2293861
I ended up using a script called install_sendmail to solve a similar problem...I can't be positive what it did that I didn't but it worked...It configures sendmail based on the way you answer some simplified questions...I don't know if it will help but you can locate it at freshmeat.net...Just be sure to back up your current config...

Accepted Solution

Hoodlum122999 earned 0 total points
ID: 2315219
Well the correct solution is to use the virtualusers table.

The way to implement this with out using m4 configuration is
to put the following into the sendmail.cf:

# Virtual user table (maps incoming users)
Kvirtuser hash -o /etc/virtusertable

after that you create a virtusertable file and in it you set it up in the following way:

Sample Virtusertable

john@domaina.com      john_a
john@domainb.com      john_b

Then save and quit. After that type the following

makemap hash virtusertable < virtusertable

What happens is that virtusertable gets make in to a hash database. The file that gets created is virtusertable.db. that should be all their is to it.

BTW all the instructions above are assumed to be done in the /etc directory.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

607 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