This is a discussion on How to resolve conflict between aliases? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; My Postfix configuration is the following: in "virtual_alias_maps" I've got one domain: YY.com postfix works on ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
My Postfix configuration is the following: in "virtual_alias_maps" I've got one domain: YY.com postfix works on main domain XX.com which is set in "myhostname" parameter alias "user@YY.com" points to local mail account "user" in /etc/aliases file (which store mail aliases for main XX.com domain) there is assigment: "user" -> "temp" The problem is: Message addressed to "user@YY.com" is delivered to local account "temp" instead of local account "user" Message addressed to "user@XX.com" is properly delivered to local account "temp". As I see in postfix logs: alias "user@YY.com" is resolved as "user@XX.com" (according to "virtual_alias_maps"), and then once again alias "user@XX.com" is needlessly resolved as local account "temp" (according to "/etc/aliases" file)... :/ How to resolve this problem? Do you have any idea? The point is: message addressed to user@YY.com should be delivered to local accout "user", and message addressed to user@XX.com should be delivered to local account "temp". So, there is a kind of conflict between real local account "user" and an alias in /etc/aliases file assigning "user" into local account "temp"... I would be grateful for any help. Best regards. syriusz |
|
|||
|
On Thu, 17 Mar 2005 10:55:08 +0100, syriusz wrote:
> <snipped tech details about user aliased to temp> > message addressed to user@YY.com should be delivered to local accout "user", > and message addressed to user@XX.com should be delivered to local account > "temp". > > So, there is a kind of conflict between real local account "user" and an > alias in /etc/aliases file assigning "user" into local account "temp"... It's not a conflict as far as Postfix is concerned. Postfix is behaving exactly as it should. My suggestion is to remove the redirection of user -> temp, and replace it with two specific aliases, probably in the file "virtual" (depending on your config): user@xx.com temp user@yy.com user |
![]() |
| Thread Tools | |
| Display Modes | |
|
|