File: emil.cf

package info (click to toggle)
emil 2.1.0-beta9-14
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,164 kB
  • ctags: 592
  • sloc: ansic: 10,377; yacc: 411; makefile: 331; sh: 172
file content (147 lines) | stat: -rw-r--r-- 5,340 bytes parent folder | download | duplicates (5)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
####################################
#  Config file for emil version 2  #
####################################
#
# A line beginning with a '#' or empty is a comment. 
# Definitions are of three kinds: match-strings, groups and members
#
# Match-strings should come first and not normally be changed.
#
# A group definition must come before it is used in a member def.
#
# Some Generic types used here are predefined in the code, these
# are: TEXT, MULTIPART, JEPG, GIF and ULAW. Otherwise it is
# allowed to add new generic types as suited. 
#
#       Context		MatchString     		Generic
#

#
# SUN Mailtool "X-Sun-Data-Type" values
#
Match	MAILTOOL	"text"				TEXT		;
Match	MAILTOOL	"gif-file"			GIF		;
Match	MAILTOOL	"jpeg-file"			JPEG		;
Match	MAILTOOL	"audio-file"			ULAW		;
Match   MAILTOOL        "framemaker-document"           FRAME           ;
Match   MAILTOOL        "mail-file"                     MESSAGE         ;
Match	MAILTOOL	"postscript-file"		POSTSCRIPT	;
Match	MAILTOOL	"default"			APPLICATION	;
Match	MAILTOOL	"default-app"			APPLICATION	;
Match	MAILTOOL	"h-file"			TEXT		;
Match	MAILTOOL	"default"			DEFAULT		;

#
# MIME "Content-Type" values
#
Match	MIME		"text/plain"			TEXT		;
Match	MIME		"image/gif"			GIF		;
Match	MIME		"image/jpeg"			JPEG		;
Match	MIME		"audio/basic"			ULAW		;
Match	MIME		"application/postscript"	POSTSCRIPT	;
Match	MIME		"application/msword"		MSWORD		;
Match	MIME		"application/x-msexcel"		EXCEL		;
Match	MIME		"application/applefile"		APPLESINGLE	;
Match	MIME		"application/octet-stream"	APPLICATION	;
Match   MIME            "application/x-framemaker"      FRAME           ;
Match	MIME		"application/pgp"		PGP		;
Match	MIME		"application/mac-binhex4.0"	BINHEX		;
Match	MIME		"application/mac-binhex40"	BINHEX		;
Match	MIME		"application/macbinary"		MACBINARY	;
Match	MIME		"application/x-dvi"		DVI		;
Match	MIME		"message/rfc822"		MESSAGE		;
Match	MIME		"message/partial"		PARTIAL		;
Match	MIME		"message/external-body"		EXTERNAL	;
Match	MIME		"multipart/mixed"		MULTIPART	;
Match	MIME		"multipart/digest"		MULTIPART	;
Match	MIME		"multipart/aternative"		MULTIPART	;
Match	MIME		"multipart/parallel"		MULTIPART	;
Match	MIME		"multipart/appledouble"		MULTIPART	;
Match	MIME		"multipart/header-set"		MULTIPART	;
Match	MIME		"video/mpeg"			MPEG		;
Match	MIME		"application/x-tar"		TAR		;
Match	MIME		"application/octet-stream"	DEFAULT		;
Match	MIME		"text/html"			HTML		;
Match	MIME		"application/pdf"		PDF		;
#
# UUencode file name extensions
#
Match	UUENCODE	".doc"				MSWORD		;
Match	UUENCODE	".xls"				EXCEL		;
Match	UUENCODE	".txt"				TEXT		;
Match	UUENCODE	".gif"				GIF		;
Match	UUENCODE	".jpg"				JPEG		;
Match	UUENCODE	".mpg"				MPEG		;
Match	UUENCODE	".pgp"				PGP		;
Match	UUENCODE	".au"				ULAW		;
Match	UUENCODE	".eps"				POSTSCRIPT	;
Match	UUENCODE	".ps"				POSTSCRIPT	;
Match	UUENCODE	".dvi"				DVI		;
Match	UUENCODE	".tar"				TAR		;
Match	UUENCODE	".html"				HTML		;
Match	UUENCODE	".pdf"				PDF		;
#
# Applefile (BinHex) Type & Creator
#
Match	APPLEFILE	"WDBNMSWD"			MSWORD		;
Match	APPLEFILE	"XLS XCEL"			EXCEL		;
Match	APPLEFILE	"GIFfJVWR"			GIF		;
Match	APPLEFILE	"JPEGJVWR"			JPEG		;
Match	APPLEFILE	"ULAWUPLY"			ULAW		;
Match	APPLEFILE	"TEXTmlpr"			POSTSCRIPT	;
Match	APPLEFILE	"MBINMB2P"			MACBINARY	;
Match	APPLEFILE	"TEXTMPGP"			PGP		;
Match	APPLEFILE	"asinCSOm"			APPLESINGLE	;
Match	APPLEFILE	"TEXTttxt"			TEXT		;

#
# Define translation groups: names may be given freely (A-Za-z_-.) followed by a colon (:).
# With each group is associated a set of parameters, name=value, separated by commas(,)
#
group mime_user		: charset=iso-8859-1, format=mime, bin=base64, 
			  appletype=double, henc = qp, textenc=qp ;
group mime_single	: charset=iso-8859-1, format=mime, bin=base64, 
			  appletype=single, henc = qp, textenc=qp ;
group mime8_user	: charset=iso-8859-1, format=mime, bin=base64, 
			  appletype=double, henc = qp, textenc=8bit ;
group sun_user		: charset=iso-8859-1,  format=mailtool, bin=uuencode,
			  appletype=double, textenc=8bit, henc=8bit;
group plain_user	: charset=iso-8859-1, format=rfc822, bin=uuencode,
			  appletype=single, textenc=8bit, henc=8bit ;
group mac_user		: charset=MACINTOSH, format=rfc822, bin=binhex,
			  appletype=binhex, textenc=8bit, henc=8bit ;
#group old_sunet		: charset=SE, format=rfc822, bin=uuencode,
#						textenc=7bit, henc=7bit ;
group transparent	: format=transparent ;

group rfc822_user	: charset=iso-8859-1, format=rfc822, bin=uuencode,
						textenc=8bit, henc=8bit ;
#
# Define which users are connected to the groups above. One definition / line.
# Comparision is made analogous with the '*' file name expansion in shell.
# 
# Fields:
#	 members group_name : <recipient sender recipient_host>,... ;
#
member mime_user	:	mime * * ,
				user1@host1 * host1 ,
				user2@host2 user1@host1 * ,
				* *@host3 * ;
member mime8_user	:	mime8 * * ;
member mime_single	:	mimes * * ;
member plain_user 	:	plain * * ;
member mac_user		:	mac * * ;
# Transparent delivery (no conversion) within local domain.
member transparent	:	transparent * * ,
				*@*local *@*local * ;

member sun_user		:	*@host3 * * ,
				sun * * ;
member old_sunet	: 	* * * ;


#mailer	localaix	: /bin/bellmail, mail, -F, $s, $r ;
#mailer	localbsd44	: /usr/libexec/mail.local, -f, $s, $r ;
mailer  sendmail	: /usr/sbin/sendmail, sendmail, -f, $s, $r ;