(Please keep replies on-list.) Marcus Schopen wrote: > Thanks for your idea and code. Nice idea! How did you create and modify > the BerkeleyDB from console? Never did this by hand only via tools like > saslpasswd e.g. for my cyrus/sendmail user db.
I think it took a bit of fine-tuning to get the "right" Perl module; but once I got that figured out I was able to create the hash file the same way as any of the other .db files for sendmail - create the plaintext version by hand or utility as convenient, then "makemap hash dbfile < dbfile". I'm not certain on most of the specifics of this any more, since that system was decommissioned something like 5 years ago... all I have left is a tarball of /etc. For the domain mappings the hash values were still pretty much hand-maintained; I never got around to adding utilities to modify them before services were migrated off the legacy system to the core mail system (which had proper per-account controls for filtering). > And are "sub filter_initialize" and "sub filter_cleanup" still in use in > mimedefang? Check "man mimedefang-filter" to be certain for your install, but I can't see why they'd go away. Re-reading that section of the man page says they're important if running with embedded Perl. -kgd _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang