After looking through the mess822 documentation, I'm left with the
following question:

Why not integrate rewriting of messages in one common location instead
of the entry points to the qmail system (ofmipd and new-inject)?
Perhaps in qmail-queue?

I understand that connections via smtp (not ofmip) should not be
subject to rewriting, but running both qmail-smtpd and ofmipd seems
overkill.  I'm also imagining the trouble an administrator who is
trying to force message rewriting would have.  For example, if users
simply pointed to the qmail-smtpd port rather than the ofmipd port
then message rewriting would be bypassed.

Does anyone see any benefits to setting an environment variable via
tcpserver such as NOREWRITE.  If NOREWRITE is set, then rewriting
should not occur.  A site administrator would only have to determine
which ip addresses are non-local.  

Even if the rewriting is not integrated into one common location, this
might be a better alternative than running ofmipd and qmail-smtpd.
Simply add the rewriting code to qmail-smtpd and check for NOREWRITE.

Comments?

Reply via email to