I've got several alias files being used as sources for virtual aliases in Postfix, one of which is auto-generated. Sometimes, this one contains aliases that conflict with those declared in static files; how does Postfix decide which alias to prefer?
Scenario 1
static:
postmaster@my.domain authorised-user@my.domain
dynamic:
postmaster@my.domain wrong-user@other.domain
Can I force it to choose my static one over another? I can't exercise control over the dynamic file, so I need some measure of protection here.
Desired result: postmaster@my.domain -> authorised-user@my.domain
Scenario 2
static:
webmaster@my.domain user1@my.domain
dynamic:
webmaster@my.domain user2@other.domain
Sometimes I need to add temporary users to an alias, so they go into the dynamic file; can these be merged in some cases instead of overriding as above?
Desired result: webmaster@my.domain -> user1@my.domain, user2@my.domain