Zionetrix::Git
Repositories
Help
Report an Issue
postfix_scripts
Code
Commits
Branches
Tags
Search
Tree:
774e0ce
Branches
Tags
master
postfix_scripts
scripts
username_to_deferred_mailid
Initial commit
Benjamin Renard
commited
774e0ce
at 2016-01-19 19:51:30
username_to_deferred_mailid
Blame
History
Raw
#!/bin/bash USERNAME="$1" [ -z "$USERNAME" ] && echo "Usage : $0 [username]" && exit 1 for id in $( username_to_original_mailid "$USERNAME" ) do for f in $( grep -r -l "$id" /var/spool/postfix/deferred/ ) do basename "$f" done done