OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Drop the rejects from a forwarded alias

From: Wietse Venema (wietseporcupine.org)
Date: Mon Nov 29 2010 - 13:51:13 CST


Randy Ramsdell <rramsdellactivedg.com>:
> I am going to have to implement something that drops rejected mail
> from one of our aliases.
>
> The scenario is that we forward to a external server and cannot
> match its spam/UCE rules so our server backskatters mail.

If this alias is a mail distribution list, then it should be
configured to override the envelope sender address, so that bounces
aren't returned to the original sender, but to the maintainer of
the mail distribution list.

/etc/aliases:
    listname: ....
    owner-listname: userexample.com

See "man 5 aliases" and look for "owner".

        Wietse