Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


AIX - Sendmail

Posted on 2012-09-17
Medium Priority
Last Modified: 2012-09-18
I would like a good overview on sendmail:

What sendmail is?
What is it used for?
Where do you set it up?

Please provide a good explanation and simple basic help links.
Question by:AIX25
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 38404997
"sendmail" is basically a background process providing (under AIX in cooperation with "bellmail") mailserver functionality (accept incoming mail, deliver to recipients, act as a relay or mail hub etc.).
So there are MTA (Mail Transfer Agent, sendmail) and MDA (Mail Delivery Agent, bellmail(AIX)) functionalities.

Instead of using AIX sendmail's standard MDA "bellmail" you can use other ones like "procmail".

sendmail's MTA is used to accept incoming mail messages, bellmail's MDA  is used in AIX to deliver them to the mailboxes of local recipients and sendmail uses the SMTP protocol to act as a relay in order to forward the messages to other mailservers, according to settings in its own config or in DNS (MX).

Local configuration is done in /etc/mail/sendmail.cf.
Under AIX this is traditionally done by modifying the file directly, in many other OS the macro language "m4" is used to generate the final configuration out of macro definitions.
This is also possible in AIX, but not widely used, as I already mentioned above.

Please contrast the sendmail server daemon with end user interfaces like "mail", "mailx", "pine", "mutt", "elm" etc.
These are called  MUA (Mail User Agent) and are used to compose and send messages or to manage the mailbox.
Mail clients use sendmail.cf or their own config files to get infrastructure information. They don't rely on a running local sendmail daemon (MTA), but there must be an MTA somewhere else in the network they're aware of.

A tutorial:

AIX Infocenter:

Author Comment

ID: 38410226

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month10 days, 3 hours left to enroll

571 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