From c493a11b449f5071aed9adb34faa3e3dd85ea762 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)> Date: Thu, 8 Jul 2004 18:21:20 +0000 Subject: New repository initialized by cvs2svn. --- scripts/add_header.sh | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 scripts/add_header.sh (limited to 'scripts/add_header.sh') diff --git a/scripts/add_header.sh b/scripts/add_header.sh deleted file mode 100644 index d4d524a..0000000 --- a/scripts/add_header.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -################################################################################ -# PROXSMTP SAMPLE SCRIPT -# -# These sample scripts are to give you an idea of how to use proxsmtp -# filtering. They are NOT intended for use on production servers. -# -# A simple proxsmtp script which replaces the subject line with one -# containing the senders email address. Uses the 'formail' command -# that comes with the 'procmail' package. -# -# Make sure the option 'FilterType' is set as follows: -# FilterType: pipe -# -# See proxsmtpd.conf(5) for configuration details -# - -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -# WARNING WARNING WARNING WARNING WARNING WARNING WARNING -# -# By using variables passed in from clamsmtpd in file -# manipulation commands without escaping their contents -# you are opening yourself up to REMOTE COMPROMISE. You -# have been warned. Do NOT do the following unless you -# want to be screwed big time: -# -# mv $EMAIL "$SENDER.eml" -# -# An attacker can use the above command to compromise your -# computer. The only variable that is guaranteed safe in -# this regard is $EMAIL. -# -# The following script does not escape its variables -# because it only uses them in safe ways. -# -# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - -# Pipe the email through this command -formail -i "Subject: Changed subject from $SENDER ..." - -# Filter success -exit 0 \ No newline at end of file -- cgit v1.2.3