|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Question about multiple postfix instance, thank you very very much
I want to set up a postfix mail server which have many IP. Each of the ip will work for one of my customer. So that is means my customer will think that he has a dedicate mail server. But in fact all the mail server are running on one real machine. I think I can use the multiple instance feature to implement this requirement. So I setup 2 instance for test. After that I find instance A(default instance) works good, but instance B looks very strange.
First, smtp_dns_lookup not work. I set this parameter to "native" to make sure postfix can use /etc/hosts file first. But for instance B, it will use dns lookup first.
Second, the mydestination not work.
For instance, the mail root@..., if I sent it to instance A, it will be received. But if i send to instance B, it will not receive it, but start to lookup dns.
It is very strange, it is long time that I can not find any solution. Does postfix support the way that I wish to do. I am not sure can you
Thanks very very much again. coofucoo |
|
|
Re: Question about multiple postfix instance, thank you very very muchOn Thu, 05 Nov 2009, coofucoo zhang wrote:
> I want to set up a postfix mail server which have many IP. Each of the > ip will work for one of my customer. So that is means my customer will > think that he has a dedicate mail server. But in fact all the mail > server are running on one real machine. I think I can use the multiple > instance feature to implement this requirement. So I setup 2 instance > for test. After that I find instance A(default instance) works good, > but instance B looks very strange. > > First, smtp_dns_lookup not work. I set this parameter to "native" to > make sure postfix can use /etc/hosts file first. But for instance B, > it will use dns lookup first. > > Second, the mydestination not work. > > For instance, the mail root@..., if I sent it to > instance A, it will be received. But if i send to instance B, it will > not receive it, but start to lookup dns. > > It is very strange, it is long time that I can not find any solution. > Does postfix support the way that I wish to do. I am not sure can you Your problem description is too vague and incomplete. Please provide more information as requested here: http://www.postfix.org/DEBUG_README.html#mail In your next message, be sure to include the output of 'postconf -n', any other changes to your master.cf files for each instance, and log excerpts that relate to your problem(s). -- Sahil Tandon <sahil@...> |
|
|
Re: Question about multiple postfix instance, thank you very very muchcoofucoo zhang a écrit :
> > > I want to set up a postfix mail server which have many IP. Each of the > > ip will work for one of my customer. So that is means my customer will > > think that he has a dedicate mail server. But in fact all the mail > > server are running on one real machine. I think I can use the multiple > > instance feature to implement this requirement. So I setup 2 instance > > for test. After that I find instance A(default instance) works good, > > but instance B looks very strange. > > > > First, smtp_dns_lookup not work. I set this parameter to "native" to > > make sure postfix can use /etc/hosts file first. But for instance B, > > it will use dns lookup first. > > > > Second, the mydestination not work. > > > > For instance, the mail root@... > <mailto:root@...>, if I sent it to > > instance A, it will be received. But if i send to instance B, it will > > not receive it, but start to lookup dns. > > > > It is very strange, it is long time that I can not find any solution. > > Does postfix support the way that I wish to do. I am not sure can you > yes, postfix does. if you have a problem with one instance, show its config (the corresponding 'postcon -n', ...) and relevant logs. |
|
|
答复: Question about multiple postfix instance, thank you very very muchHi Mouss:
Thanks for your help. I have checked my main.cf, there are some small problem in it. So postfix does support this, just I make wrong setting. Thank you! Best regrads! Coofucoo -----邮件原件----- 发件人: owner-postfix-users@... [mailto:owner-postfix-users@...] 代表 mouss 发送时间: 2009年11月6日 4:42 收件人: postfix-users@... 主题: Re: Question about multiple postfix instance, thank you very very much coofucoo zhang a écrit : > > > I want to set up a postfix mail server which have many IP. Each of the > > ip will work for one of my customer. So that is means my customer will > > think that he has a dedicate mail server. But in fact all the mail > > server are running on one real machine. I think I can use the multiple > > instance feature to implement this requirement. So I setup 2 instance > > for test. After that I find instance A(default instance) works good, > > but instance B looks very strange. > > > > First, smtp_dns_lookup not work. I set this parameter to "native" to > > make sure postfix can use /etc/hosts file first. But for instance B, > > it will use dns lookup first. > > > > Second, the mydestination not work. > > > > For instance, the mail root@... > <mailto:root@...>, if I sent it to > > instance A, it will be received. But if i send to instance B, it will > > not receive it, but start to lookup dns. > > > > It is very strange, it is long time that I can not find any solution. > > Does postfix support the way that I wish to do. I am not sure can you > yes, postfix does. if you have a problem with one instance, show its config (the corresponding 'postcon -n', ...) and relevant logs. |
|
|
Re: 答复: Question about multiple postfix instance, thank you very very much
coofucoo zhang wrote:
If this is a new machine and not a lot has been done to it, you might want to consider virtual machines...Hi Mouss: Thanks for your help. I have checked my main.cf, there are some small problem in it. So postfix does support this, just I make wrong setting. Thank you! Best regrads! Coofucoo -----邮件原件----- 发件人: owner-postfix-users@... [owner-postfix-users@...] 代表 mouss 发送时间: 2009年11月6日 4:42 收件人: postfix-users@... 主题: Re: Question about multiple postfix instance, thank you very very much coofucoo zhang a écrit :I want to set up a postfix mail server which have many IP. Each of the ip will work for one of my customer. So that is means my customer will think that he has a dedicate mail server. But in fact all the mail server are running on one real machine. I think I can use the multiple instance feature to implement this requirement. So I setup 2 instance for test. After that I find instance A(default instance) works good, but instance B looks very strange. First, smtp_dns_lookup not work. I set this parameter to "native" to make sure postfix can use /etc/hosts file first. But for instance B, it will use dns lookup first. Second, the mydestination not work. For instance, the mail root@... root@..., if I sent it to instance A, it will be received. But if i send to instance B, it will not receive it, but start to lookup dns. It is very strange, it is long time that I can not find any solution. Does postfix support the way that I wish to do. I am not sure can youyes, postfix does. if you have a problem with one instance, show its config (the corresponding 'postcon -n', ...) and relevant logs. -- Dan Schaefer Web Developer/Systems Analyst Performance Administration Corp. |
| Free embeddable forum powered by Nabble | Forum Help |