For RT, we have used /etc/aliases and I have sendmail installed. How can I used the existing mail functionality to filter?
Procmail filters on the receiving account would be the easiest solution.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.
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@centos.org
http://lists.centos.org/mailman/listinfo/centos