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:
[email protected] [email protected]
dynamic:
[email protected] [email protected]
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: [email protected] -> [email protected]
Scenario 2
static:
[email protected] [email protected]
dynamic:
[email protected] [email protected]
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: [email protected] -> [email protected], [email protected]
According to the Postfix documentation, any conflict is resolved by precedence: first come, first served.