Re: filter unwanted email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux