1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
#$Id: rc.local.s20,v 1.2 1994/09/20 19:33:28 berg Exp $
#
# This file contains several examples of how you can customise SmartList
# through the RC_LOCAL_SUBMIT_20 hook.
#
#
# Appending a disclaimer to every outgoing mail:
#
:0 fbw
| cat - disclaimer.txt
#
# Adding a disclaimer in front of every mail:
#
:0 fhw
| cat - disclaimer.txt
#
# Adding some custom headers (although it will work, this is not
# needed for Reply-To related headers, see the reply_to variable in
# rc.custom):
#
:0 fhw
| formail -i "X-Subliminal-Message: SmartList is great" \
-I "X-Mailer: procmail, which is great too :-)"
#
# Some sendmails get very jumpy if they don't find a Resent-To: field,
# use this to give them one:
#
:0 fhw
| formail -a "Resent-To: multiple recipients of <$listaddr>"
#
# To get rid of some fields:
#
:0 fhw
| formail -I X-Mailing-List: -I X-Mailer:
#
# To get rid of all X- fields:
#
:0 fhw
| formail -I X-
|