[Mimedefang] PATCH: -X option to inhibit X-Scanned-By header
James Ralston
qralston+ml.mimedefang at andrew.cmu.edu
Mon Jun 2 05:27:01 EDT 2003
On 2003-04-03 at 10:53:15-0500 "David F. Skoll" <dfs at roaringpenguin.com> wrote:
> On Thu, 3 Apr 2003, Jay Levitt wrote:
>
> > Wasn't this already done, using that exact syntax (-X instead of
> > -x)? I am pretty sure it was, because, well, I'm using it...
>
> It isn't in my copy. :-) But I'll add it.
Is there a particular reason why you didn't apply the patches to
redhat/mimedefang-init and redhat/mimedefang-sysconfig as well?
If you just missed them, I've included them again...
Regards,
--
James Ralston, Information Technology
Software Engineering Institute
Carnegie Mellon University, Pittsburgh, PA, USA
-------------- next part --------------
--- mimedefang-2.33/redhat/mimedefang-init.x-scanned-by 2003-04-21 12:27:46.000000000 -0400
+++ mimedefang-2.33/redhat/mimedefang-init 2003-06-02 05:21:56.000000000 -0400
@@ -185,6 +185,8 @@
$([ "$MULTIPLEXOR" = "yes" -a "$MX_RELAY_CHECK" = "yes" ] && echo "-r") \
$([ "$MULTIPLEXOR" = "yes" -a "$MX_SENDER_CHECK" = "yes" ] && echo "-s") \
$([ "$MULTIPLEXOR" = "yes" -a "$MX_RECIPIENT_CHECK" = "yes" ] && echo "-t") \
+ $([ "$HEADER_TEXT" ] && echo "-x '${HEADER_TEXT}'") \
+ $([ "$INHIBIT_HEADER" = "yes" ] && echo "-X") \
$([ "$KEEP_FAILED_DIRECTORIES" = "yes" ] && echo "-k") \
-p $SOCKET
RETVAL=$?
--- mimedefang-2.33/redhat/mimedefang-sysconfig.x-scanned-by 2003-04-21 12:27:46.000000000 -0400
+++ mimedefang-2.33/redhat/mimedefang-sysconfig 2003-06-02 05:21:56.000000000 -0400
@@ -87,6 +87,17 @@
# uncomment the next line
# LOG_FILTER_TIME=yes
+# If you want to override the default string that mimedefang uses for
+# the X-Scanned-By: header (which is added to every message that
+# mimedefang processes), uncomment and set the HEADER_TEXT line.
+# WARNING: don't use the apostrophe character ("'"; ASCII value 39) in
+# your HEADER_TEXT string, or else the init.d script will mis-parse it.
+# HEADER_TEXT="MIMEDefang (www . roaringpenguin . com / mimedefang)"
+
+# If you want to inhibit mimedefang from adding the X-Scanned-By:
+# header to the messages it processes, uncomment the next line.
+# INHIBIT_HEADER=yes
+
# Run the multiplexor and filters as this user, not root. RECOMMENDED
MX_USER=defang
More information about the MIMEDefang
mailing list