Re: Postfix Multiple Instances Load Balance

2018-05-05 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 addr

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 typically chosen by the ope

Re: Source of spam

2018-05-05 Thread Bill Cole
On 5 May 2018, at 17:33, Proxy wrote: On 2018-May-05 23:20, Proxy wrote: On 2018-May-05 17:08, Viktor Dukhovni wrote: Well, you should now try with "enable_original_recipient = yes" and wait for another message to come in. Then report logging for that. Perhaps the second recipient is ju

Re: Source of spam

2018-05-05 Thread Proxy
On 2018-May-05 23:20, Proxy wrote: > On 2018-May-05 17:08, Viktor Dukhovni wrote: > > > > Well, you should now try with "enable_original_recipient = yes" and wait > > for another message to come in. Then report logging for that. Perhaps > > the second recipient is just local alias expansion, de

Re: Source of spam

2018-05-05 Thread Proxy
On 2018-May-05 17:08, Viktor Dukhovni wrote: > > Well, you should now try with "enable_original_recipient = yes" and wait > for another message to come in. Then report logging for that. Perhaps > the second recipient is just local alias expansion, despite the lack > of "orig_to=" in the log ent

Re: Source of spam

2018-05-05 Thread Viktor Dukhovni
> On May 5, 2018, at 4:21 PM, Proxy wrote: > $ postmap -q gmail.com $(postconf -hx virtual_alias_domains virtual_mailbox_domains) >>> >>> virtual_alias_domains and virtual_mailbox_domains are in mysql database. >>> That command gives: >>> >>> postmap: fatal: open /etc/postfix

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 of

Re: Source of spam

2018-05-05 Thread Proxy
On 2018-May-05 12:03, Viktor Dukhovni wrote: > > > > On May 5, 2018, at 11:55 AM, Proxy wrote: > > > >> Report the output of: > >> > >> $ postmap -q gmail.com $(postconf -hx virtual_alias_domains > >> virtual_mailbox_domains) > >> > > > > virtual_alias_domains and virtual_mailbox_domains a

Re: Source of spam

2018-05-05 Thread Viktor Dukhovni
> On May 5, 2018, at 11:55 AM, Proxy wrote: > > Anyway, I have aliases that are forwarded to my gmail address. Maybe > that's why it is considered auth_destination. I also have one setting > regarding gmail: Aliases don't have that effect, only address classes do, which is why I am asking for

Re: Source of spam

2018-05-05 Thread Viktor Dukhovni
> On May 5, 2018, at 11:55 AM, Proxy wrote: > >> Report the output of: >> >> $ postmap -q gmail.com $(postconf -hx virtual_alias_domains >> virtual_mailbox_domains) >> > > virtual_alias_domains and virtual_mailbox_domains are in mysql database. > That command gives: > > postmap: fatal: op

Re: Source of spam

2018-05-05 Thread Proxy
On 2018-May-05 12:19, Viktor Dukhovni wrote: > Report the output of: > >$ postmap -q gmail.com $(postconf -hx virtual_alias_domains > virtual_mailbox_domains) > virtual_alias_domains and virtual_mailbox_domains are in mysql database. That command gives: postmap: fatal: open /etc/postfix/

Re: Source of spam

2018-05-05 Thread Viktor Dukhovni
On Sat, May 05, 2018 at 12:31:12PM +0200, Proxy wrote: > I'm sending postconf -n, postconf -Mf and relevant logs in attachments. > content_filter = amavis:[127.0.0.1]:10024 > enable_original_recipient = no > gmail_destination_rate_delay = 1s > mydestination = > smtpd_recipient_restrictions = >

Re: Source of spam

2018-05-05 Thread Proxy
On 2018-May-04 17:09, Viktor Dukhovni wrote: > For actual help: > > http://www.postfix.org/DEBUG_README.html#mail > I'm sending postconf -n, postconf -Mf and relevant logs in attachments. append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix co