Postfix uses the file /etc/aliases to map an alias email address to any number of real email addresses. This page will show you how to use this file to specify a mailing list address or a proxy address for use in Postfix.

Edit /etc/aliases
1. Edit the file /etc/aliases. The file has the form
alias: address1,address2
If address has the same domain as yours, you can leave it out. Thus you can use the /etc/aliases file to alias an email address or to build a mailing list.
Terminal2. Type in the command newaliases in a terminal window. This will rebuild the aliases database file.
Service Configuration3. Restart the Postfix service. But if you installed MailScanner, then restart MailScanner instead. This will immediately reload the aliases database file instead after a few minutes.
Terminal4. You should now be able to send email to addresses found in your aliases file. See Test Postfix using Telnet and try using the alias email addresses.

***
Posted on 4/15/2008 and last updated on 4/15/2008
Filed under Postfix


ShareThis