Re: problem with sending emails from second IP'

2018-04-18 Thread Poliman - Serwis
Thank you for answer. How to detect that some is major or minor smtp client? 2018-04-18 12:57 GMT+02:00 Wietse Venema : > Poliman - Serwis: > > Now is ok but I would like to know where this setting should be set > > according to rules - master.cf or main.cf? > > smtp_bind_address, smtp_bind_addre

Re: problem with sending emails from second IP'

2018-04-18 Thread Wietse Venema
Poliman - Serwis: > Now is ok but I would like to know where this setting should be set > according to rules - master.cf or main.cf? smtp_bind_address, smtp_bind_address6 In main.cf if this setting applies to the majority of SMTP clients. In master.cf if this setting applies to a minority of SMT

Re: problem with sending emails from second IP'

2018-04-18 Thread Poliman - Serwis
Now is ok but I would like to know where this setting should be set according to rules - master.cf or main.cf? 2018-04-17 16:24 GMT+02:00 Wietse Venema : > Poliman - Serwis: > > Yes, you have right but this is already fixed. In postfix's config files > is > > clear and setting works nice. But I a

Re: problem with sending emails from second IP'

2018-04-17 Thread Wietse Venema
Poliman - Serwis: > Yes, you have right but this is already fixed. In postfix's config files is > clear and setting works nice. But I am curious why set > smtp_bind_address=X.X.X.X in master.cf like docs say didn't work in my > case. I added it to main.cf then it works. There is no difference. You

Re: problem with sending emails from second IP'

2018-04-17 Thread /dev/rob0
On Tue, Apr 17, 2018 at 01:39:45PM +0200, Poliman - Serwis wrote: > Now all works fine. I have to add smtp_bind_address in main.cf, > because any modification of original smtp_bind_address from > master.cf did not work at all (thus in logs which I put you can > see combinations like this one from

Re: problem with sending emails from second IP'

2018-04-17 Thread Poliman - Serwis
Now all works fine. I have to add smtp_bind_address in main.cf, because any modification of original smtp_bind_address from master.cf did not work at all (thus in logs which I put you can see combinations like this one from port and comma). Based on documentation I thought I should modify smtp_bind

Re: problem with sending emails from second IP'

2018-04-17 Thread Matus UHLAR - fantomas
On 17.04.18 13:26, Poliman - Serwis wrote: Yes, you have right but this is already fixed. In postfix's config files is clear and setting works nice. But I am curious why set smtp_bind_address=X.X.X.X in master.cf like docs say didn't work in my case. I added it to main.cf then it works. accordi

Re: problem with sending emails from second IP'

2018-04-17 Thread Poliman - Serwis
Yes, you have right but this is already fixed. In postfix's config files is clear and setting works nice. But I am curious why set smtp_bind_address=X.X.X.X in master.cf like docs say didn't work in my case. I added it to main.cf then it works. 2018-04-17 13:06 GMT+02:00 Wietse Venema : > Poliman

Re: problem with sending emails from second IP'

2018-04-17 Thread Wietse Venema
Poliman - Serwis: > Thank you for answer. You understand me wrong. I can't believe that I made > a typo there and left comma. I know that comma is a form of whitespace. ;) > But I am curious why set smtp_bind_address=X.X.X.X in master.cf like docs > say didn't work in my case. I added it to main.cf

Re: problem with sending emails from second IP'

2018-04-16 Thread Poliman - Serwis
Thank you for answer. You understand me wrong. I can't believe that I made a typo there and left comma. I know that comma is a form of whitespace. ;) But I am curious why set smtp_bind_address=X.X.X.X in master.cf like docs say didn't work in my case. I added it to main.cf then it works. 2018-04-1

Re: problem with sending emails from second IP'

2018-04-16 Thread /dev/rob0
On Mon, Apr 16, 2018 at 07:23:34AM +0200, Poliman - Serwis wrote: > Yea, that's right. Unbeliveable that there is no comma. :D Now > I have smtp_bind_address in main.cf and master.cf. :) After being here awhile you'll get that Postfix is all about the Principle of Least Astonishment. Names of po

Re: problem with sending emails from second IP'

2018-04-15 Thread Poliman - Serwis
Yea, that's right. Unbeliveable that there is no comma. :D Now I have smtp_bind_address in main.cf and master.cf. :) 2018-04-13 21:46 GMT+02:00 Wietse Venema : > Viktor Dukhovni: > > > > > > > On Apr 13, 2018, at 7:25 AM, Poliman - Serwis > wrote: > > > > > > Apr 12 11:48:09 s1 postfix/smtp[1298

Re: problem with sending emails from second IP'

2018-04-13 Thread Wietse Venema
Viktor Dukhovni: > > > > On Apr 13, 2018, at 7:25 AM, Poliman - Serwis wrote: > > > > Apr 12 11:48:09 s1 postfix/smtp[12985]: fatal: > > smtp_connect_addr: bad smtp_bind_address parameter: > > 54.38.202.128,: Name or service not known > > That "," there looks like it does not belong. Some

Re: problem with sending emails from second IP'

2018-04-13 Thread Viktor Dukhovni
> On Apr 13, 2018, at 7:25 AM, Poliman - Serwis wrote: > > Apr 12 11:48:09 s1 postfix/smtp[12985]: fatal: > smtp_connect_addr: bad smtp_bind_address parameter: > 54.38.202.128,: Name or service not known That "," there looks like it does not belong. Something's wrong with your smtp_bind_

Re: problem with sending emails from second IP'

2018-04-13 Thread Poliman - Serwis
Thank you for answer. About 1st: root@s1:/tmp/roundcubemail-1.3.6# ifconfig ens3 Link encap:Ethernet HWaddr fa:16:3e:21:c7:80 inet addr:145.239.29.218 Bcast:145.239.29.218 Mask:255.255.255.255 inet6 addr: fe80::f816:3eff:fe21:c780/64 Scope:Link UP BROADCAST RUNN

Re: problem with sending emails from second IP'

2018-04-13 Thread Wietse Venema
Poliman - Serwis: > Strange thing. Google says "spf=pass", mailing works but in mail.err file I > have: > > Apr 12 11:48:09 s1 postfix/smtp[12985]: fatal: smtp_connect_addr: bad > smtp_bind_address parameter: 54.38.202.128,: Name or service not known > Apr 12 11:49:00 s1 postfix/smtp[13190]: fatal

Re: problem with sending emails from second IP'

2018-04-13 Thread Poliman - Serwis
Strange thing. Google says "spf=pass", mailing works but in mail.err file I have: Apr 12 11:48:09 s1 postfix/smtp[12985]: fatal: smtp_connect_addr: bad smtp_bind_address parameter: 54.38.202.128,: Name or service not known Apr 12 11:49:00 s1 postfix/smtp[13190]: fatal: smtp_connect_addr: bad smtp_

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 designate 145.239.29.218

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 54

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. 2018-04

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 same as for line > > inet_interfaces = 54.38

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. what

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 GMT+02:00 Wietse Venema : >

Re: problem with sending emails from second IP'

2018-04-12 Thread 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 same as for line > inet_interfaces = 54.38.202.128. As documented in http://www.postfix.org/postconf

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 spa

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 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 gone well each time.

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 I

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 Regards* *Piotr Bracha*

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 Ahsan Khan
Which Is your failover IP , you need to have that information in SPF record as well. Ahsan On Thu, 12 Apr 2018 at 4:08 PM, Poliman - Serwis wrote: > 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

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 > belongs to class 145.239.