Charlie Brady wrote:

> > However, I have my doubts; MIMEDefang has more dependencies on Sendmail
> > than just the milter part.

> Could you elaborate on what those are?

Well, nothing show-stopping, but:

1) MIMEDefang relies on Sendmail's local submission program for its
stream_by _domain and stream_by_recipient functions.  These let you
have
different filtering rules for different recipients; they rely on the
fact that you
can re-mail copies of the original message and that those copies will
appear
some time later over SMTP.  (The copies, of course, are only for one
domain
or recipient, so the stream_by_* functions do nothing when they appear
the
second time around.)

2) MIMEDefang lets you pass Sendmail macro values in; you can do
various
things.  For example, you can skip spam-scanning if a sender is
authenticated.
That information is communicated via Sendmail macros.

3) MIMEDefang lets you use Perl to implement a map using Sendmail
8.13's
socketmap feature.  That's really powerful; it lets you back-end
Sendmail maps
with database connections, LDAP lookups or even arbitrary Perl
functions, without
wading through incomprehensible Sendmail configuration rules.

The architecture is better described by the LISA slides:
http://www.mimedefang.org/static/mimedefang-lisa04.pdf.

> It looks to me as though qpsmtpd could interact directly with
> mimedefang-multiplexor. Is there a description of the interface anywhere?

Yes; in the mimedefang-protocol(7) man page.  (Alas, that's somewhat
out of date; the best documentation is the source code, unfortunately.)

Regards,

David.

Reply via email to