If you want to inverse the work of newaliases, you can use makemap to convert them to text:
makemap -u hash access.db
This is quite handy to see if the newaliases indeed put all information into the db file (for instance if you use a script, you can verify it ran correctly).
It works for any db, but you need to be aware of the database format: hash
type or btree
type.
To my knowledge only one uses the btree type format:
- userdb.db
All others use hash type format:
- aliases.db
- aliases-maillist.db
- mailertable.db
- genericstable.db
- virtusertable.db
- access.db
- auth-info.db
- domaintable.db
–jeroen
via: Reading Sendmail .db files.
Filed under: *nix, *nix-tools, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux Image may be NSFW.
Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.

Clik here to view.
