author | John Beck <John.Beck@Oracle.COM> |
Mon, 24 Mar 2014 17:43:42 -0700 | |
changeset 1788 | 7948c9c48347 |
parent 1069 | 415af38929a1 |
permissions | -rw-r--r-- |
1068
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
--- procmail-3.22.orig/examples/advanced |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
+++ procmail-3.22/examples/advanced |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
@@ -251,14 +251,14 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
-------------------------------------------------------- |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
There are many different reasons why more and more sites decide not to |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
-store mail in /usr/spool/mail or /usr/mail anymore. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
+store mail in /var/spool/mail or /var/mail anymore. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
Some of the obvious advantages when storing mail in the recipient's home |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
directory are: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
- Mail is automatically subject to the user's quota limitations. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
- Often there is more room on the home partition(s) than on that |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
- one /usr/mail partition. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
+ one /var/mail partition. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
-The quota limitations also apply to /usr/spool/mail or /usr/mail if procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
+The quota limitations also apply to /var/spool/mail or /var/mail if procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
does the delivery. These quota limitations often do not work with the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
regular /bin/mail since that usually writes the mailbox with root permissions |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
(eluding the quota restrictions). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
@@ -276,7 +276,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
defined SYSTEM_MBOX to be. Some braindamaged mail programs |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
do not pick up the MAIL environment variable, these either |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
have to be patched/recompiled or you have to create symbolic |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
- links in /usr/mail to every person's new mailbox. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
+ links in /var/mail to every person's new mailbox. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
--- |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
--- procmail-3.22.orig/man/procmail.man |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
+++ procmail-3.22/man/procmail.man |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
@@ -166,7 +166,8 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
accept an unlimited number of arguments.@ETCRCS_desc@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
For some advanced usage of this option you should look in the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
.B EXAMPLES |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
-section below.@[email protected] ARGUMENTS |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
37 |
+section below.@LMTPOPTdesc@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
+.SH ARGUMENTS |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
Any arguments containing an '=' are considered to be environment variable |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
assignments, they will |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
.I all |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
@@ -723,6 +724,15 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
.fi |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
.ad |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
.PP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
+Some mailers (notably exim) do not currently accept the above syntax. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
+In such case use this instead: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
+.PP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
+.na |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
+.nf |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
+|/usr/bin/procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
+.fi |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
+.ad |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
+.PP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
Procmail can also be invoked to postprocess an already filled system |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
mailbox. This can be useful if you don't want to or can't use a |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
$HOME/@DOT_FORWARD@ file (in which case the following script could |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
@@ -754,7 +764,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
.SS "A sample small @PROCMAILRC@:" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
60 |
.na |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
61 |
.nf |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
62 |
-PATH=/bin:/usr/bin:@BINDIR@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
63 |
+PATH=/usr/local/bin:/usr/bin:/bin |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
64 |
MAILDIR=$HOME/Mail #you'd better make sure it exists |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
65 |
DEFAULT=$MAILDIR/mbox #completely optional |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
66 |
LOGFILE=$MAILDIR/from #recommended |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
67 |
--- procmail-3.22.orig/man/procmailrc.man |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
68 |
+++ procmail-3.22/man/procmailrc.man |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
69 |
@@ -779,7 +779,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
70 |
.PP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
71 |
Some non-optimal and non-obvious regexps set MATCH to an incorrect |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
72 |
value. The regexp can be made to work by removing one or more unneeded |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
73 |
-'*', '+', or '?' operator on the left-hand side of the \e/ token. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
74 |
+\&'*', '+', or '?' operator on the left-hand side of the \e/ token. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
75 |
.SH MISCELLANEOUS |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
76 |
If the regular expression contains `\fB@TO_key@\fP' it will be substituted by |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
77 |
.na |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
78 |
--- procmail-3.22.orig/src/comsat.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
79 |
+++ procmail-3.22/src/comsat.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
80 |
@@ -92,7 +92,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
81 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
82 |
if(newvalid) /* so far, so good */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
83 |
{ int s; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
84 |
- if(!*chp) /* no service */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
85 |
+ if(!chad||!*chp) /* no service */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
86 |
chp=BIFF_serviceport; /* new balls please! */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
87 |
s=strtol(chp,&chad,10); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
88 |
if(chp!=chad) /* the service is not numeric */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
89 |
@@ -120,7 +120,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
90 |
{ int s;const char*p; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
91 |
if(!csvalid||!buf) /* is comat on and set to a valid address? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
92 |
return; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
93 |
- if(!*cslgname||strlen(cslgname)+2>linebuf) /* is $LOGNAME bogus? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
94 |
+ if(!cslgname||!*cslgname||strlen(cslgname)+2>linebuf)/* is $LOGNAME bogus? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
95 |
return; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
96 |
if(!(p=folder?folder:cslastf)) /* do we have a folder? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
97 |
return; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
98 |
--- procmail-3.22.orig/src/formail.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
99 |
+++ procmail-3.22/src/formail.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
100 |
@@ -758,9 +758,9 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
101 |
lputssn(buf,buffilled),ctlength-=buffilled,buffilled=lnl=0; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
102 |
;{ int tbl=buflast,lwr='\n'; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
103 |
while(--ctlength>=0&&tbl!=EOF) /* skip Content-Length: bytes */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
104 |
- lnl=lwr==tbl&&lwr=='\n',putcs(lwr=tbl),tbl=getchar(); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
105 |
+ lnl=lwr==tbl&&lwr=='\n',lputcs(lwr=tbl),tbl=getchar(); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
106 |
if((buflast=tbl)=='\n'&&lwr!=tbl) /* just before a line break? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
107 |
- putcs('\n'),buflast=getchar(); /* wrap up loose end */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
108 |
+ lputcs('\n'),buflast=getchar(); /* wrap up loose end */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
109 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
110 |
if(!quiet&&ctlength>0) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
111 |
{ charNUM(num,ctlength); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
112 |
--- procmail-3.22.orig/src/memblk.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
113 |
+++ procmail-3.22/src/memblk.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
114 |
@@ -51,11 +51,11 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
115 |
{ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
116 |
#ifdef USE_MMAP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
117 |
if(mb->fd>=0) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
118 |
- { long len=mb->len+1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
119 |
- if(munmap(mb->p,len)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
120 |
- mmapfailed(len); /* don't want to continue here */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
121 |
- if((mb->p=mmap(0,len,PROT_READ,MAP_PRIVATE,mb->fd,(off_t)0))==MAP_FAILED) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
122 |
- mmapfailed(len); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
123 |
+ { long mlen=mb->len+1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
124 |
+ if(munmap(mb->p,mlen)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
125 |
+ mmapfailed(mlen); /* don't want to continue here */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
126 |
+ if((mb->p=mmap(0,mlen,PROT_READ,MAP_PRIVATE,mb->fd,(off_t)0))==MAP_FAILED) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
127 |
+ mmapfailed(mlen); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
128 |
close(mb->fd); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
129 |
mb->fd=ropen(devnull,O_RDWR,0); /* XXX Perhaps -1 is better? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
130 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
131 |
@@ -77,8 +77,8 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
132 |
strcpy(filename,MMAP_DIR); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
133 |
if(unique(filename,strchr(filename,'\0'),MMAP_FILE_LEN,MMAP_PERM,0,0)&& |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
134 |
(mb->fd=ropen(filename,O_RDWR,MMAP_PERM),unlink(filename),mb->fd>=0)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
135 |
- { mb->filelen=len; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
136 |
- if(lseek(mb->fd,mb->filelen-1,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
137 |
+ { mb->filelen=len+1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
138 |
+ if(lseek(mb->fd,len,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
139 |
dropf: { close(mb->fd);mb->fd= -1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
140 |
if(verbose)nlog("Unable to extend or use tempfile"); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
141 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
142 |
@@ -98,9 +98,9 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
143 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
144 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
145 |
if(mb->fd>=0) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
146 |
- { if(len>mb->filelen) /* need to extend? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
147 |
- { mb->filelen=len; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
148 |
- if(lseek(mb->fd,mb->filelen-1,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
149 |
+ { if(len>=mb->filelen) /* need to extend? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
150 |
+ { mb->filelen=len+1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
151 |
+ if(lseek(mb->fd,len,SEEK_SET)<0||1!=rwrite(mb->fd,empty,1)) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
152 |
{ char*p=malloc(len+1); /* can't extend, switch to malloc */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
153 |
tmemmove(p,mb->p,mb->len); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
154 |
munmap(mb->p,mb->len+1); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
155 |
@@ -124,9 +124,9 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
156 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
157 |
else |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
158 |
mb->p=realloc(mb->p,len+1); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
159 |
- mb->len=len+1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
160 |
- mb->p[len]='\0'; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
161 |
+ mb->len=len; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
162 |
ret1: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
163 |
+ mb->p[len]='\0'; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
164 |
return 1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
165 |
} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
166 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
167 |
--- procmail-3.22.orig/src/autoconf |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
168 |
+++ procmail-3.22/src/autoconf |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
169 |
@@ -1470,15 +1470,14 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
170 |
grep 'Mlocal.*procmail' >$DEVNULL || |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
171 |
echo '#define CF_no_procmail_yet' >>$ACONF |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
172 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
173 |
-cat /usr/lib/sendmail.cf /etc/sendmail.cf /etc/mail/sendmail.cf 2>$DEVNULL | |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
174 |
- grep '^V' >$DEVNULL || |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
175 |
- echo '#define buggy_SENDMAIL' >>$ACONF |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
176 |
+# cat /usr/lib/sendmail.cf /etc/sendmail.cf /etc/mail/sendmail.cf 2>$DEVNULL | |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
177 |
+# grep '^V' >$DEVNULL || |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
178 |
+# echo '#define buggy_SENDMAIL' >>$ACONF |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
179 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
180 |
lpath='/bin' |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
181 |
bins="/bin" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
182 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
183 |
-for newd in /usr/bin /usr/ucb /usr/5bin $BINDIR /local/bin /usr/local/bin \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
184 |
- /global/bin /usr/bin/X11 /usr/X*/bin |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
185 |
+for newd in /usr/bin $BINDIR /usr/bin/X11 /usr/X*/bin |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
186 |
do |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
187 |
if test -d $newd |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
188 |
then |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
189 |
--- procmail-3.22.orig/src/procmail.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
190 |
+++ procmail-3.22/src/procmail.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
191 |
@@ -652,8 +652,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
192 |
nrcond= -1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
193 |
if(tolock) /* clear temporary buffer for lockfile name */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
194 |
free(tolock); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
195 |
- for(i=maxindex(flags);i;i--) /* clear the flags */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
196 |
- flags[i]=0; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
197 |
+ bbzero(flags,sizeof(flags)); /* clear the flags */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
198 |
for(tolock=0,locknext=0;;) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
199 |
{ chp=skpspace(chp); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
200 |
switch(i= *chp++) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
201 |
--- procmail-3.22.orig/src/pipes.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
202 |
+++ procmail-3.22/src/pipes.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
203 |
@@ -145,7 +145,9 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
204 |
if(Stdout) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
205 |
{ *(eq=strchr(Stdout,'\0')-1)='\0'; /* chop the '=' */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
206 |
if(!(backblock=getenv(Stdout))) /* no current value? */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
207 |
- PRDB=PWRB= -1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
208 |
+ { PRDB=PWRB= -1; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
209 |
+ backlen=0; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
210 |
+ } |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
211 |
else |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
212 |
{ backlen=strlen(backblock); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
213 |
goto pip; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
214 |
@@ -155,9 +157,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
215 |
pip: rpipe(pbackfd); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
216 |
rpipe(pinfd); /* main pipes setup */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
217 |
if(!(pidchild=sfork())) /* create a sending procmail */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
218 |
- { if(Stdout&&backblock) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
219 |
- backlen=strlen(backblock); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
220 |
- else |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
221 |
+ { if(!Stdout) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
222 |
backblock=source,backlen=len; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
223 |
childsetup();rclose(PRDI);rclose(PRDB); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
224 |
rpipe(poutfd);rclose(STDOUT); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
225 |
@@ -194,7 +194,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
226 |
makeblock(&temp,Stdfilled); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
227 |
tmemmove(temp.p,Stdout,Stdfilled); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
228 |
readdyn(&temp,&Stdfilled,Stdfilled+backlen+1); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
229 |
- Stdout=realloc(Stdout,&Stdfilled+1); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
230 |
+ Stdout=realloc(Stdout,Stdfilled+1); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
231 |
tmemmove(Stdout,temp.p,Stdfilled+1); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
232 |
freeblock(&temp); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
233 |
retStdout(Stdout,pwait&&pipw,!backblock); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
234 |
--- procmail-3.22.orig/src/memblk.h |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
235 |
+++ procmail-3.22/src/memblk.h |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
236 |
@@ -1,6 +1,6 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
237 |
typedef struct memblk { |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
238 |
char*p; /* where it starts */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
239 |
- long len; /* currently allocated size */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
240 |
+ long len; /* current size, not including trailing NUL */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
241 |
#ifdef USE_MMAP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
242 |
off_t filelen; /* how long is the file */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
243 |
int fd; /* file which is mmap()ed */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
244 |
--- procmail-3.22.orig/src/manconf.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
245 |
+++ procmail-3.22/src/manconf.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
246 |
@@ -233,7 +233,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
247 |
\2-@PRESERVOPT@\1and\1.BR \2-@FROMWHOPT@ .\1"); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
248 |
pc("LMTPOPT",LMTPOPT); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
249 |
#else |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
250 |
- ps("LMTPOPTdesc","");ps("LMTPusage",""); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
251 |
+ ps("LMTPOPTdesc","");ps("LMTPusage","\1"); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
252 |
#endif |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
253 |
pname("INIT_UMASK",0);printf("0%lo/g\n",(unsigned long)INIT_UMASK);lines--; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
254 |
pn("DEFlinebuf",DEFlinebuf); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
255 |
--- procmail-3.22.orig/src/recommend.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
256 |
+++ procmail-3.22/src/recommend.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
257 |
@@ -47,7 +47,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
258 |
printf("chmod %lo %s\n",(unsigned long)(sgid|PERMIS),argv[2]); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
259 |
else if(chmdir==1) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
260 |
goto nogchmod; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
261 |
- if(chmdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
262 |
+ if(0) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
263 |
printf("chmod %c+w %s/.\n",chmdir==1?'g':'a',mailspooldir); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
264 |
nogchmod: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
265 |
return EXIT_SUCCESS; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
266 |
--- procmail-3.22.orig/src/foldinfo.h |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
267 |
+++ procmail-3.22/src/foldinfo.h |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
268 |
@@ -10,7 +10,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
269 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
270 |
#define ft_lock(type) ((type)>ft_MAILDIR) /* kernel lock fd */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
271 |
#define ft_atime(type) ((type)==ft_FILE) /* force atime < mtime */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
272 |
-#define ft_dotlock(type) ((type)==ft_FILE) /* dotlock $DEFAULT */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
273 |
+#define ft_dotlock(type) ((type)>ft_MAILDIR) /* dotlock $DEFAULT */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
274 |
#define ft_delim(type) ((type)==ft_FILE) /* add MMDF delim */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
275 |
#define ft_checkcloser(type) ((type)>ft_MH) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
276 |
#define ft_forceblank(type) ((type)!=ft_MAILDIR) /* force blank line at end */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
277 |
--- procmail-3.22.orig/src/mailfold.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
278 |
+++ procmail-3.22/src/mailfold.c |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
279 |
@@ -378,7 +378,8 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
280 |
dfilled=mailread=0; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
281 |
else if(rhead) /* only read in a new header */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
282 |
{ memblk new; |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
283 |
- dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
284 |
+ dfilled=mailread=0;makeblock(&new,0); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
285 |
+ readdyn(&new,&dfilled,thebody-themail.p); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
286 |
if(tobesent>dfilled&&isprivate) /* put it in place here */ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
287 |
{ tmemmove(themail.p+dfilled,thebody,filled-=tobesent); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
288 |
tmemmove(themail.p,new.p,dfilled); |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
289 |
--- procmail-3.22.orig/FAQ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
290 |
+++ procmail-3.22/FAQ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
291 |
@@ -57,8 +57,8 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
292 |
Forward to |/usr/bin/procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
293 |
or if that doesn't work, try: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
294 |
Pipe to /usr/bin/procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
295 |
- as the only line in your mail spool file (e.g. /usr/mail/$LOGNAME), as |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
296 |
- well as doing a "chmod 06660 /usr/mail/$LOGNAME". For more information |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
297 |
+ as the only line in your mail spool file (e.g. /var/mail/$LOGNAME), as |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
298 |
+ well as doing a "chmod 06660 /var/mail/$LOGNAME". For more information |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
299 |
on such systems, do a "man mail". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
300 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
301 |
If all of this doesn't work, procmail can be called on a periodical |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
302 |
@@ -210,14 +210,14 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
303 |
procmail with both the fcntl() and lockf() locking method |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
304 |
disabled (see config.h). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
305 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
306 |
-17. I sometimes get these `Lock failure on "/usr/mail/$LOGNAME.lock"' errors |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
307 |
+17. I sometimes get these `Lock failure on "/var/mail/$LOGNAME.lock"' errors |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
308 |
from procmail. What do I do about it? |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
309 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
310 |
The problem here is that as long as procmail has not read a |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
311 |
$HOME/.procmailrc file, it can hang on to the sgid mail permission |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
312 |
- (which it needs in order to create a lockfile in /usr/mail). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
313 |
+ (which it needs in order to create a lockfile in /var/mail). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
314 |
I.e. if procmail delivers mail to a user without a $HOME/.procmailrc |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
315 |
- file, procmail *can* (and does) use the /usr/mail/$LOGNAME.lock file. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
316 |
+ file, procmail *can* (and does) use the /var/mail/$LOGNAME.lock file. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
317 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
318 |
If, however, it finds a $HOME/.procmailrc file, procmail has to let go |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
319 |
of the sgid mail permission because otherwise any ordinary user could |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
320 |
@@ -226,7 +226,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
321 |
There are several solutions to this problem: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
322 |
- Some systems support the sticky bit on directories (when set only |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
323 |
allows the owner of a file in that directory to rename or remove |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
324 |
- it). This enables you to make /usr/spool/mail drwxrwxrwt. It is |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
325 |
+ it). This enables you to make /var/mail drwxrwxrwt. It is |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
326 |
thus effectively world writable, but all the mailboxes in it are |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
327 |
protected because only the mailbox owner can remove or rename it. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
328 |
- If your system did not exhibit the !@#$%^&* POSIX semantics for |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
329 |
@@ -245,9 +245,9 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
330 |
:0 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
331 |
$DEFAULT |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
332 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
333 |
- - You could, instead of using /usr/mail/$LOGNAME, use a file below |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
334 |
+ - You could, instead of using /var/mail/$LOGNAME, use a file below |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
335 |
your home directory as your default mailbox. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
336 |
- - Or, you could still use /usr/mail/$LOGNAME as the mailbox, but |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
337 |
+ - Or, you could still use /var/mail/$LOGNAME as the mailbox, but |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
338 |
simply instruct procmail to use a different lockfile. This can |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
339 |
be achieved by putting following recipe at the bottom of |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
340 |
your .procmailrc file: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
341 |
--- procmail-3.22.orig/Makefile |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
342 |
+++ procmail-3.22/Makefile |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
343 |
@@ -79,7 +79,7 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
344 |
# -lresolv # not really needed, is it? |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
345 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
346 |
# Informal list of directories where we look for the libraries in SEARCHLIBS |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
347 |
-LIBPATHS=/lib /usr/lib /usr/local/lib |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
348 |
+LIBPATHS=/lib /usr/lib |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
349 |
|
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
350 |
GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
351 |
-Wpointer-arith -Wconversion -Waggregate-return \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
352 |
--- procmail-3.22.orig/debian/changelog |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
353 |
+++ procmail-3.22/debian/changelog |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
354 |
@@ -0,0 +1,294 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
355 |
+procmail (3.22-8) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
356 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
357 |
+ * Fixed strange formail -l behaviour when there is a Content-Length: header. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
358 |
+ Thanks a lot to Henning Makholm for the patch (Closes: #217853). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
359 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
360 |
+ -- Santiago Vila <[email protected]> Mon, 3 Nov 2003 20:01:24 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
361 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
362 |
+procmail (3.22-7) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
363 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
364 |
+ * Fixed bad nroff syntax in procmailrc(5), closes: #147173. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
365 |
+ * Added missing newline in procmail(1), closes: #180477. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
366 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
367 |
+ -- Santiago Vila <[email protected]> Mon, 10 Mar 2003 00:09:20 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
368 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
369 |
+procmail (3.22-6) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
370 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
371 |
+ * Standards-Version: 3.5.8. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
372 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
373 |
+ -- Santiago Vila <[email protected]> Thu, 26 Dec 2002 18:27:08 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
374 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
375 |
+procmail (3.22-5) stable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
376 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
377 |
+ * Patched pipes.c to fix a memory allocation bug (Closes: #171514). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
378 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
379 |
+ -- Santiago Vila <[email protected]> Thu, 26 Dec 2002 18:09:38 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
380 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
381 |
+procmail (3.22-4) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
382 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
383 |
+ * Fixed a typo in procmail(1). Patch by the author (Closes: #142983). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
384 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
385 |
+ -- Santiago Vila <[email protected]> Tue, 16 Apr 2002 19:16:20 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
386 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
387 |
+procmail (3.22-3) unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
388 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
389 |
+ * Fixed off-by-one bug in procmail.c which made the raw flag not to be |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
390 |
+ cleared properly. Thanks to Gregory Stark (Closes: #134341). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
391 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
392 |
+ -- Santiago Vila <[email protected]> Sun, 17 Feb 2002 16:43:02 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
393 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
394 |
+procmail (3.22-2) unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
395 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
396 |
+ * Modified mailfold.c to fix a segfault problem. Patch by the author. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
397 |
+ * The system-wide mail directory is /var/mail as per policy. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
398 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
399 |
+ -- Santiago Vila <[email protected]> Thu, 29 Nov 2001 09:39:04 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
400 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
401 |
+procmail (3.22-1) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
402 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
403 |
+ * New upstream release, which uses the `standard' format for Maildir |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
404 |
+ filenames and retries on name collision. It also contains some |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
405 |
+ bug fixes from the 3.23pre snapshot dated 2001-09-13. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
406 |
+ * Removed `sendmail' from the Recommends field, since we already |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
407 |
+ have `exim' (the default Debian MTA) and `mail-transport-agent'. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
408 |
+ * Removed suidmanager support. Conflicts: suidmanager (<< 0.50). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
409 |
+ * Added support for DEB_BUILD_OPTIONS in the source package. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
410 |
+ * README.Maildir: Do not use locking on the example recipe, |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
411 |
+ since it's wrong to do so in this case. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
412 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
413 |
+ -- Santiago Vila <[email protected]> Wed, 21 Nov 2001 09:40:20 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
414 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
415 |
+procmail (3.15.2-1) stable; urgency=high |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
416 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
417 |
+ * New upstream release, with improved security and robustness involving |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
418 |
+ signal handlers. Author recommends upgrading to this version on |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
419 |
+ any system where it is installed setuid or setgid. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
420 |
+ * This release fixes also Bug #108417: procmail -p -m resets PATH. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
421 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
422 |
+ -- Santiago Vila <[email protected]> Thu, 30 Aug 2001 20:05:06 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
423 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
424 |
+procmail (3.15.1-4) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
425 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
426 |
+ * Don't add an extra newline when delivering to a Maildir folder. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
427 |
+ Please note that the MTA may still add a newline on their own. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
428 |
+ Exim users should check the `suffix' variable, for example. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
429 |
+ Patch by the author. Closes: #78623. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
430 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
431 |
+ -- Santiago Vila <[email protected]> Sat, 14 Apr 2001 17:18:29 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
432 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
433 |
+procmail (3.15.1-3) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
434 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
435 |
+ * Clarified formail -X behaviour, patch by the author (Closes: #77388). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
436 |
+ * Updated QuickStart. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
437 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
438 |
+ -- Santiago Vila <[email protected]> Sun, 25 Mar 2001 10:45:56 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
439 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
440 |
+procmail (3.15.1-2) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
441 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
442 |
+ * Fixed lockfile -l endless loop (Closes: #82006). Patch by the author. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
443 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
444 |
+ -- Santiago Vila <[email protected]> Sun, 28 Jan 2001 19:44:49 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
445 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
446 |
+procmail (3.15.1-1) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
447 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
448 |
+ * New upstream release. A race to create the mailspool would bounce one of |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
449 |
+ the messages due to an internal error. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
450 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
451 |
+ -- Santiago Vila <[email protected]> Mon, 8 Jan 2001 20:09:34 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
452 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
453 |
+procmail (3.15-3) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
454 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
455 |
+ * Fixed formatting error in procmailrc(5). Patch by the author. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
456 |
+ (Closes: #80437). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
457 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
458 |
+ -- Santiago Vila <[email protected]> Sun, 31 Dec 2000 17:20:47 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
459 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
460 |
+procmail (3.15-2) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
461 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
462 |
+ * formail -l is now documented. Patch by the author (Closes: #72275). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
463 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
464 |
+ -- Santiago Vila <[email protected]> Fri, 1 Dec 2000 19:54:22 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
465 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
466 |
+procmail (3.15-1) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
467 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
468 |
+ * New upstream release. Maildir support is now built-in. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
469 |
+ * Really change default PATH to "$HOME/bin:/usr/local/bin:/usr/bin:/bin". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
470 |
+ * Modified the note in QuickStart about refiltering an old mail folder. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
471 |
+ * Use SEARCHLIBS="" in debian/rules clean target to speed it up. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
472 |
+ * Modified ft_dotlock in src/foldinfo.h to be in compliance with |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
473 |
+ locking policy, following a hint by the author. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
474 |
+ * Removed (versioned) dependency on debianutils, since mailstat |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
475 |
+ does not use temporary files anymore. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
476 |
+ * Made the .forward example in procmail(1) not to depend on the build |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
477 |
+ environment by modifying src/autoconf so that buggy_SENDMAIL is |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
478 |
+ never defined. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
479 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
480 |
+ -- Santiago Vila <[email protected]> Mon, 28 Aug 2000 12:51:05 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
481 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
482 |
+procmail (3.13.1-4) stable; urgency=high |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
483 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
484 |
+ * Fixed weird formail -rk behavior (patch from the author, backported |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
485 |
+ from procmail-3.15). Thanks to Ben Collins for the report. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
486 |
+ * s/smail/exim/ in `Recommends:' field. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
487 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
488 |
+ -- Santiago Vila <[email protected]> Tue, 22 Aug 2000 13:04:50 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
489 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
490 |
+procmail (3.13.1-3) unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
491 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
492 |
+ * Standards-Version: 3.1.1 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
493 |
+ * Updated location of licenses in copyright file. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
494 |
+ * LOCKINGTEST=100 again, to use fcntl() and dot-locking, as required by |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
495 |
+ latest policy. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
496 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
497 |
+ -- Santiago Vila <[email protected]> Wed, 1 Dec 1999 12:37:35 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
498 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
499 |
+procmail (3.13.1-2) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
500 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
501 |
+ * Modified procmail(1) and QuickStart to reflect the fact that exim does |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
502 |
+ not accept the exec keyword in .forward files (Bugs #33460 and #37771). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
503 |
+ * Modified formail to recognize exim's Envelope-To: header (Bug#40718). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
504 |
+ Patch by Philip Guenther. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
505 |
+ * Standards-Version: 3.0.0. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
506 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
507 |
+ -- Santiago Vila <[email protected]> Mon, 19 Jul 1999 20:09:25 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
508 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
509 |
+procmail (3.13.1-1) stable unstable; urgency=high |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
510 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
511 |
+ * New upstream release, 3.13 missed a couple possible overflows. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
512 |
+ * Applied `procmail-locking.patch' from Bruce Guenter, since |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
513 |
+ no directory delivery mechanism requires locking (Bug #35210). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
514 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
515 |
+ -- Santiago Vila <[email protected]> Thu, 8 Apr 1999 13:56:33 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
516 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
517 |
+procmail (3.13-1) stable unstable; urgency=high |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
518 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
519 |
+ * New upstream release. procmail 3.12 breaks smartlist (Bug #35115). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
520 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
521 |
+ -- Santiago Vila <[email protected]> Fri, 2 Apr 1999 14:24:24 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
522 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
523 |
+procmail (3.12-1) frozen unstable; urgency=high |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
524 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
525 |
+ * New upstream release. Fixes some security bugs. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
526 |
+ * #define GROUP_PER_USER in config.h to allow writeable rcfiles when |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
527 |
+ the group is the user's default group. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
528 |
+ * Added KNOWN_BUGS to the doc directory. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
529 |
+ * suid procmail to avoid non-suidness window when upgrading. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
530 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
531 |
+ -- Santiago Vila <[email protected]> Thu, 4 Mar 1999 10:28:28 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
532 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
533 |
+procmail (3.10.7-7) frozen unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
534 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
535 |
+ * New Maildir patches from Bruce Guenter. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
536 |
+ Should fix Bug #30320: procmail: maildir does not use From_ lines. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
537 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
538 |
+ -- Santiago Vila <[email protected]> Thu, 31 Dec 1998 13:27:20 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
539 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
540 |
+procmail (3.10.7-6) frozen unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
541 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
542 |
+ * Patched mailfold.c to avoid the unnecessary one second wait when |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
543 |
+ delivering to MH folders (patch by the author). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
544 |
+ * src/locking.c: Applied a bugfix patch from the author. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
545 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
546 |
+ -- Santiago Vila <[email protected]> Wed, 13 May 1998 21:50:19 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
547 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
548 |
+procmail (3.10.7-5) frozen unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
549 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
550 |
+ * Added a patch for Maildir support. The "new" procmail should be |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
551 |
+ completely backwards compatible with the "previous" one, in the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
552 |
+ sense that its behaviour should be just the same for already |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
553 |
+ existing .procmailrc files which do not use the new syntax for |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
554 |
+ Maildir folders. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
555 |
+ * Added a small README.Maildir explaining how to use this feature. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
556 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
557 |
+ -- Santiago Vila <[email protected]> Mon, 4 May 1998 19:39:55 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
558 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
559 |
+procmail (3.10.7-4) frozen unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
560 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
561 |
+ * Added a small note in QuickStart about refiltering an old mail folder. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
562 |
+ * mailstat(1): The log file is truncated to zero length (Bug #21022). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
563 |
+ * PATH=/usr/local/bin:/usr/bin:/bin for the example in procmail(1). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
564 |
+ * Standards-Version: 2.4.1. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
565 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
566 |
+ -- Santiago Vila <[email protected]> Fri, 17 Apr 1998 18:00:14 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
567 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
568 |
+procmail (3.10.7-3) frozen unstable; urgency=medium |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
569 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
570 |
+ * Patched src/recommend.c so that the mail spool directory is not |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
571 |
+ touched. This will allow the package to be built using fakeroot. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
572 |
+ * Patched mailstat so that it uses tempfile. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
573 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
574 |
+ -- Santiago Vila <[email protected]> Tue, 24 Mar 1998 21:43:08 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
575 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
576 |
+procmail (3.10.7-2) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
577 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
578 |
+ * Default PATH is now "$HOME/bin:/usr/local/bin:/usr/bin:/bin". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
579 |
+ * Added "fetchmail" to the Recommends: line as one more option. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
580 |
+ * Added /usr/doc/procmail/QuickStart (experimental). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
581 |
+ * Compressed changelog.Debian. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
582 |
+ * Removed debstd dependency. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
583 |
+ * Pristine source. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
584 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
585 |
+ -- Santiago Vila <[email protected]> Sat, 31 Jan 1998 20:30:06 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
586 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
587 |
+procmail (3.10.7-1) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
588 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
589 |
+ * Upgraded to 3.11pre7. Sources are now GPLed, hurrah! |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
590 |
+ * Added explicit SEARCHLIBS, to avoid unneeded dependency on libdl. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
591 |
+ * First libc6 release. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
592 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
593 |
+ -- Santiago Vila <[email protected]> Wed, 18 Jun 1997 20:43:28 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
594 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
595 |
+procmail (3.10.4-2) frozen unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
596 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
597 |
+ * Rebuilt using latest debmake to avoid a problem with suidmanager. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
598 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
599 |
+ -- Santiago Vila <[email protected]> Sat, 17 May 1997 20:52:59 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
600 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
601 |
+procmail (3.10.4-1) frozen unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
602 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
603 |
+ * Upgraded to 3.11pre4. Side effect: It can be built using libc6. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
604 |
+ * Removed NFS_ATIME_HACK patch, since it is no longer needed. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
605 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
606 |
+ -- Santiago Vila <[email protected]> Sat, 12 Apr 1997 19:06:46 +0200 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
607 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
608 |
+procmail (3.10-8) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
609 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
610 |
+ * Rewritten copyright file. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
611 |
+ * initmake unmodified (source). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
612 |
+ * Patched to recognize NFS_ATIME_HACK variable in .procmailrc or |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
613 |
+ /etc/procmailrc. Default value is "yes" (i.e. wait a second). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
614 |
+ * Added a small note about this in /usr/doc/procmail/README.Debian. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
615 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
616 |
+ -- Santiago Vila <[email protected]> Sun, 23 Mar 1997 12:04:34 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
617 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
618 |
+procmail (3.10-7) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
619 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
620 |
+ * Put CFLAGS settings &c in ./Makefile, not in debian/rules. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
621 |
+ * Removed fix-substvars script, since it's no longer needed with |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
622 |
+ new libc5-5.4.20. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
623 |
+ * Man page for mailstat changed slightly. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
624 |
+ * Some minor debian/rules changes. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
625 |
+ * Added MD5 sums. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
626 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
627 |
+ -- Santiago Vila <[email protected]> Fri, 21 Feb 1997 20:53:30 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
628 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
629 |
+procmail (3.10-6) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
630 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
631 |
+ * Use debmake. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
632 |
+ * suidmanager support. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
633 |
+ * Removed `mailstat' from examples, it's already in /usr/bin. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
634 |
+ * Removed also `dirname' (which was "for the deprived"). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
635 |
+ * Added `fix-substvars' script to depend on libc5 >= 5.4.0. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
636 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
637 |
+ -- Santiago Vila <[email protected]> Mon, 23 Dec 1996 16:34:02 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
638 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
639 |
+procmail (3.10-5) unstable; urgency=low |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
640 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
641 |
+ * Updated to Standards-Version 2.1.2.2. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
642 |
+ * Changed "Depends: MTA" to "Recommends: MTA". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
643 |
+ * Added extended package description in control file. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
644 |
+ * Added the symlink changelog.gz -> HISTORY.gz. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
645 |
+ * Added an "experimental" man page for mailstat. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
646 |
+ * New maintainer. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
647 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
648 |
+ -- Santiago Vila <[email protected]> Sat, 21 Dec 1996 23:32:11 +0100 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
649 |
--- procmail-3.22.orig/debian/control |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
650 |
+++ procmail-3.22/debian/control |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
651 |
@@ -0,0 +1,18 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
652 |
+Source: procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
653 |
+Section: mail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
654 |
+Priority: standard |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
655 |
+Maintainer: Santiago Vila <[email protected]> |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
656 |
+Standards-Version: 3.6.1 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
657 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
658 |
+Package: procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
659 |
+Architecture: any |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
660 |
+Depends: ${shlibs:Depends} |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
661 |
+Conflicts: suidmanager (<< 0.50) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
662 |
+Recommends: exim | mail-transport-agent | fetchmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
663 |
+Description: Versatile e-mail processor |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
664 |
+ Can be used to create mail-servers, mailing lists, sort your incoming |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
665 |
+ mail into separate folders/files (real convenient when subscribing to one |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
666 |
+ or more mailing lists or for prioritising your mail), preprocess your |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
667 |
+ mail, start any programs upon mail arrival (e.g. to generate different |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
668 |
+ chimes on your workstation for different types of mail) or selectively |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
669 |
+ forward certain incoming mail automatically to someone. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
670 |
--- procmail-3.22.orig/debian/copyright |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
671 |
+++ procmail-3.22/debian/copyright |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
672 |
@@ -0,0 +1,41 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
673 |
+This is the Debian prepackaged version of the "procmail" mail-processing |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
674 |
+program written by Stephen van den Berg. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
675 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
676 |
+This package is currently maintained by Santiago Vila <[email protected]>. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
677 |
+The source for this release was downloaded from: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
678 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
679 |
+ftp://ftp.procmail.org/pub/procmail/procmail-3.22.tar.gz |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
680 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
681 |
+This package was first put together by Bruce Perens <[email protected]>, |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
682 |
+who added Debian package maintenance system files, and edited config.h |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
683 |
+to configure for Debian. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
684 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
685 |
+Copyright: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
686 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
687 |
+Procmail & formail mail processing package. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
688 |
+Copyright (c) 1990-1999, S.R. van den Berg, The Netherlands. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
689 |
+Copyright (c) 1999-2001, Philip Guenther, The United States of America |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
690 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
691 |
+This package is open source software; you can redistribute it and/or |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
692 |
+modify it under the terms of either: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
693 |
+- the GNU General Public License as published by the Free Software Foundation |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
694 |
+ and can be found in the included file called "COPYING"; either version 2, |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
695 |
+ or (at your option) any later version, or |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
696 |
+- the "Artistic License" which can be found in the included file called |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
697 |
+ "Artistic". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
698 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
699 |
+This package is distributed in the hope that it will be useful, but without |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
700 |
+any warranty; without even the implied warranty of merchantability or fitness |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
701 |
+for a particular purpose. See either the GNU General Public License or the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
702 |
+Artistic License for more details. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
703 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
704 |
+For those of you that choose to use the GNU General Public License, |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
705 |
+my interpretation of the GNU General Public License is that no procmailrc |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
706 |
+script falls under the terms of the GPL unless you explicitly put |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
707 |
+said script under the terms of the GPL yourself. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
708 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
709 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
710 |
+On Debian systems, the complete text of the GNU General Public License |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
711 |
+can be found in `/usr/share/common-licenses/GPL', and the complete |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
712 |
+text of the "Artistic License" can be found in |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
713 |
+`/usr/share/common-licenses/Artistic'. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
714 |
--- procmail-3.22.orig/debian/mailstat.1 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
715 |
+++ procmail-3.22/debian/mailstat.1 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
716 |
@@ -0,0 +1,40 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
717 |
+.TH MAILSTAT 1 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
718 |
+.SH NAME |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
719 |
+mailstat \- shows mail-arrival statistics |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
720 |
+.SH SYNOPSIS |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
721 |
+.B mailstat |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
722 |
+[\-klmots] [logfile] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
723 |
+.SH DESCRIPTION |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
724 |
+.B mailstat |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
725 |
+parses a procmail-generated $LOGFILE and displays |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
726 |
+a summary about the messages delivered to all folders |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
727 |
+(total size, average size, nr of messages). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
728 |
+The $LOGFILE is truncated to zero length, unless the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
729 |
+.B -k |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
730 |
+option is used. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
731 |
+Exit code 0 if mail arrived, 1 if no mail arrived. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
732 |
+.SH OPTIONS |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
733 |
+.TP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
734 |
+.I \-k |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
735 |
+keep logfile intact |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
736 |
+.TP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
737 |
+.I \-l |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
738 |
+long display format |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
739 |
+.TP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
740 |
+.I \-m |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
741 |
+merge any errors into one line |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
742 |
+.TP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
743 |
+.I \-o |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
744 |
+use the old logfile |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
745 |
+.TP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
746 |
+.I \-t |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
747 |
+terse display format |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
748 |
+.TP |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
749 |
+.I \-s |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
750 |
+silent in case of no mail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
751 |
+.SH NOTES |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
752 |
+Customise to your heart's content, this program is only provided as a |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
753 |
+guideline. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
754 |
+.SH AUTHOR |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
755 |
+This manual page was written by Santiago Vila <[email protected]> |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
756 |
+for the Debian GNU/Linux distribution (but may be used by others). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
757 |
--- procmail-3.22.orig/debian/QuickStart |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
758 |
+++ procmail-3.22/debian/QuickStart |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
759 |
@@ -0,0 +1,97 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
760 |
+procmail QuickStart |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
761 |
+=================== |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
762 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
763 |
+* procmail is not an `interactive' program. It has to run automatically |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
764 |
+when the mail arrives. Therefore the first thing to do is to tell our MTA |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
765 |
+that we want procmail to "eat" all our mail messages. The way of doing |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
766 |
+this depends on the MTA we are using. For example, if we are using |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
767 |
+sendmail, it will suffice to have a .forward file like this in our home |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
768 |
+directory: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
769 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
770 |
+"|exec /usr/bin/procmail" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
771 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
772 |
+(don't forget the quotes, they are needed in this case). |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
773 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
774 |
+If you are using exim, use this instead as your .forward file: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
775 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
776 |
+|/usr/bin/procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
777 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
778 |
+The step of creating a .forward file is not needed if the MTA already |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
779 |
+performs the delivery using procmail. For example, Debian sendmail will |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
780 |
+automatically use procmail for mail delivering if the sendmail.cf is |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
781 |
+generated from a sendmail.mc file containing this line: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
782 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
783 |
+FEATURE(local_procmail)dnl |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
784 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
785 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
786 |
+* If we have a stand-alone system with no permanent net connection (like |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
787 |
+PPP), and we are using fetchmail to get mail from a server, we don't |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
788 |
+really need a MTA. Just adding --mda "formail -s procmail" to the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
789 |
+fetchmail command line (or using the `mda' keyword) will tell it to |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
790 |
+deliver through procmail. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
791 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
792 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
793 |
+* Next, we have to write a ~/.procmailrc file in our home directory. This |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
794 |
+file is a set of filtering rules, based on regular expressions. The |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
795 |
+complete syntax is explained in procmailrc(5). Let's see a real example |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
796 |
+just to get started. Let's suppose you are subscribed to the following two |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
797 |
+mailing lists: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
798 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
799 |
[email protected] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
800 |
[email protected] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
801 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
802 |
+The first list is managed by Majordomo. Messages coming from a Majordomo |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
803 |
+list often include a header field "Sender: " which allow easy filtering. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
804 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
805 |
+The second list is managed my SmartList. Messages coming from a SmartList |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
806 |
+list may include several headers that can be used to filter it. One of |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
807 |
+them (in fact, the only that it is not X-whatever) is "Resent-Sender: ". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
808 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
809 |
+So the following .procmailrc will first filter the mailing lists, and |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
810 |
+any remaining message will go to the default folder: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
811 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
812 |
+*--------------------------------->8------------------------------------ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
813 |
+PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
814 |
+MAILDIR=$HOME/mail # you'd better make sure it exists |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
815 |
+DEFAULT=$MAILDIR/mbox # completely optional |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
816 |
+LOGFILE=$MAILDIR/procmail.log # recommended |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
817 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
818 |
+:0: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
819 |
+* ^Sender:.*[email protected] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
820 |
+linux-kernel |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
821 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
822 |
+:0: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
823 |
+* ^Resent-Sender:.*[email protected] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
824 |
+debian-user |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
825 |
+*--------------------------------->8------------------------------------ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
826 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
827 |
+From this example additional rules for mailing lists may be created |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
828 |
+easily. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
829 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
830 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
831 |
+* Once you have received lots of messages you will want to know where |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
832 |
+did they go. That's what the LOGFILE is for. There is a tool named |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
833 |
+mailstat which parses this file and shows a summary: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
834 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
835 |
+mailstat procmail.log |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
836 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
837 |
+The mailstat command that this package provides does really come from the |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
838 |
+examples directory and it is installed by default. You may have your own |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
839 |
+modified copy in $HOME/bin, if you like. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
840 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
841 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
842 |
+If you have to refilter an old mail folder according to your current |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
843 |
+~/.procmailrc file, you may do the following: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
844 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
845 |
+cat mbox | formail -s procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
846 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
847 |
+But of course if your mbox file is the target of a procmail recipe you should |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
848 |
+do this instead: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
849 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
850 |
+mv mbox whatever |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
851 |
+cat whatever | formail -s procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
852 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
853 |
+See formail(1) for details. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
854 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
855 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
856 |
+Santiago Vila <[email protected]> |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
857 |
--- procmail-3.22.orig/debian/README.Maildir |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
858 |
+++ procmail-3.22/debian/README.Maildir |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
859 |
@@ -0,0 +1,12 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
860 |
+This version of procmail supports Maildir folders. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
861 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
862 |
+To make procmail to deliver into a Maildir folder, just append |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
863 |
+a slash (/) to the name of the maildir folder in your ~/.procmailrc file. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
864 |
+For example, the following rule: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
865 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
866 |
+:0 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
867 |
+* ^Resent-Sender.*[email protected] |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
868 |
+debian-user/ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
869 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
870 |
+will deliver all mail from the debian-user mailing list to the Maildir |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
871 |
+folder "debian-user". |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
872 |
--- procmail-3.22.orig/debian/rules |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
873 |
+++ procmail-3.22/debian/rules |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
874 |
@@ -0,0 +1,76 @@ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
875 |
+#!/usr/bin/make -f |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
876 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
877 |
+package = procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
878 |
+docdir = debian/tmp/usr/share/doc/$(package) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
879 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
880 |
+CC = gcc |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
881 |
+CFLAGS0 = -g |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
882 |
+LDFLAGS0 = |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
883 |
+SEARCHLIBS = -lm |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
884 |
+STRIP = true |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
885 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
886 |
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
887 |
+ CFLAGS0 += -O2 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
888 |
+endif |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
889 |
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
890 |
+ STRIP = strip --remove-section=.comment --remove-section=.note |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
891 |
+endif |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
892 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
893 |
+build: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
894 |
+ $(checkdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
895 |
+ $(MAKE) CC="$(CC)" CFLAGS0="$(CFLAGS0)" LDFLAGS0="$(LDFLAGS0)" \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
896 |
+ SEARCHLIBS="$(SEARCHLIBS)" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
897 |
+ touch build |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
898 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
899 |
+clean: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
900 |
+ $(checkdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
901 |
+ rm -f build |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
902 |
+ -$(MAKE) realclean SEARCHLIBS="" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
903 |
+ rm -f `find . -name "*~"` |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
904 |
+ rm -rf debian/tmp debian/files* core debian/substvars |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
905 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
906 |
+binary-indep: checkroot build |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
907 |
+ $(checkdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
908 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
909 |
+binary-arch: checkroot build |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
910 |
+ $(checkdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
911 |
+ rm -rf debian/tmp |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
912 |
+ install -d debian/tmp/DEBIAN $(docdir)/examples |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
913 |
+ cd debian/tmp && install -d usr/bin |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
914 |
+ $(MAKE) BASENAME=`pwd`/debian/tmp/usr install.man install-suid |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
915 |
+ $(STRIP) debian/tmp/usr/bin/procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
916 |
+ $(STRIP) debian/tmp/usr/bin/lockfile |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
917 |
+ $(STRIP) debian/tmp/usr/bin/formail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
918 |
+ cp -p debian/copyright $(docdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
919 |
+ cp -p debian/changelog $(docdir)/changelog.Debian |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
920 |
+ install -m 644 debian/mailstat.1 debian/tmp/usr/man/man1 |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
921 |
+ cp -p FEATURES HISTORY README FAQ KNOWN_BUGS \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
922 |
+ debian/QuickStart debian/README.Maildir $(docdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
923 |
+ cp -p examples/* $(docdir)/examples |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
924 |
+ cd $(docdir)/examples && rm -f dirname mailstat procmail-rpm.spec |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
925 |
+ cd $(docdir) && gzip -9 HISTORY changelog.Debian |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
926 |
+ ln -s HISTORY.gz $(docdir)/changelog.gz |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
927 |
+ mv debian/tmp/usr/man debian/tmp/usr/share |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
928 |
+ gzip -r9 debian/tmp/usr/share/man |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
929 |
+ dpkg-shlibdeps debian/tmp/usr/bin/* |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
930 |
+ dpkg-gencontrol -isp |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
931 |
+ cd debian/tmp && \ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
932 |
+ md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
933 |
+ chown -R root:root debian/tmp |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
934 |
+ chmod -R go=rX debian/tmp |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
935 |
+ chgrp mail debian/tmp/usr/bin/procmail debian/tmp/usr/bin/lockfile |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
936 |
+ chmod 6755 debian/tmp/usr/bin/procmail |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
937 |
+ chmod 2755 debian/tmp/usr/bin/lockfile |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
938 |
+ dpkg --build debian/tmp .. |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
939 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
940 |
+define checkdir |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
941 |
+ test -f src/$(package).c -a -f debian/rules |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
942 |
+endef |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
943 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
944 |
+binary: binary-indep binary-arch |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
945 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
946 |
+checkroot: |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
947 |
+ $(checkdir) |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
948 |
+ test root = "`whoami`" |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
949 |
+ |
0b7caaf07429
15941549 Move procmail from the FOSS consolidation into Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
950 |
+.PHONY: binary binary-arch binary-indep clean checkroot |