Robert G. Werner wrote:
> To deal with I use the attached perl script to filter out colons to mail
> coming to rt queues exposed to the outside world. This could easily be
> modified to add exceptions, other munging of the message, etc.
Notice that AFAIK the regex you are using 's/^(\w+):(.*)$/${1}${2}/;' will
not catch the command that is used to set custom field values.
CF.{customer}: MrEd
Because I use the interface to set custom fields, I check also against the
next one. Sure it will not catch everything, but it works for me.
elsif ( $_ =~ /(^CF.{.*}):(.*)/ ) {
$_ = ${1}.${2};
}
If someone knows a better way to catch really everything, please let me know.
Friendly,
Andreas
_______________________________________________
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