Re: Patch: NULL pointer deref in pcf_check_dbms_client() with unreadable map file

2018-05-08 Thread Wietse Venema
Viktor Dukhovni: > - if ((fp = vstream_fopen(cf_file, O_RDONLY, 0)) == 0 > - && errno != EACCES) { > - msg_warn("open \"%s\" configuration \"%s\": %m", > - dp->db_type, cf_file); > + if ((fp = vstream_fopen(cf_file, O_RDONLY, 0)) == 0) { > + if (errn

Re: Can't seem to allow relay from IP

2018-05-08 Thread Matus UHLAR - fantomas
On 5/7/2018 3:01 PM, bstaggs wrote: I am attempting to allow mail relay from a specific IP address but can't seem to make it work correctly. I am running Postfix 2.10.1 and with "debug_peer_level = 2" and "debug_peer_list = xx.yyy.99.9", I get the following error: On 07.05.18 15:15, Noel Jones

Patch: NULL pointer deref in pcf_check_dbms_client() with unreadable map file

2018-05-08 Thread Viktor Dukhovni
On Tue, May 08, 2018 at 10:39:56AM -0300, Andreas Hasenack wrote: > Just before there is a check for fp == 0, but looking for errno != EACCES, > and EACCES is exactly what I got: > if ((fp = vstream_fopen(cf_file, O_RDONLY, 0)) == 0 > && errno != EACCES) { > msg_war

NULL pointer deref in pcf_check_dbms_client() with unreadable map file

2018-05-08 Thread Andreas Hasenack
Hi, postfix-3.3.0 we got a bug report (https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/ 1753470) where postconf was crashing if main.cf had a map pointing to a file that the user couldn't read. ubuntu@bionic-postfix:~$ l /etc/postfix/valiases.cf -rw-r- 1 root root 169 May 7 14:08 /et