Re: postmap db

2017-11-17 Thread Wietse Venema
richard lucassen: > Hello list, > > When e.g. I have an access file with: > > domain.tld reject > baduser@ reject > > Postfix will reject "u...@domain.tld" and "baduser@anydomain.anytld". > > When I want to test these db's using "postmap -q", postmap only tests > the "real" entries in the

Re: postmap db

2017-11-17 Thread richard lucassen
On Thu, 16 Nov 2017 20:49:23 -0600 /dev/rob0 wrote: > You did not mention how your access file was being used. Apparently > it's being used for email address lookups, so perhaps > check_sender_access or check_recipient_access. Any supercharged > postmap tool would have to know this also. Th

Re: postmap db

2017-11-16 Thread /dev/rob0
On Thu, Nov 16, 2017 at 10:20:09PM +0100, richard lucassen wrote: > When e.g. I have an access file with: > > domain.tld reject > baduser@ reject > > Postfix will reject "u...@domain.tld" and > "baduser@anydomain.anytld". > > When I want to test these db's using "postmap -q", postmap only

postmap db

2017-11-16 Thread richard lucassen
Hello list, When e.g. I have an access file with: domain.tld reject baduser@ reject Postfix will reject "u...@domain.tld" and "baduser@anydomain.anytld". When I want to test these db's using "postmap -q", postmap only tests the "real" entries in the database. Is there a *simple CLI* way t

Re: Postfix postmap DB

2014-02-27 Thread Viktor Dukhovni
On Thu, Feb 27, 2014 at 03:44:49PM -0700, LuKreme wrote: > Excellent. If you build with cdb there's no reason to build > against BerkeleyDB, right? You'll still need something else for caches, that's Berkeley DB or LMDB. -- Viktor.

Re: Postfix postmap DB

2014-02-27 Thread Patrick Ben Koetter
* LuKreme : > > On 27 Feb 2014, at 14:50 , Viktor Dukhovni wrote: > > > For read-only indexed files, that are not updated incrementaly, > > the best database type is "cdb". It is fastest, requires least > > per-process private memory, has the most stable on-disk format and > > has proved reliab

Re: Postfix postmap DB

2014-02-27 Thread LuKreme
On 27 Feb 2014, at 14:50 , Viktor Dukhovni wrote: > For read-only indexed files, that are not updated incrementaly, > the best database type is "cdb". It is fastest, requires least > per-process private memory, has the most stable on-disk format and > has proved reliable over many years. Excel

Re: Postfix postmap DB

2014-02-27 Thread Viktor Dukhovni
On Thu, Feb 27, 2014 at 02:35:52PM -0700, LuKreme wrote: > What is the best choice for the database to compile postfix > against for use of hash/postmap files? For read-only indexed files, that are not updated incrementaly, the best database type is "cdb". It is fastest, requires least per-proce

Postfix postmap DB

2014-02-27 Thread LuKreme
What is the best choice for the database to compile postfix against for use of hash/postmap files? is LMDB (lmdb:) in postfix 2.11 going to be the best choice when I move to 2.11? Currently the only hash: type files I have are alias_maps, alias_database, check_client_acces. There's also trans