Re: Postfix Multiple Instances Load Balance

2018-05-06 Thread Viktor Dukhovni
> On May 6, 2018, at 2:55 AM, ahsan2011 wrote: > > I have added this in main.cf > > inet_interfaces = smtp-2.xyz, xxx.xxx.xxx.xxx(ip address) > > in master.cf, this is added > > smtp inet n - n - - smtpd No two instances may attempt

Re: Postfix Multiple Instances Load Balance

2018-05-06 Thread ahsan2011
Thanks , I have run into a different problem, the smtp service is not working for other instances of postfix. It is only running on the main instance. Using a nmap,i found that smtp is stopped for other service. I have added this in main.cf inet_interfaces = smtp-2.xyz, xxx.xxx.xxx.xxx(ip

Re: Postfix Multiple Instances Load Balance

2018-05-05 Thread Viktor Dukhovni
> On May 5, 2018, at 4:43 PM, ahsan2011 wrote: > > I want to send emails via all 4, how do i achieve that. In my application, i > have specified the public IP which is listed in /etc/postfix/main.cf > configuration. The local address of an outgoing TCP connection is

Postfix Multiple Instances Load Balance

2018-05-05 Thread ahsan2011
Hi All I have a CentOS server with 4 public IPs. I want to configure multiple instances of postfix on those 4 IPs. I have created multiple instances multi_instance_directories = /etc/postfix-1 /etc/postfix-2 /etc/postfix-3 /etc/postfix/main.cf will have 1 ip while the above 3 will have rest

Re: Postfix multiple instances + Dovecot

2012-12-02 Thread mouss
Le 01/12/2012 11:15, WebprodsPT a écrit : Hello, I have a multiple instance Postfix setup. The first (original) one was configured with dovecot with the property: smtpd_sasl_path = private/auth-client This path represents a socket where dovecot listens to postfix connections (pardon me if

Postfix multiple instances + Dovecot

2012-12-01 Thread WebprodsPT
Hello, I have a multiple instance Postfix setup. The first (original) one was configured with dovecot with the property: smtpd_sasl_path = private/auth-client This path represents a socket where dovecot listens to postfix connections (pardon me if this description is not 100% accurate).

Re: Postfix multiple instances + Dovecot

2012-12-01 Thread WebprodsPT
On 12/01/2012 10:15 AM, WebprodsPT wrote: Hello, I have a multiple instance Postfix setup. The first (original) one was configured with dovecot with the property: smtpd_sasl_path = private/auth-client This path represents a socket where dovecot listens to postfix connections (pardon me if

Re: Postfix multiple instances + Dovecot

2012-12-01 Thread Wietse Venema
WebprodsPT: On 12/01/2012 10:15 AM, WebprodsPT wrote: Hello, I have a multiple instance Postfix setup. The first (original) one was configured with dovecot with the property: smtpd_sasl_path = private/auth-client You can't share a relative pathname. You may, however, be able to

Postfix multiple instances

2012-08-16 Thread Birta Levente
Hi all How can direct through specified instance the locally submitted mail? For example: server with 3 domains, 3 different ip address, 3 postfix instances for this 3 domains with different myhostname, certs. Through which instance going out the mail submitted with phpmailer for example? (Of

Re: Postfix multiple instances

2012-08-16 Thread Noel Jones
On 8/16/2012 9:37 AM, Birta Levente wrote: Hi all How can direct through specified instance the locally submitted mail? For example: server with 3 domains, 3 different ip address, 3 postfix instances for this 3 domains with different myhostname, certs. Through which instance going out the

Re: Postfix multiple instances

2012-08-16 Thread Ralf Hildebrandt
* Birta Levente blevi.li...@gmail.com: Hi all How can direct through specified instance the locally submitted mail? echo foo | sendmail -C /etc/postfix-a recipient echo foo | sendmail -C /etc/postfix-b recipient echo foo | sendmail -C /etc/postfix-c recipient -- Ralf Hildebrandt

postfix multiple instances

2012-01-17 Thread Amira Othman
Hi all I have configured two postfix instances and both are working but I need to list and delete messages in queue . I tried postsuper -d ALL but it didn't delete .how can I manage queue of the second instance Regards Amira Othman Server Administrator http://www.cairosource.com/

Re: postfix multiple instances

2012-01-17 Thread Noel Jones
On 1/17/2012 9:34 AM, Amira Othman wrote: Hi all I have configured two postfix instances and both are working but I need to list and delete messages in queue . I tried postsuper –d ALL but it didn’t delete .how can I manage queue of the second instance

postfix multiple instances

2011-11-16 Thread Amira Othman
Hi all I am using postfix 2.8 and I have configured two postfix instances. I want to display ip of sending domain in log . I tried smtp_bind_address but this didn't work. Any suggestions about this ? Regards

Re: postfix multiple instances

2011-11-16 Thread Noel Jones
On 11/16/2011 7:07 AM, Amira Othman wrote: Hi all I am using postfix 2.8 and I have configured two postfix instances. I want to display ip of sending domain in log . I tried smtp_bind_address but this didn’t work. Any suggestions about this ? Regards Postfix does not log the

Re: postfix multiple instances

2011-11-16 Thread Jeroen Geilman
On 2011-11-16 15:43, Amira Othman wrote: How can I separate logs of the instances to be different files? Postfix logs to syslog; where these logs end up is not under postfix's control. -- J.

Re: postfix multiple instances

2011-11-16 Thread /dev/rob0
Please stop top-posting. Thank you. On Wednesday 16 November 2011 08:43:49 Amira Othman wrote: How can I separate logs of the instances to be different files? You asked this last week, on Thursday. Brian and I answered you. -- Offlist mail to this address is discarded unless /dev/rob0

RE: postfix multiple instances

2011-11-04 Thread Amira Othman
I have also error when reloading the second instance fatal: bind 192.168.1.60 port 25: Address already in use but each one of instances has different myhostname ans inet_interfaces settings When I try to send mail to account from the second instance I get this error in mallog where myserver2

Re: postfix multiple instances

2011-11-04 Thread Wietse Venema
Amira Othman: I have also error when reloading the second instance fatal: bind 192.168.1.60 port 25: Address already in use but each one of instances has different myhostname ans inet_interfaces settings The error message Address already in use PROVES that you have multiple mail servers

RE: postfix multiple instances

2011-11-04 Thread Amira Othman
The first instance myhostname = mail.mysever.com inet_interfaces = 192.168.56.102 The second instance myhostname = mail.mysever2.com inet_interfaces = 192.168.1.60 I have also error when reloading the second instance fatal: bind 192.168.1.60 port 25: Address already in use but each one of

Re: postfix multiple instances

2011-11-04 Thread Wietse Venema
Amira Othman: The first instance myhostname = mail.mysever.com inet_interfaces = 192.168.56.102 The second instance myhostname = mail.mysever2.com inet_interfaces = 192.168.1.60 I have also error when reloading the second instance fatal: bind 192.168.1.60 port 25: Address already

RE: postfix multiple instances

2011-11-03 Thread Amira Othman
Hi all Now two instances are running but how can I make sure that each one is using different ip than the other one I set bind address of the second instance to different ip but is there a way to show sender ip in log? I am using postfix 2.8.4 on centos 5.7 and I want to configure another

Re: postfix multiple instances

2011-11-03 Thread Wietse Venema
Amira Othman: Hi all Now two instances are running but how can I make sure that each one is using different ip than the other one I set bind address of the second instance to different ip but is there a way to show sender ip in log? Instead of the address, the logging shows the instance

Re: postfix multiple instances

2011-11-03 Thread Wietse Venema
Amira Othman: When I try to send mail to account from the second instance I get this error in mallog where myserver2 is virtual domain in the second postfix instance relay=none, delay=13, delays=13/0.03/0/0, dsn=5.4.6, status=bounced (mail for myserver2.com loops back to myself) Each

postfix multiple instances

2011-11-02 Thread Amira Othman
Hi all I am using postfix 2.8.4 on centos 5.7 and I want to configure another instance of postfix. I followed instructions in the following link http://www.postfix.org/MULTI_INSTANCE_README.html but when i try to start the second instance it does not start . I start it using command postmulti

Re: postfix multiple instances

2011-11-02 Thread Wietse Venema
Amira Othman: Hi all I am using postfix 2.8.4 on centos 5.7 and I want to configure another instance of postfix. I followed instructions in the following link http://www.postfix.org/MULTI_INSTANCE_README.html but when i try to start the second instance it does not start . I start it using

Re: postfix multiple instances

2011-11-02 Thread Viktor Dukhovni
On Wed, Nov 02, 2011 at 02:17:03PM +0200, Amira Othman wrote: I am using postfix 2.8.4 on centos 5.7 and I want to configure another instance of postfix. I followed instructions in the following link http://www.postfix.org/MULTI_INSTANCE_README.html but when i try to start the second instance