.forward and /dev/null

Just a quick tip for you out there and a reminder for me. If you are using .forward files with your MTA (so, real users, not virtuals) and you want to discard everything received by that user, just put in his/her .forward


"|cat > /dev/null"

Remember that the quotes, they are mandatory (if you’re copy’n’pasting this, change the quotes because WordPress loves to change things)

Advertisements