File: rc.local.s20

package info (click to toggle)
smartlist 3.15-28
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,308 kB
  • sloc: ansic: 9,238; sh: 4,901; makefile: 118
file content (51 lines) | stat: -rw-r--r-- 939 bytes parent folder | download | duplicates (11)
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-