0

Which difference between /etc/aliases and virtual_alias_maps in Postfix and where should I put aliases from local accounts to virtual user accounts (i.e. from root to postmaster@example.com)?

powerthrash
  • 49
  • 1
  • 2
  • 8
  • related [Confused about alias_maps and virtual_alias_maps](http://serverfault.com/questions/644306/confused-about-alias-maps-and-virtual-alias-maps) – masegaloeh Nov 15 '14 at 23:54

1 Answers1

3

/etc/aliases is for compatibility with sendmail and is processed only by postfix/local delivery agent. Local LDA is used for domains on mydestination. The query is only for user local part (e.g. johndoe) as the awnser.

virtual_alias_maps is always processed and the query is by full email (e.g. johndoe@example.com) as the awnser.

Reinaldo Gil
  • 621
  • 4
  • 8