[Mimedefang] read domain list from config file
Kris Deugau
kdeugau at vianet.ca
Fri Mar 28 11:29:02 EDT 2014
(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
More information about the MIMEDefang
mailing list