problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
I have ovh public cloud server. There is main IP 145.239.29.218 which belongs to class 145.239.29.0/24 which regularly get listed on blacklists. So I bought failover IP and configured it on server in /etc/hosts, dns zone for biodermagame.pl I set spf record (each dns record points to this new ip):

Re: problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
main ip - 145.239.29.218 failover ip - 54.38.202.128 Not working means mails do not outbound. This same as for line inet_interfaces = 54.38.202.128. 2018-04-12 12:56 GMT+02:00 Wietse Venema : > Please define "not working". > > Wietse > -- *Pozdrawiam / Best

Re: problem with sending emails from second IP

2018-04-12 Thread Wietse Venema
Please define "not working". Wietse

Re: problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
One more information: OVH is my registrar. There is set reverse for both addresses points to s1.poliman.net. In this case I am not sure it's important. 2018-04-12 12:05 GMT+02:00 Poliman - Serwis : > I have ovh public cloud server. There is main IP 145.239.29.218 which >

Re: problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
Of course afteer each changes in settings I did service postfix restart and it gone well each time. I use roundcube and I log into this mailbox - i...@biodermagame.pl - and try send email to gmail account. Looks like email is sent but it does not come to gmail account. On default postfix settings

Re: problem with sending emails from second IP

2018-04-12 Thread Matus UHLAR - fantomas
On 12.04.18 14:33, Poliman - Serwis wrote: Unfortunately it isn't. In domain dns zone is record with added address ip failover: v=spf1 mx a ip4:54.38.202.128 ~all This is secondary - failover - IP. Main IP is 145.239.29.218. And postfix still reads main IP. I need postfix read ip failover.

Re: problem with sending emails from second IP'

2018-04-12 Thread Wietse Venema
2018-04-12 15:39 GMT+02:00 Wietse Venema : > 2018-04-12 12:56 GMT+02:00 Wietse Venema : > > Please define "not working". > > Poliman - Serwis: > > main ip - 145.239.29.218 > > failover ip - 54.38.202.128 > > Not working means mails do not outbound. This

Re: problem with sending emails from second IP

2018-04-12 Thread Durga Prasad Malyala
Hi, This is an SPF error actually. Pls check your SPF TXT record. Rgds/DP Sent from my iPhone. Pls excuse brevity and typos if any. > On 12-Apr-2018, at 4:44 PM, Poliman - Serwis wrote: > > Of course afteer each changes in settings I did service postfix restart and > it

Re: problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
Unfortunately it isn't. In domain dns zone is record with added address ip failover: v=spf1 mx a ip4:54.38.202.128 ~all This is secondary - failover - IP. Main IP is 145.239.29.218. And postfix still reads main IP. I need postfix read ip failover. 2018-04-12 14:29 GMT+02:00 Durga Prasad Malyala

Re: problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
I fixed this annoying problem guys: spf=pass (google.com: domain of i...@biodermagame.pl designates 54.38.202.128 as permitted sender) smtp.mailfrom=i...@biodermagame.pl What I've done? In /etc/postfix/ configured: inet_interfaces = ip_failover, 127.0.0.1 smtp_bind_address = ip_failover With

Re: problem with sending emails from second IP'

2018-04-12 Thread Poliman - Serwis
Thank you for answer. In logs I have this same line which I pasted. I can attach log file but probably this won't help anybody. ;) What attribute should be used to specify the server IP address in master.cf? 2018-04-12 15:39 GMT+02:00 Wietse Venema : > 2018-04-12 12:56

Re: Postfix [Postfwd2 error]

2018-04-12 Thread Emanuel
Hello, thanks for reply. any idea what file to review??? Regards, El 12/04/18 a las 16:39, Viktor Dukhovni escribió: Avoid complex regular expressions. --

Re: Postfix [Postfwd2 error]

2018-04-12 Thread Viktor Dukhovni
> On Apr 12, 2018, at 5:57 PM, Bill Cole > wrote: > >> postfwd2/policy[4807]: warning: Complex regular subexpression recursion >> limit (32766) exceeded at /opt/postfix/postfwd/sbin/postfwd2 line 1168, >> <$fh> line 230.? > > Perhaps ask whoever

Re: Postfix [Postfwd2 error]

2018-04-12 Thread Bill Cole
On 12 Apr 2018, at 15:43, Emanuel wrote: Hello, thanks for reply. any idea what file to review??? The error message tells you, after a fashion: postfwd2/policy[4807]: warning: Complex regular subexpression recursion limit (32766) exceeded at /opt/postfix/postfwd/sbin/postfwd2 line 1168,

