.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)


2 thoughts on “.forward and /dev/null

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s