Skip to content
  • This project
    • Loading...
  • Sign in

John McEleney / mailutils

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • mailutils
  • sieve
  • examples
  • example.sv
  • Sergey Poznyakoff's avatar
    Require redirect. · cdef50a8
    cdef50a8
    Sergey Poznyakoff authored 2002-11-15 15:18:18 +0000
example.sv 320 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Example sieve script.

  require [ "fileinto", "redirect" ];
  
  if size :over 20 {
      fileinto "/home/sam/p/gnu/mailutils/cmu-sieve/sv/inbox";
  }
  
  if address :domain :is "to" "uwaterloo.ca" {
      redirect "dom@is.uw";
  }
  
  if header :is "Status" "RO" {
      redirect "status@is.ro";
  }
  
  keep;