Certificate Replacement

2018-04-12 Thread Doug Hardie
I am needing to replace the certificate and key. Are they read and cached when postfix starts, or are they read during normal mail handling? In other words, can I replace the files or do I need to do a reload or restart of the service afterwards? -- Doug

Re: Postfix [Postfwd2 error]

2018-04-12 Thread Viktor Dukhovni
> On Apr 12, 2018, at 3:35 PM, Emanuel wrote: > > In /var/log/maillog i see this error, which produce an excessive cpu usage > > postfwd2/policy[4807]: warning: Complex regular subexpression recursion limit > (32766) exceeded at /opt/postfix/postfwd/sbin/postfwd2

Postfix [Postfwd2 error]

2018-04-12 Thread Emanuel
Hello, In /var/log/maillog i see this error, which produce an excessive cpu usage postfwd2/policy[4807]: warning: Complex regular subexpression recursion limit (32766) exceeded at /opt/postfix/postfwd/sbin/postfwd2 line 1168, <$fh> line 230.? any ideas? Regards, --

Re: Certificate Replacement

2018-04-12 Thread Ian R. Bennett
On 2018-04-12 16:25, Doug Hardie wrote: I am needing to replace the certificate and key. Are they read and cached when postfix starts, or are they read during normal mail handling? In other words, can I replace the files or do I need to do a reload or restart of the service afterwards?

Re: problem with sending emails from second IP

2018-04-12 Thread Poliman - Serwis
I have two interfaces: main ip - 145.239.29.218 failover ip - 54.38.202.128 Main is in class 145.239.29.0/24 which is regularly banned on blacklists. This particular address is clear but not class and I get hit by ricochet. I want send emails only from failover, because of listing main ip.

Re: Certificate Replacement

2018-04-12 Thread Viktor Dukhovni
> On Apr 12, 2018, at 11:21 PM, Philip Paeps wrote: > > As pointed out, you don't need to restart (and usually don't even need to > reload) Postfix for the new keys and certificates to take effect. > > However: do keep in mind that if you're using DANE and you're replacing

Re: problem with sending emails from second IP'

2018-04-12 Thread Poliman - Serwis
Here is this line from message header and from log file: spf=softfail (google.com: domain of transitioning i...@biodermagame.pl does not designate 145.239.29.218 as permitted sender) I fixed this problem. Below is needed result: spf=pass (google.com: domain of i...@biodermagame.pl designates

Re: problem with sending emails from second IP'

2018-04-12 Thread Poliman - Serwis
Thank you and appreciate your help and disposition to investigate the problem. ;) 2018-04-13 7:18 GMT+02:00 Poliman - Serwis : > Here is this line from message header and from log file: > > spf=softfail (google.com: domain of transitioning i...@biodermagame.pl does > not

Re: Certificate Replacement

2018-04-12 Thread Doug Hardie
-- Doug > On 12 April 2018, at 16:29, Ian R. Bennett wrote: > > On 2018-04-12 16:25, Doug Hardie wrote: >> I am needing to replace the certificate and key. Are they read and >> cached when postfix starts, or are they read during normal mail >> handling? In other words,

Re: Certificate Replacement

2018-04-12 Thread Doug Hardie
> On 12 April 2018, at 16:35, Viktor Dukhovni > wrote: > > > >> On Apr 12, 2018, at 7:29 PM, Ian R. Bennett wrote: >> >>> I am needing to replace the certificate and key. Are they read and >>> cached when postfix starts, or are they read

Re: Certificate Replacement

2018-04-12 Thread Ian R. Bennett
* Viktor Dukhovni (aka postfix-us...@dukhovni.org) used 1.0K on Thu, 12 Apr 2018 at 19:35 -0400 to say: > > > > You'll need to restart postfix. > > That's false. Each smtpd(8) process handles a limited number of > connections ($max_use, default 100) and exits. It also exits when > idle for

Re: Certificate Replacement

2018-04-12 Thread Philip Paeps
On 2018-04-12 16:25:21 (-0700), Doug Hardie wrote: I am needing to replace the certificate and key. Are they read and cached when postfix starts, or are they read during normal mail handling? In other words, can I replace the files or do I need to do a reload or restart of the service

Re: Certificate Replacement

2018-04-12 Thread Viktor Dukhovni
> On Apr 12, 2018, at 7:29 PM, Ian R. Bennett wrote: > >> I am needing to replace the certificate and key. Are they read and >> cached when postfix starts, or are they read during normal mail >> handling? In other words, can I replace the files or do I need to do >> a