The following is the GNU All-permissive License as recommended in

Copyright (C) 2024 Free Software Foundation

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Contributions are welcome. See

Adding entries to a Berkeley DB file

Instrucitions assume that you are working with addresses.db.

cp addresses.db addresses.db.bak

db4.8_dump -p addresses.db > addresses.txt

cp addresses.txt
# edit by copying lines and editing addresses.

rm # to avoid merging changes with old changes
db4.8_load <

db4.8_dump -p # check
rm addreses.txt

cat > addresses.db

systemctl reload exim4