/[anubis]/anubis/testsuite/etc/std.in
ViewVC logotype

Diff of /anubis/testsuite/etc/std.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by gray, Fri Jul 18 14:38:28 2003 UTC revision 1.9 by gray, Fri Aug 8 22:41:04 2003 UTC
# Line 1  Line 1 
1    # -*- anubis -*-
2  # This file is part of GNU Anubis testsuite.  # This file is part of GNU Anubis testsuite.
3  # Copyright (C) 2003 The Anubis Team.  # Copyright (C) 2003 The Anubis Team.
4  #  #
# Line 27  ifdef(`WITH_GPG',`gpg-passphrase = MYSEC Line 28  ifdef(`WITH_GPG',`gpg-passphrase = MYSEC
28  remove [Lines]  remove [Lines]
29    
30  if command["mail from"] = ".*<?root@localhost>?"  if command["mail from"] = ".*<?root@localhost>?"
31   STOP    STOP
32  fi  fi
33    
34  if header[Subject] = "(.*)" and not header[Subject] :scase = "URGENT"  if header[Subject] = "(.*)" and not header[Subject] :scase = "URGENT"
35   add [X-Comment] "This message is not URGENT (\1)."    add [X-Comment] "This message is not URGENT (\1)."
36   add [X-Comment] "GNU's Not Unix! (\1)"    add [X-Comment] "GNU's Not Unix! (\1)"
37  fi  fi
38    
39  if header[X-Mailer] = "(.*)"  if header[X-Mailer] = "(.*)"
40   add [X-Comment] "My love \1"    add [X-Comment] "My love \1"
41   modify [X-Mailer]  "The lousy mailer \1"    modify [X-Mailer]  "The lousy mailer \1"
42  fi  fi
43    
44  trigger "gpgd:(.*)"  trigger "gpgd:(.*)"
45   add [X-GPG-Comment] "Encrypted for \1"    add [X-GPG-Comment] "Encrypted for \1"
46   ifdef(`WITH_GPG', `gpg-encrypt = \1')    ifdef(`WITH_GPG', `gpg-encrypt = \1')
47  done  done
48    
49  if header[Subject] = "signature"  if header[Subject] = "signature"
50   signature-file-append = yes    signature-file-append = yes
51  fi  fi
52    
53  if header[Subject] = :scase "external"  if header[Subject] = :scase "external"
54   external-body-processor = /usr/bin/formail    external-body-processor = /usr/bin/formail
55  fi  fi
56    
57  ifdef(`WITH_GPG',`  ifdef(`WITH_GPG',`
58  if header[Subject] = "gpg-all"  if header[Subject] = "gpg-all"
59   gpg-encrypt = USERNAME    gpg-encrypt = USERNAME
60   gpg-sign = yes    gpg-sign = yes
61  fi  fi
62    
63  if header[Subject] = gpg-encrypt  if header[Subject] = gpg-encrypt
64   gpg-encrypt = USERNAME-1,USERNAME-2,USERNAME-3    gpg-encrypt = USERNAME-1,USERNAME-2,USERNAME-3
65  fi  fi
66    
67  if header[Subject] = gpg-sign  if header[Subject] = gpg-sign
68   gpg-sign = yes    gpg-sign = yes
69  fi')  fi')
70    
71  ifdef(`WITH_GUILE',`  ifdef(`WITH_GUILE',`
72  if header[Subject] = "rot13-all"  if header[Subject] = "rot13-all"
73   guile-process rot-13 #:body    guile-process rot-13 #:body
74   guile-process rot-13 #:subject    guile-process rot-13 #:subject
75  fi  fi
76    
77  if header[Subject] = "rot13-body"  if header[Subject] = "rot13-body"
78   guile-process rot-13 #:body    guile-process rot-13 #:body
79  fi  fi
80    
81  if header[Subject] = "rot13-subject"  if header[Subject] = "rot13-subject"
82   guile-process rot-13 #:subject    guile-process rot-13 #:subject
83  fi')  fi')
84    
85  if header[Subject] = "body-append"  if header[Subject] = "body-append"
86   body-append = misc/notes.txt    body-append = misc/notes.txt
87  fi  fi
88    
89  if header[Subject] = "ALL"  if header[Subject] = "ALL"
90   body-append = misc/notes.txt    body-append = misc/notes.txt
91   ifdef(`WITH_GPG', `gpg-encrypt = USERNAME')    ifdef(`WITH_GPG', `gpg-encrypt = USERNAME')
92   ifdef(`WITH_GUILE', `guile-process rot-13 #:body    ifdef(`WITH_GUILE', `guile-process rot-13 #:body
93   guile-process rot-13 #:subject')    guile-process rot-13 #:subject')
94  fi  fi
95    
96  ---END---  ---END---

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26