Advertisement
metalx1000

procmail email run scrip when mail is received

Aug 31st, 2023 (edited)
1,652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. #add this to $HOME/.procmailrc
  2.  
  3. :0 c                                                                                                                                          
  4. * ^To.*mytest@mymail.com                                                                                                                
  5. |/usr/local/bin/mail.sh  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement