John Fawcett: > >> Oct 5 17:30:02 localhost kernel: postscreen[22771]: segfault at 0 ip > >> 00007f388bc98cea sp 00007ffc372ca850 error 4 in > >> libpostfix-util.so[7f388bc7e000+29000] > >> > >> both with postfix 3.5.6 and 3.5.7 on gentoo > >> > >> removed: > >> > >> postscreen_dnsbl_reply_map = > >> texthash:/etc/postfix/postscreen_dnsbl_reply_map > >> postscreen_dnsbl_sites = APIKEY.combined.mail.abusix.zone > >> > >> that removed the seqfaults > >> > >> kernel is 5.4.66, dont know if thats related to my problem, is other > >> seen that problem ? > > Support for postscreen_dnsbl_* not changed in years. You can try > > to attack a debugger as in http://www.postfix.org/DEBUG_README.html, > > to find out what function(s) are active at the time. > > > > Wietse > > Hi > > maybe just a wild guess... but looking at the code in dict_thash.c is > this guaranteed to return something not null? > > ??????? dict = dict_open3(DICT_TYPE_HT, path, open_flags, dict_flags); > > If it ever returns null, it would likely produce a segfault later on.
dict_open never returns null. In case of error, a dictionary terminates with a fatal error, or it returns a "surrogate" dictionary that returns errors for all requests. Wietse