File: bugzilla.procmailrc

package info (click to toggle)
bugzilla 2.16.7-7sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,696 kB
  • ctags: 492
  • sloc: perl: 20,289; xml: 6,856; sh: 338; makefile: 211; python: 172
file content (30 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
:0 fhw
| formail -I "From " -a "From "

BUGZILLA_HOME=/home/bugzilla/WEB/bugzilla/contrib

:0
* ^Subject: .*\[Bug .*\]
RESULT=|(cd $BUGZILLA_HOME && ./bugzilla_email_append.pl)


# Feed mail to stdin of bug_email.pl
:0 Ec
#* !^Subject: .*[Bug .*]
RESULT=|(cd $BUGZILLA_HOME && ./bug_email.pl )

# write result to a logfile
:0 c
|echo `date '+%d.%m.%y %H:%M:  '` $RESULT >> $HOME/bug_email.log


:0 c
|echo "----------------------------------" >> $HOME/bug_email.log

:0 c
$HOME/bug_email.log
 
# Move mail to the inbox
:0
$HOME/Mail/INBOX