procmail
[Top] [All Lists]

recipe with MATCH tuning

2001-12-27 14:57:57

  Hello to all,
  
  I've made a recipe for my freebsd lists based on List-ID header tag and I'd 
like 
  to know if I'm using the correct way.
  
  I'd like to know if it is possible to join recipes A and B into only one 
  recipe. My problem is that "cvs-all" freebsd list differ from the others 
  because it hasn't "freebsd-" before it.
  
  If it isn't possible to join the 2 recipes then please tell me if I need to 
  change anything.
  
  ------------------------------------------------------------
  
  # RECIPE A
  
  # FreeBSD Lists
  # List-ID field format: List-ID: <freebsd-MATCH.FreeBSD.ORG>
  # example: <freebsd-stable.FreeBSD.ORG> where MATCH=stable
  
  :0
  * ^List-ID: .freebsd-\/[^.]+\.FreeBSD\.ORG
  {
          LISTNAME=${MATCH}
  
          :0 :
          * LISTNAME??^\/[^.]+
          $LISTSDIR/freebsd-${MATCH}
  }
  
  # FreeBSD cvs-all
  # List-ID field format: List-ID: <cvs-all.FreeBSD.ORG>
  
  # RECIPE B
  :0
  * ^List-ID: .cvs-all\.FreeBSD\.ORG
  {
          :0 c:
          * ^X-FreeBSD-CVS-Branch: RELENG_4
          $LISTSDIR/freebsd-cvs-all_RELENG_4
  
          :0 :
          $LISTSDIR/freebsd-cvs-all
  }
  
  ------------------------------------------------------------
  
  Thanks very much,  
  
-- 

Nuno Teixeira
pt-quorum.com

/* 
PGP Public Key:
http://www.pt-quorum.com/pgp/nunoteixeira.asc
Key fingerprint:
8C2C B364 D4DC 0C92 56F5  CE6F 8F07 720A 63A0 4FC7
*/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • recipe with MATCH tuning, Nuno Teixeira <=