postfix_resources function
postfix_resources validate input