retry 5xx using a fallback outgoing IP
I've already asked them that. My question is can postfix retry a failed delivery using another smtp_bind_address than the first tried and failed one? > > On aug. 9, 2017 at 5:10 p.m., (mailto:uh...@fantomas.sk)> wrote: > > > > On 09.08.17 17:00, Mai Ling wrote: > no, it's statically configured you > need proper FcRDNS - ask your new ISP to configure reverse DNS pointing to > something that already points to your new IP (your mail server name probably) > -- Matus UHLAR - fantomas, > > > > > > > > > > > > > > > > > > > >
migrating 2.1 to 3.x ?
I currently have Postfix 2.11 /MySQL on Centos 6, looking at migrating to current Postfix. current server: CentOS release 6.x mail_version = 2.11.0 new server: CentOS 7.3 mail_version = 2.10.1 reading some of the ML posts: is ghettoforge the way to do it ? http://ghettoforge.org/index.php/Postfix what can or should I do with current main.cf ? master.cf the idea is to set new server with Postfix 3, have both running till all done thanks for all the pointers and help V (current) postconf -m btree cidr environ fail hash internal ldap memcache mysql nis pcre pgsql proxy regexp socketmap static tcp texthash unix
RE: postfix check warnings on new Ubuntu 16.04 install
Thanks for the speedy response, Scott. M > -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Scott Kitterman > Sent: Wednesday, August 9, 2017 2:54 PM > To: postfix-users@postfix.org > Subject: Re: postfix check warnings on new Ubuntu 16.04 install > > > > On August 9, 2017 2:03:47 PM EDT, Michael Fox wrote: > >I'm building a new 16.04 machine using the distro package for postfix > >(v3.1.0). The main.cf and master.cf files are still at defaults. > > > >I ran "postfix check" and it's listing warnings about some library > >files. > >This didn't happen on Ubuntu 14.04. > > > >I don't understand what it's trying to tell me or what I need to do > >about > >it. The output is below. Should I do something about this and, if so, > >what? > > > >Thanks in advance, > >Michael > > > >$ sudo postfix check > >postfix: Postfix is running with backwards-compatible default settings > >postfix: See http://www.postfix.org/COMPATIBILITY_README.html for > >details > >postfix: To disable backwards compatibility use "postconf > >compatibility_level=2" and "postfix reload" > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/./sbin/lmtp > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/./libpostfix-dns.so.1 > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/./libpostfix-global.so.1 > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/./libpostfix-master.so.1 > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/./libpostfix-util.so.1 > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/./libpostfix-tls.so.1 > >postfix/postfix-script: warning: group or other writable: > >/usr/lib/postfix/sbin/./lmtp > >$ > >$ ls -l /usr/lib/postfix > >total 764 > >lrwxrwxrwx 1 root root 23 Apr 13 2016 libpostfix-dns.so.1 -> > >libpostfix-dns.so.1.0.1 > >-rw-r--r-- 1 root root 26968 Apr 13 2016 libpostfix-dns.so.1.0.1 > >lrwxrwxrwx 1 root root 26 Apr 13 2016 libpostfix-global.so.1 -> > >libpostfix-global.so.1.0.1 > >-rw-r--r-- 1 root root 281152 Apr 13 2016 libpostfix-global.so.1.0.1 > >lrwxrwxrwx 1 root root 26 Apr 13 2016 libpostfix-master.so.1 -> > >libpostfix-master.so.1.0.1 > >-rw-r--r-- 1 root root 39472 Apr 13 2016 libpostfix-master.so.1.0.1 > >lrwxrwxrwx 1 root root 23 Apr 13 2016 libpostfix-tls.so.1 -> > >libpostfix-tls.so.1.0.1 > >-rw-r--r-- 1 root root 103344 Apr 13 2016 libpostfix-tls.so.1.0.1 > >lrwxrwxrwx 1 root root 24 Apr 13 2016 libpostfix-util.so.1 -> > >libpostfix-util.so.1.0.1 > >-rw-r--r-- 1 root root 264504 Apr 13 2016 libpostfix-util.so.1.0.1 > >-rwxr-xr-x 1 root root 13052 Apr 13 2016 postfix_groups.pl > >-rw-r--r-- 1 root root 18560 Apr 13 2016 postfix-pcre.so.1.0.1 > >-rw-r--r-- 1 root root 14504 Apr 13 2016 postfix-sqlite.so.1.0.1 > >drwxr-xr-x 2 root root 4096 Jul 23 08:41 sbin > >$ > >$ postconf -d | grep mail_version > >mail_version = 3.1.0 > >milter_macro_v = $mail_name $mail_version > > We (the Debian Postfix maintainers) got this resolved, but not for that > version (Ubuntu Postfix packages are synched from Debian based on Ubuntu > schedule). These are cosmetic and won't cause actual problems. > > Scott K
Re: postfix check warnings on new Ubuntu 16.04 install
On August 9, 2017 2:03:47 PM EDT, Michael Fox wrote: >I'm building a new 16.04 machine using the distro package for postfix >(v3.1.0). The main.cf and master.cf files are still at defaults. > >I ran "postfix check" and it's listing warnings about some library >files. >This didn't happen on Ubuntu 14.04. > >I don't understand what it's trying to tell me or what I need to do >about >it. The output is below. Should I do something about this and, if so, >what? > >Thanks in advance, >Michael > >$ sudo postfix check >postfix: Postfix is running with backwards-compatible default settings >postfix: See http://www.postfix.org/COMPATIBILITY_README.html for >details >postfix: To disable backwards compatibility use "postconf >compatibility_level=2" and "postfix reload" >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/./sbin/lmtp >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/./libpostfix-dns.so.1 >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/./libpostfix-global.so.1 >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/./libpostfix-master.so.1 >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/./libpostfix-util.so.1 >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/./libpostfix-tls.so.1 >postfix/postfix-script: warning: group or other writable: >/usr/lib/postfix/sbin/./lmtp >$ >$ ls -l /usr/lib/postfix >total 764 >lrwxrwxrwx 1 root root 23 Apr 13 2016 libpostfix-dns.so.1 -> >libpostfix-dns.so.1.0.1 >-rw-r--r-- 1 root root 26968 Apr 13 2016 libpostfix-dns.so.1.0.1 >lrwxrwxrwx 1 root root 26 Apr 13 2016 libpostfix-global.so.1 -> >libpostfix-global.so.1.0.1 >-rw-r--r-- 1 root root 281152 Apr 13 2016 libpostfix-global.so.1.0.1 >lrwxrwxrwx 1 root root 26 Apr 13 2016 libpostfix-master.so.1 -> >libpostfix-master.so.1.0.1 >-rw-r--r-- 1 root root 39472 Apr 13 2016 libpostfix-master.so.1.0.1 >lrwxrwxrwx 1 root root 23 Apr 13 2016 libpostfix-tls.so.1 -> >libpostfix-tls.so.1.0.1 >-rw-r--r-- 1 root root 103344 Apr 13 2016 libpostfix-tls.so.1.0.1 >lrwxrwxrwx 1 root root 24 Apr 13 2016 libpostfix-util.so.1 -> >libpostfix-util.so.1.0.1 >-rw-r--r-- 1 root root 264504 Apr 13 2016 libpostfix-util.so.1.0.1 >-rwxr-xr-x 1 root root 13052 Apr 13 2016 postfix_groups.pl >-rw-r--r-- 1 root root 18560 Apr 13 2016 postfix-pcre.so.1.0.1 >-rw-r--r-- 1 root root 14504 Apr 13 2016 postfix-sqlite.so.1.0.1 >drwxr-xr-x 2 root root 4096 Jul 23 08:41 sbin >$ >$ postconf -d | grep mail_version >mail_version = 3.1.0 >milter_macro_v = $mail_name $mail_version We (the Debian Postfix maintainers) got this resolved, but not for that version (Ubuntu Postfix packages are synched from Debian based on Ubuntu schedule). These are cosmetic and won't cause actual problems. Scott K
postfix check warnings on new Ubuntu 16.04 install
I'm building a new 16.04 machine using the distro package for postfix (v3.1.0). The main.cf and master.cf files are still at defaults. I ran "postfix check" and it's listing warnings about some library files. This didn't happen on Ubuntu 14.04. I don't understand what it's trying to tell me or what I need to do about it. The output is below. Should I do something about this and, if so, what? Thanks in advance, Michael $ sudo postfix check postfix: Postfix is running with backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./sbin/lmtp postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-dns.so.1 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-global.so.1 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-master.so.1 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-util.so.1 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/./libpostfix-tls.so.1 postfix/postfix-script: warning: group or other writable: /usr/lib/postfix/sbin/./lmtp $ $ ls -l /usr/lib/postfix total 764 lrwxrwxrwx 1 root root 23 Apr 13 2016 libpostfix-dns.so.1 -> libpostfix-dns.so.1.0.1 -rw-r--r-- 1 root root 26968 Apr 13 2016 libpostfix-dns.so.1.0.1 lrwxrwxrwx 1 root root 26 Apr 13 2016 libpostfix-global.so.1 -> libpostfix-global.so.1.0.1 -rw-r--r-- 1 root root 281152 Apr 13 2016 libpostfix-global.so.1.0.1 lrwxrwxrwx 1 root root 26 Apr 13 2016 libpostfix-master.so.1 -> libpostfix-master.so.1.0.1 -rw-r--r-- 1 root root 39472 Apr 13 2016 libpostfix-master.so.1.0.1 lrwxrwxrwx 1 root root 23 Apr 13 2016 libpostfix-tls.so.1 -> libpostfix-tls.so.1.0.1 -rw-r--r-- 1 root root 103344 Apr 13 2016 libpostfix-tls.so.1.0.1 lrwxrwxrwx 1 root root 24 Apr 13 2016 libpostfix-util.so.1 -> libpostfix-util.so.1.0.1 -rw-r--r-- 1 root root 264504 Apr 13 2016 libpostfix-util.so.1.0.1 -rwxr-xr-x 1 root root 13052 Apr 13 2016 postfix_groups.pl -rw-r--r-- 1 root root 18560 Apr 13 2016 postfix-pcre.so.1.0.1 -rw-r--r-- 1 root root 14504 Apr 13 2016 postfix-sqlite.so.1.0.1 drwxr-xr-x 2 root root 4096 Jul 23 08:41 sbin $ $ postconf -d | grep mail_version mail_version = 3.1.0 milter_macro_v = $mail_name $mail_version
Re: retry 5xx using a fallback outgoing IP
On 9 August 2017 at 12:35, Mai Ling mailto:mailinglist...@gmail.com)> wrote: > My small office client upgraded his internet connection and I've updated the self hosted postfix configuration file with the new IP address. > > Soon after, email users began complaining about bounces they started receiving for some emails they sent. On aug. 9, 2017 at 3:08 p.m., mailto:domi...@timedicer.co.uk)> wrote: Just checking, is the new ip dynamic? Dynamic ips are blacklisted by many rbls automatically (and requests for exceptions will be ignored), so in this case you must use a relayhost. On 09.08.17 17:00, Mai Ling wrote: no, it's statically configured you need proper FcRDNS - ask your new ISP to configure reverse DNS pointing to something that already points to your new IP (your mail server name probably) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. He who laughs last thinks slowest.
Re: retry 5xx using a fallback outgoing IP
no, it's statically configured > > On aug. 9, 2017 at 3:08 p.m., (mailto:domi...@timedicer.co.uk)> wrote: > > > > > On 9 August 2017 at 12:35, Mai Ling (mailto:mailinglist...@gmail.com)> wrote: > > > > > > > > > > > > > My small office client upgraded his internet connection and I've updated > > the self hosted postfix configuration file with the new IP address. > > > > > > > > Soon after, email users began complaining about bounces they started > > receiving for some emails they sent. > > .. > > > > > > > > > > Just checking, is the new ip dynamic? Dynamic ips are blacklisted by many > rbls automatically (and requests for exceptions will be ignored), so in this > case you must use a relayhost. > > > > >
Re: retry 5xx using a fallback outgoing IP
On 9 August 2017 at 12:35, Mai Ling wrote: > My small office client upgraded his internet connection and I've updated > the self hosted postfix configuration file with the new IP address. > > Soon after, email users began complaining about bounces they started > receiving for some emails they sent. > .. > Just checking, is the new ip dynamic? Dynamic ips are blacklisted by many rbls automatically (and requests for exceptions will be ignored), so in this case you must use a relayhost.
retry 5xx using a fallback outgoing IP
My small office client upgraded his internet connection and I've updated the self hosted postfix configuration file with the new IP address. Soon after, email users began complaining about bounces they started receiving for some emails they sent. After examining logs I've concluded that the newly IP was reused from another client and it is listed in few rbl. One server did not even let me say HELO, just printing a 5xx message and closing tcp connection. I've reverted the change to ensure email continuitiy (as the old connection is still available) and waiting for rbl to expire, and also asked ISP to create a dns PTR record for it (it didn't have one). But until these will be solved I'd like to instruct postfix to retry a 5xx response using the secondary IP (so the smtp client to try connecting using the new outbound source IP, and if gets a 4xx or 5xx to try again using the good old clean IP). Is this possible? Using an old version (2.9.6) on Debian Wheezy 32bit.