Changes

From SME Server
Jump to navigationJump to search
43 bytes removed ,  17:20, 22 February 2021
no edit summary
Line 1,824: Line 1,824:  
==How to re-apply procmail rules==
 
==How to re-apply procmail rules==
   −
If you have a folder of email that needs to have the procmail rules applied, then the trick is to be logged in as the email user (which might involve editting /etc/passwd to give yourself access to a shell), and then position your self in the home directory, and then this works:  
+
If you have a folder of email that needs to have the procmail rules applied, then the trick is to be logged in as the email user, and then position your self in the home directory, and then this works:  
 +
su <username> -s /bin/bash
 +
cd ~
 
  cat <full path to email file> | procmail
 
  cat <full path to email file> | procmail
  

Navigation menu