[Rt-devel] Small patch to Email.pm
Jesse Vincent
jesse at bestpractical.com
Thu Mar 8 12:46:02 EST 2007
On Thu, Mar 08, 2007 at 06:18:59PM +0100, Sven Sternberger wrote:
> Hello!
>
> I see that there are some mailling list managers (e.g. sympa)
> which use the tag "list" in the precedence field. So I suggest the
> following modification:
The goal of the precedence check is to avoid mail looping. Usually
"bulk" or "junk" indicates an autoresponder that's going to get into a
looping argument with RT. Is that an issue you're running into with
sympa?
>
> regards!
>
> sven
>
> --- lib/RT/Interface/Email.pm 2006-10-20 18:37:05.000000000 +0200
> +++ local/lib/RT/Interface/Email.pm 2007-03-08 17:24:46.000000000
> +0100
> @@ -158,7 +158,7 @@
> my $head = shift;
>
> my $Precedence = $head->get("Precedence") || "";
> - if ( $Precedence =~ /^(bulk|junk)/i ) {
> + if ( $Precedence =~ /^(bulk|junk|list)/i ) {
> return (1);
> }
>
>
>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
--
More information about the Rt-devel
mailing list