File: procmailrc.example

package info (click to toggle)
fullquottel 0.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,484 kB
  • sloc: sh: 4,174; cpp: 384; javascript: 150; makefile: 8
file content (21 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Add the following recipe to your ~/.procmailrc in order to have
# fullquottel add a header in case it detects a mail containing a
# full quote.
#
# Note: If you don't have or don't want to use mailtextbody you can use
# any other method that pipes the body (i.e. the text/plain part) of
# an email to fullquottel.

:0
* ! ^FROM_DAEMON
* ! ^FROM_MAILER
* ! ^X-FULLQUOTTEL
* < 10240
{
	:0 bw: fullquottel.lock
	FQ= | mailtextbody | fullquottel
	:0 fhw: fullquottel.lock
  * $FQ ?? .*Fullquottel.*
  | formail -I "X-FULLQUOTTEL: $FQ"
}