[lug] Filtering mail sent to root

Duncan McGreggor duncan at adytumsolutions.com
Wed Oct 13 07:24:11 MDT 2004


On Oct 13, 2004, at 9:24 AM, Bill Thoen wrote:

>
> A lot of annoying spam comes to my root account, and currently I just 
> send
> it to /dev/null, but then I got to thinking that it might be good to
> accept mail generated by any process on my machine (usually these are
> alerts that something somewhere has come unglued.)
>
> So what's the best way to dump any mail that originated from outside 
> the
> box, but keep the internal messages?

Hey Bill,

I'm new to the list, but have you ever played with procmail? I find it 
useful for just such static filtering tasks.

Duncan




More information about the LUG mailing list