1

How to cp or rm files based on ownership / permission

view story
linux-howto

http://unix.stackexchange.com – After a problem with spam, I stopped postfix postfix stop and checked through the mailq manually to find hundreds of thousands of unsent spam. The spam was sent from one of the sites hosted locally, and I know that user has not tried to send any emails since I stopped outgoing mail. Therefore all the messages in /var/spool/postfix/maildrop that originate from that user on my machine are known to be spam, and I'd like to delete or move them to another dir for later investigation. I would like to move all the files with a given owner (in this case the user 'web2') from /var/spool/postf (HowTos)