[lug] Filtering mail sent to root

Sean Reifschneider jafo at tummy.com
Thu Oct 14 11:39:02 MDT 2004

On Wed, Oct 13, 2004 at 07:24:25AM -0600, Bill Thoen wrote:
>So what's the best way to dump any mail that originated from outside the
>box, but keep the internal messages?

It depends on the mail server you're using.  In qmail, you can list the
root address in "badrcptto", which tells the SMTP server to reject
incoming e-mail to that account, but does not impact local delivery to

However, setting up greylisting is going to help all of your accounts.

 Now let's get this thing on the hump, we've got some flying to do!
                 -- Major Kong, _Dr_Strangelove_
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995.  Qmail, Python, SysAdmin

More information about the LUG mailing list