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)?


/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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.