Personal tools
You are here: Home Docs Postfix

Postfix

Configuring Aliases

After adding the alias to /etc/postfix/virtual run the following
postmap /etc/postfix/virtual 
postfix reload

postmap -q person@company.com hash:/etc/postfix/virtual

Add the following lines to /etc/postfix/main.cf

virtual_alias_domains = yourdomain.com
virtual_alias_maps = hash:/etc/postfix/virtual

Configuring a server's Fully Qualified Domain Name (FQDN)

This is one of the few operations that actually requires a linux reboot.
create reverse DNS entry

/bin/hostname mail.yoursite.com
emacs /etc/hosts

postconf -e 'myhostname = mail.yoursite.com'

reboot
Document Actions