This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:sendmail [2021/07/28 15:50] manu [aliases] |
aix:sendmail [2022/12/19 23:50] (current) manu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Sendmail on AIX ===== | ===== Sendmail on AIX ===== | ||
| + | |||
| + | https://www.ibm.com/support/pages/configuring-masquerading-aix-sendmail-using-generics-table | ||
| + | |||
| + | https://www.ibm.com/support/pages/how-disable-recipient-domain-lookup-sendmail | ||
| + | |||
| + | |||
| + | 2 ways to deploy sendmail: | ||
| + | * using **submit.cf** file, for AIX 7.2TL4 and later | ||
| + | * using **sendmail.cf** | ||
| + | |||
| + | ===== submit.cf ===== | ||
| + | |||
| + | A workaround to prevent using submit file, is to crate a symbolic link between **/etc/mail/sendmail.cf** and **/etc/mail/submit.cf** (check section [[aix:sendmail#sendmail_configuration|sendmail.cf]]) | ||
| + | |||
| + | https://www.ibm.com/support/pages/how-run-two-sendmails-one-mtamail-transfer-agent-and-another-msamail-submission-agent | ||
| + | |||
| + | How to run two sendmails, one for MTA(Mail Transfer Agent) and another for MSA(Mail Submission Agent). | ||
| + | |||
| + | |||
| + | ===== sendmail.cf ===== | ||
| + | | ||
| For more secure sendmail in AIX 7.2 TL4 | For more secure sendmail in AIX 7.2 TL4 | ||
| Line 101: | Line 122: | ||
| When adding a new alias into /etc/mail/aliases | When adding a new alias into /etc/mail/aliases | ||
| + | |||
| Ex: | Ex: | ||
| TEST: user@machine | TEST: user@machine | ||
| testalias: TEST | testalias: TEST | ||
| + | | ||
| The /etc/mail/aliases file is a raw data file. The sendmail command uses a database version of this file. You must build a new alias database by running the sendmail -bi command or the newaliases command before any changes made to the /etc/mail/aliases file become effective. | The /etc/mail/aliases file is a raw data file. The sendmail command uses a database version of this file. You must build a new alias database by running the sendmail -bi command or the newaliases command before any changes made to the /etc/mail/aliases file become effective. | ||