OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: /dev/null'ing mail without local delivery

From: Evan Platt (evanespphotography.com)
Date: Wed Nov 15 2006 - 15:47:20 CST


At 01:23 PM 11/15/2006, you wrote:
>I have an email address used by development that they want to send
>mail to, but never have to receive that email. I disabled local
>delivery on my postfix server because that server is only a mail
>gateway -- it uses transport maps to redirect mail to an internal
>non-postfix server.
>
>Is it possible to /dev/null email without local delivery? I searched
>through www.postfix.org and the Book of Postfix with no success.

I'm far from a expert, but I just tried adding to my aliases:

devnull:/dev/null

Nov 15 13:44:14 localhost postfix/local[29041]: 165D2A651EB:
to=<devnullespphotography.com>, relay=local, delay=1, status=sent
(delivered to file: /dev/null)

Not sure if that will break anything, or if that will work for your setup...