File: README

package info (click to toggle)
mailagent 3.73-23
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,104 kB
  • ctags: 984
  • sloc: perl: 14,793; sh: 6,972; ansic: 2,579; makefile: 12
file content (164 lines) | stat: -rw-r--r-- 6,926 bytes parent folder | download | duplicates (3)
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
                           mailagent 3.0

              Copyright (c) 1990-2001, Raphael Manfredi

------------------------------------------------------------------------
    This program is free software; you can redistribute it and/or modify
    it under the terms of the Artistic License, a copy of which can be
    found with this package.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Artistic License for more details.
------------------------------------------------------------------------

Please read all the directions below before you proceed any further, and
then follow them carefully.

After you have unpacked your kit, you should have all the files listed
in MANIFEST.
========================================================================

This is a mailagent program, and it will take care of all your incoming
mail by applying a set of rules and trying to figure out what to do with
it. A message can be saved in a folder, left in the main mailbox, posted
to a newsgroup, forwarded to other people, split if it is a digest,
etc... You may even delete all those mails you do not wish to see, ever.

Filtering rules are specified using lex-style rules, i.e. they have
a set of patterns in the left hand-side (lhs) and a set of actions within
{} braces on the right hand-side (rhs). Pattern on the lhs are applied
in sequence until one match occurs, at which time the rhs is executed.
Normally the first match stops the processing, but that may be changed.

As in lex, the filtering automaton supports the notion of modes, each
rule belonging to a set of modes and being applied only when the current
working mode matches one of the modes associated with the rule.

NOTE
====

You must install a basic rules fle on Debian systems, namely, one that
has minimally somthing like
######################################################################
### final default rule
{ 
        SAVE incoming
};
######################################################################
This is required since Debian MDA policy requires MDA's to be sgid
mail to lock the /var/spool/mail directory, and making mailagent sgid
anything would be a security risk.

If you do not install any filtering rules, then some default hardwired
rules apply. Those simply leave all the messages in your mailbox
(which may cause mail to be garbled on Debian systems), but process
mails whose Subject line is Command (@SH hooks). You may override this
default behavior by writing your own set of rules, and maybe disable
this processing entirely.


I have included in the subdirectory 'examples' a set of files which are
part of my own mail environment, in the hope that they will be useful.
In particular, there is a heavily documented rule file, which is a copy
of the one I am currently using, comments excepted...

(This paragraph only matters if you decide to use the PROCESS command.)
The mailhelp, maillist, mailpatch and maillist programs are *old* and
would need some clean up. They require you to have the kit program
and cshar; those two programs have been posted to comp.sources.unix.
You may want to retrieve them via my mailagent if you can't find them.

Any feedback on this program will be appreciated. However, please make
sure to introduce the word 'mailagent' in the subject of your message,
so that the new rule I am about to add to my ~/.rules may correctly
redirect your message into a high priority folder :-)


There is a mailing list hosted in Japan and set up by Shigeya Suzuki
<shigeya@foretune.co.jp>, for discussion about the mailagent package as
a whole. It's a good place to ask questions (or answer them) and to
send your patches. I will post official patches to the net, as well
as to the agent-users list.

To send a mail to the list, address it to <agent-users@foretune.co.jp>.
To subscribe, send a mail to <majordomo@foretune.co.jp>. If you don't
know how to use majordomo, the syntax of the subscribe command is:

	subscribe agent-users [address]

where the address part is optional. You may unsubscribe automatically
at any time by sending:

	unsubscribe agent-users

If you have a problem with this version of mailagent, it is recommended
that you subscribe to the list, then send a description of your problem to
it. If you send mail to me personally, I may not be able to answer in a
timely fashion.

This mailing list has low traffic (a few articles per week, typically),
and it is expected to remain so, with a high signal/noise ratio.

	Raphael Manfredi <ram@acri.fr>
	Lyon, France, December 1st 1993

	Raphael Manfredi <Raphael_Manfredi@hp.com>
	Grenoble, France, March 21st 1995

	Raphael Manfredi <Raphael_Manfredi@pobox.com>
	Grenoble, France, July 12th 1999

========================================================================

INSTALLATION

1) Run Configure. This will figure out various things about your
system. After it has completed, it will produce config.h and config.sh.

You might possibly have to trim # comments from the front of Configure
if your shell doesn't handle them, but all other comments will be taken
care of.

2) Run make.

3) If make succeeded, you may wish to do "make install install.man". Be
sure your rights are correct (if you install manual pages, you may need
super-user privileges). By not running "make install.man", you avoid the
installation of the manual pages.

4) Read the manual entry and the FAQ before running.

5) IMPORTANT!  Communicate any problem and suggested patches to me,
Raphael_Manfredi@pobox.com (Raphael Manfredi), so we can keep this
distribution in sync.  If you have a problem, there will be someone else
who had it or will have it too...

If possible, send me patches such that the patch program will apply
them.  Context diffs are the best, then normal diffs.  Do not send ed
scripts, I have probably changed my copy since the version you got.

6) After everything is installed, you can do make clobber. This will
clean up everything and let you re-distribute this kit, without
carrying useless files. You should keep this distribution intact, so
that future patches will be applyable.

7) I have an automatic patch sender. Send me the following mail:

	Subject: Command
	@SH mailhelp PATH

and you'll get instructions (PATH stands for YOUR e-mail address, either
in INTERNET or in bang notation). I would recommend you to get all the
issued patches before you start making some modifications on this
package.

8) If you wish to de-install the package, you may run "make deinstall".
A separate "make deinstall.man" will remove the manual pages. Be sure
the makefiles are correctly set before running any deinstall target.
On USG systems, some executable have a chance to remain despite the
deinstall (text file busy...).

	Raphael Manfredi <Raphael_Manfredi@pobox.com>