-----BEGIN PGP SIGNED MESSAGE-----
On Mon, 10 Oct 2016, Marcus Schopen wrote:
Am Freitag, den 07.10.2016, 14:49 +0200 schrieb Marcus Schopen:
I'd like to start a second mimedefang instance, which is called before
milter-greylist. This mimedefang should only check if recipients on
internal hosts exist, so incoming emails for non existing recipients
don't run into milter-greylist.
I striped down the mimedefang-filter example to "sub filter_recipient"
where I run some "md_check_against_smtp_server"-checks against internals
host and removed all other subs (= filter_bad_filename, filter_begin,
filter, filter_multipart, defang_warning, filter_end). Seems to work,
but anything wrong about this?
I had been running two instances of mimeedefang on the same server for a
different purpose for sevaral years without problems.
I wanted to reserve some slots of the filter for specific IP address
I've started a second mimedefang instance, which mimedefang-filter is
striped down to sub filter_recipient for md_check_against_smtp_server
(nothing more). This works fine, but it's a complete second mimedefang
with own spooldir, socket, pids just for recipient checking.
Today read about SOCKETMAP option, what I didn't unterstand fully. Is
there a way to call the same mimedefang by different socket names, but
same socket and then check inside mimedefang by which socketname it is
SocketMap is a feature of sendmail to query a "key" not from hash maps or
DNS or something like that, but via a socket.
So no, you cannot call the same mimedefang infrastucture via two sockets
and differ between the origins in the filter.
Maybe you can offer a patch to roaringpenguin.com.
You would start at mimedefang.c to get two sockets and extend the protocol
to pass the socket forth.
Or, think about adding a second socket to the multiplexor, then you would
have two mimedefang interceptors, but just one multiplexor - scanner pair.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
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