hey wietse,

Am 2013-05-23 21:33, schrieb wie...@porcupine.org:
Marko Weber | ZBF:

when i change a cidr map,
do i have to "reload" postfix like on chnages by texthash?

i was on http://www.postfix.org/cidr_table.5.html
and cant find that info.

It is safe to assume that if you change a file, then a "reload"
will be needed.

cidr is like texthash, pcre and regexp: these tables are read into
memory and then closed, so they don't have a file handle to access
the file after entering a chroot jail and/or dropping privileges.
With other files that remain open, Postfix daemons try to detect
if it has changed and will voluntarily terminate.

There is no manpage for every Postfix table type so that would not
be the place to document whether a reload is desired. For example
there is no manpage for hash, btree, dbm, and texthash. That leaves
DATABASE_README.html, and the postconf manpage text for the "-m"
option. Would you have found it if it was documented there?

i dunno. i just asked to get a an answer. thats all.
i dont show with the finger here on anyone that missed to docuemt these and that.
just wanted to know.

all fine, i decided to do reload.

background: i use the LASSO DROP from spamhaus. this list you can update hourly
and i read it with the cidr option.

postscreen_access_list =
cidr:/etc/postfix/lookups/cidr/postscreen_access.cidr
cidr:/etc/postfix/lookups/cidr/spamhausdrop.cidr

...and asked myself if postfix need a reload after updte of the list ;-)

all fine.

marko


        Wietse

Reply via email to