[pfx] Re: read postscreen database?

2023-10-31 Thread Phil Biggs via Postfix-users
Wednesday, November 1, 2023, 4:38:13 AM, Michael W. Lucas via Postfix-users wrote: > On Tue, Oct 31, 2023 at 12:56:23PM -0400, Wietse Venema via Postfix-users > wrote: >> Michael W. Lucas via Postfix-users: >> > Hi, >> > >> > Is there a way to dump the postscreen database, showing which >> >

[pfx] Re: read postscreen database?

2023-10-31 Thread Jaroslaw Rafa via Postfix-users
Dnia 31.10.2023 o godz. 14:10:40 Wietse Venema via Postfix-users pisze: > > Or copy the file with a dumb program, and use postmnap to dump that > copy. Caution: the file contains holes and may grow when copied, > as holes are filled in with nulls. When GNU cp is used with --sparse=auto

[pfx] Re: read postscreen database?

2023-10-31 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > On Tue, Oct 31, 2023 at 01:38:13PM -0400, Michael W. Lucas via Postfix-users > wrote: > > > That's what I would have thought. I can run postmap -s and postmap -q > > on the usual db files in /etc/postfix just fine, but when I try it on > >

[pfx] Re: read postscreen database?

2023-10-31 Thread Viktor Dukhovni via Postfix-users
On Tue, Oct 31, 2023 at 01:38:13PM -0400, Michael W. Lucas via Postfix-users wrote: > That's what I would have thought. I can run postmap -s and postmap -q > on the usual db files in /etc/postfix just fine, but when I try it on > /var/db/postfix/postscreen_cache.db it just hangs: That's

[pfx] Re: read postscreen database?

2023-10-31 Thread Michael W. Lucas via Postfix-users
On Tue, Oct 31, 2023 at 12:56:23PM -0400, Wietse Venema via Postfix-users wrote: > Michael W. Lucas via Postfix-users: > > Hi, > > > > Is there a way to dump the postscreen database, showing which > > addresses are cached and why? > > > > Running postfix 3.8 on FreeBSD. > > postmap -s > > The

[pfx] Re: read postscreen database?

2023-10-31 Thread Wietse Venema via Postfix-users
Michael W. Lucas via Postfix-users: > Hi, > > Is there a way to dump the postscreen database, showing which > addresses are cached and why? > > Running postfix 3.8 on FreeBSD. postmap -s The database contains tuples with (client IP address, list of timestamps). Each timestamp indicates when

[pfx] Re: read postscreen database?

2023-10-31 Thread Matus UHLAR - fantomas via Postfix-users
On 31.10.23 12:26, Michael W. Lucas via Postfix-users wrote: Is there a way to dump the postscreen database, showing which addresses are cached and why? I guess postmap -s could do that. http://www.postfix.org/postmap.1.html -- Matus UHLAR - fantomas, uh...@fantomas.sk ;