Thread: [Postfixadmin-devel] 1 to 1 alias domains
Brought to you by:
christian_boltz,
gingerdog
From: Ron G. <ro...@vn...> - 2011-05-01 00:00:27
|
Was it a deliberate decision to only allow a one to one relationship between domains for aliasing purposes? I have one domain and 4 aliased to it (I added the MySQL records by hand) and if it's not over my head I might try sending a patch in if the idea is acceptable. Otherwise I'm probably not going to bother changing the code for myself either. - Ron |
From: Christian B. <pos...@cb...> - 2011-05-01 16:42:08
|
Hello, Am Sonntag, 1. Mai 2011 schrieb Ron Guerin: > Was it a deliberate decision to only allow a one to one relationship > between domains for aliasing purposes? I have one domain and 4 > aliased to it (I added the MySQL records by hand) and if it's not > over my head I might try sending a patch in if the idea is > acceptable. Otherwise I'm probably not going to bother changing the > code for myself either. I'm afraid I don't really understand your problem :-( Therefore I'll give a short explanation about what is allowed for alias domains. It is no problem to have several domains (on the "from" side of the alias) pointing to the same target domain, for example foo.com -> example.com bar.com -> example.com However, a domain that is already used on the "to" side can't be used on the "from" side of another alias domain. For example, if you have the two alias domains listed above, you can't do example.com -> foobar.com # not allowed This is a restriction we intentionally included because it is the easiest way to avoid loops. If this does not answer your question, please send an example what you manually had to add to the database so that I can understand your problem. Regards, Christian Boltz -- > Ich komme z.Zt. kaum noch mit dem Lesen der Listenmails nach. > (Freundin ist schuld.) Oh, hast du noch "Freundin 1.3"? Ab 2.0 beherrscht zumindest die OS-Version Suspend-to-Disco und Suspend-to-MOM, teste die doch mal an :-) Klappt hier ganz prima. [> Ralph Müller und Michael Behrens in suse-linux] |
From: Ron G. <ro...@vn...> - 2011-05-01 20:00:26
|
Christian Boltz wrote: > Hello, > > Am Sonntag, 1. Mai 2011 schrieb Ron Guerin: > >> Was it a deliberate decision to only allow a one to one relationship >> between domains for aliasing purposes? I have one domain and 4 >> aliased to it (I added the MySQL records by hand) and if it's not >> over my head I might try sending a patch in if the idea is >> acceptable. Otherwise I'm probably not going to bother changing the >> code for myself either. >> > > I'm afraid I don't really understand your problem :-( > Therefore I'll give a short explanation about what is allowed for alias > domains. > > It is no problem to have several domains (on the "from" side of the > alias) pointing to the same target domain, for example > foo.com -> example.com > bar.com -> example.com > > However, a domain that is already used on the "to" side can't be used on > the "from" side of another alias domain. For example, if you have the > two alias domains listed above, you can't do > example.com -> foobar.com # not allowed > This is a restriction we intentionally included because it is the > easiest way to avoid loops. > Does not work in my version (2.3.3) . You cannot alias both foo.com and bar.com to example.com. Is this a bug that got fixed? - Ron |
From: Christian B. <pos...@cb...> - 2011-05-01 20:34:59
|
Hello, Am Sonntag, 1. Mai 2011 schrieb Ron Guerin: > Christian Boltz wrote: > > Am Sonntag, 1. Mai 2011 schrieb Ron Guerin: > > It is no problem to have several domains (on the "from" side of the > > alias) pointing to the same target domain, for example > > > > foo.com -> example.com > > bar.com -> example.com > Does not work in my version (2.3.3) . You cannot alias both foo.com > and bar.com to example.com. Just tested with 2.3.3 - result: works. Do you see any error messages? > Is this a bug that got fixed? No, I don't remember a bug in that area. Regards, Christian Boltz -- Du solltest mal deine sHIFT-taSTE und die ordogravieh in Ordnung bringen. Das hilft in jedem Falle dabei, hier qualifizierte Antworten zu bekommen. [Axel Heinrici in suse-linux] |
From: Ron G. <ro...@vn...> - 2011-05-01 21:43:52
|
Christian Boltz wrote: > Hello, > > Am Sonntag, 1. Mai 2011 schrieb Ron Guerin: > >> Christian Boltz wrote: >> >>> Am Sonntag, 1. Mai 2011 schrieb Ron Guerin: >>> It is no problem to have several domains (on the "from" side of the >>> alias) pointing to the same target domain, for example >>> >>> foo.com -> example.com >>> bar.com -> example.com >>> > > >> Does not work in my version (2.3.3) . You cannot alias both foo.com >> and bar.com to example.com. >> > > Just tested with 2.3.3 - result: works. > Do you see any error messages? > Interesting. I'll have to look into this further. Thanks for checking. - Ron |