PERL   29

procmailrc

Guest on 18th August 2022 01:19:34 AM

  1. VERBOSE=yes
  2. LOGFILE=$HOME/procmail.log
  3. MAILDIR=$HOME/Mail
  4.  
  5. :0:
  6. * ^X-Mailing-List:[     ]<\/[^ >`']+
  7. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  8.  
  9. :0:
  10. * ^X-Mailing-List:[     ]\/[^ `']+
  11. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  12.  
  13. :0:  
  14. * ^X-BeenThere:[        ]\/[^ `']+
  15. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  16.  
  17. :0:
  18. * ^Sender:[     ]owner-\/[^ `']+
  19. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  20.  
  21. :0:
  22. * ^Sender:[     ]owner\/[^ `']+
  23. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  24.  
  25. :0:
  26. * ^Delivered-To:[       ]mailing list \/[^ `']+
  27. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  28.  
  29. :0:
  30. * ^X-Loop:[     ]\/[^ `']+
  31. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  32.  
  33. :0:
  34. * ^Mailing-List:[       ]list[  ]\/[^ `';]+
  35. Lists/`echo $MATCH | sed -e 's/[\/]/_/g' | tr A-Z a-z`
  36.  
  37. :0:
  38. * ^X-ML-Name: ruby-talk
  39. Lists/ruby-talk@ruby-lang.org
  40.  
  41. :0:
  42. * ^X-Spam-Status: Yes
  43. Spam/viaprocmail
  44.  
  45. :0:
  46. * ^Mailing-List: contact license-discuss-help@opensource.org
  47. Lists/opensource-license-discuss-help
  48.  
  49. :0:
  50. * ^Subject:.*niouz
  51. Lists/reseaucitoyen-niouz
  52.  
  53. :0:
  54. * ^Subject:.*isp-linux
  55. Lists/isp-linux-lists
  56.  
  57. :0:
  58. * ^Subject:.*isp-security
  59. Lists/isp-security-lists

Raw Paste


Login or Register to edit or fork this paste. It's free.