postfix, dovecot deliver (lda) and aliases

Add to /etc/postfix/main.cf

virtual_alias_maps = hash:/etc/postfix/alias_vmaps

Format of /etc/postfix/alias_vmaps

alias@domain.comĀ  user@domain.com

Create postfix lookup table and reload postfix (have to be done each time alias_vmaps is updated)

postmap /etc/postfix/alias_vmaps

postfix reload

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>