Language Selection

English French German Italian Portuguese Spanish

Routing and Alias Management with OpenLDAP and Sendmail

Filed under
HowTos

LDAP and Sendmail offer sys admins considerable advantages for dynamic mail routing and centralized alias management. A common requirement, as an organization grows, is to support geographically dispersed mailservers. While this can be achieved by using subdomaining (i.e., bill@nyc.acme.com, jane@dublin.acme.com), it is generally preferable to route the mail dynamically from a single address (jane@acme.com). I'll explore how this can be accomplished using Sendmail in conjunction with OpenLDAP.

A similar problem faced by administrators is dealing with growing and disparate "/etc/aliases" databases. These files are often maintained individually on a per system basis and, in the case of load balanced mail servers, need to be kept in sync manually. An alternative to individually maintaining each file is to migrate the alias data into an LDAP directory. I'll examine how to configure Sendmail to use OpenLDAP to accomplish this.

Finally, LDAP APIs exist for practically every common development platform. This gives the sys admin the ability to implement Web front-ends, command-line scripts, etc. to manage routing entries and aliases. It also provides developers an easy entry point for integrating application functionality with the organization's mail systems in a standard way.

Full Story.

More in Tux Machines

Ubuntu Installer Bug Can Delete Your Hard Drive and All Other OSes

The Ubuntu installation procedure is governed by a piece of software called Ubiquity and it's one of the most intuitive and easy-to-use installers on the Linux platform. Unfortunately, users have been confronting with a bug that could wipe their entire hard-driver without any kind of announcement. Read more

You have your Windows in my Linux

Although there are those who think the systemd debate has been decided in favor of systemd, the exceedingly loud protests on message boards, forums, and the posts I wrote over the past two weeks would indicate otherwise. I've seen many declarations of victory for systemd, now that Red Hat has forced it into the enterprise with the release of RHEL 7. I don't think it's that easy. Read more

7 Things You Can Do With The Xposed Framework on a Rooted Android Phone or Tablet

The Xposed Framework is a way to make system-level changes to your Android operating system without installing a custom ROM. All you need is root access. Here’s a look at what you can actually do with the Xposed Framework. You’ll find all of these modules listed in the Xposed Framework itself. Install the Xposed Framework, open it, and use the Modules search to browse, search, and install modules. Read more

Pear OS 8 Still Gets Thousands of Downloads Despite Being Officially Dead – Gallery

The curios case of Pear OS 8 is a very interesting one. This operating system had numerous problems during its existence, which spanned a few years. The devs had to change the name two or three times, they had to change the logo as well, and they finally decided on Pear OS. They had a few releases under the Pear OS name, but one day the distro disappeared. Read more