# .procmailrc #################################### # Author - Kulbir Saini # # Home - http://saini.co.in/ # #################################### PATH = $PATH MAILDIR = $HOME/mail DEFAULT = $HOME/mbox LOGFILE = $HOME/.procmail.log SHELL = /bin/bash # Backup for testing mode. #:0 c # Uncomment for testing mode #Backup :0: # Spam mails should go to Spam folder * ^(From|Cc|To).*(auctionit|newegg|voilin) Spam :0: # Spam mails should go to Spam folder * ^Subject:.*(Spam|Disarmed|Pictures|Re\. Pictures|Sperm|Penis|Viagra|Filename|voilin) { :0: # Replace ':' with c if the lines below are to be uncommented. Spam # Uncommnet the lines below if nishant misbehaved today. #:0: #! nishant_shobhit@students.iiit.ac.in } :0: # Mail from/to clubs should go to Clubs folder * ^(From|Cc|To).*(agents|campusgreen|campusgreenclub|cybergames|dpscm|guitar|music|nss|photography|quizzers|signet|sigops|videography|movie) Clubs :0: # Mail from/to lug should go to LUG folder * ^(From|Cc|To).*lug { :0 c ! kulbirsaini25@gmail.com :0: LUG } :0: # Mail from/to course should go to Courses folder * ^(From|Cc|To).*(cs3150|cs3350|cs3155|cs4460|cs4110) { :0 c ! kulbirsaini25@gmail.com :0: Courses } :0: # Mail from/to life should go to Life folder * ^(From|Cc|To).*life Life :0: # Returned mail transcriptions to Bounced folder * ^Subject:.*(Returned mail: see transcript for details|could not deliver mail) Bounced :0: # House mails should go to House folder * ^Subject:.*(House|Tournament|Champion|championship|Inter House|chess|cultural|basket|cricket|foot|ball|Physical|PEC) House :0: # Birc mails should go to BIRC folder * ^(From|Cc|To).*birc { :0 c ! kulbirsaini25@gmail.com :0: BIRC } :0: # Felicity related mails should go to Felicity folder * ^(From|Cc|To).*felicity { :0 c ! kulbirsaini25@gmail.com :0: Felicity } :0: # Felicity related mails should go to Felicity folder * ^Subject:.*(felicity) { :0 c ! kulbirsaini25@gmail.com :0: Felicity } :0: # Mails from TopCoder should go to TopCoder folder * ^(From|Cc|To).*topcoder { :0 c ! kulbirsaini25@gmail.com :0: TopCoder } :0: # Lost found mails should go to LostFound folder * ^Subject:.*(lost|found) LostFound