[rt-users] filtering by hostmask best done with scrip?
Greetings from a new user. I have rt-mailgate working and can generate tickets from emails. I've read http://wiki.bestpractical.com/index.cgi?SpamFiltering And believe that it would be overkill in our case. We're a small shop and are likely to have one queue per client and rarely add clients, so what I'm about to describe doesn't have to scale, anyway. Say I have a client_foo queue. I want mail from [EMAIL PROTECTED] to that queue to get through, everything else gets dropped. Am I correct in thinking that this is best done with a scrip and not in postfix? (I'd like to have an RT admin who doesn't touch the configs of the box in question). If so, has someone already put a scrip like this to use? I saw http://wiki.bestpractical.com/index.cgi?AutoSetOwnerForQueue (the section titled Assigning owner conditionally based on ticket creator) but not anything closer to what I want. Perhaps I'm not using the right search terms. Any help appreciated. -- Cristobal M. Palmer UNC-CH SILS Student [EMAIL PROTECTED] Television-free since 2003 tarheelcoxn iank has trouble with English. his native language is Python iank Yeah iank I'm forced iank To indent iank My sentences ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
Re: [rt-users] filtering by hostmask best done with scrip?
Cristobal Palmer wrote: Am I correct in thinking that this is best done with a scrip and not in postfix? (I'd like to have an RT admin who doesn't touch the configs of the box in question). Hi Cristobal. To be honest, I'd lean towards using Postfix to take care of this, given the specifications you put forth (one client per queue, relatively static list of clients, and so forth.) Putting this kind of check is dead-easy, and the best part is that you can have Postfix reject the email before you even have to waste one CPU cycle processing it through RT. And since you're probably already touching Postfix to handle the rt-mailgate commands, it's not like you'd be adding a whole new realm to the administrative work. Barry ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html