[CentOS] filter unwanted email

Thu Feb 3 16:27:49 UTC 2011
testwreq wreq <testwreq at gmail.com>

For RT, we have used /etc/aliases and I have sendmail installed. How can I
used the existing mail functionality to filter?

On Thu, Feb 3, 2011 at 10:56 AM, Andrew Grimberg <tykeal at bardicgrove.org>wrote:

>  On Thu, 2011-02-03 at 10:38 -0500, testwreq wreq wrote:
> > I am new to CentOS. How do I set a rule to so that any email coming from
> @
> > linkedin.com (and other abused locations), going to an application RT
> (setup
> > on the system), will get rejected or dropped silently.
>
> Procmail filters on the receiving account would be the easiest solution.
>
> Make sure that procmail is installed and then man procmailrc for how to
> configure it.
>
> IIRC for RT ticket submission/modification via email to work you have to
> be using a mail filter of some sort already and the docs give a basic
> promail filter for you to use.  As such, you should just need to add a
> few rules ahead of that particular rule to catch the type of mail you
> don't want.
>
> This of course is just scratching the surface of keeping unwanted mail
> out of your ticket tracking system ;)
>
> -Andy-
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110203/f28ac8c8/attachment-0005.html>