[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new canonicalize()



Once Alexis Yushin wrote:
>	I made an attempt to rewrite/simplify/purify canonicalize()
>I run it in parallel with old canonicalize() on two of our loaded
>machines and havent seen any difference yet. Maybe it will be of
>any use to someone on this list. Regards,
>							alexis
>
>PS And of course because of sift instead of ssift it has no problem
>   with quoted local parts.

	And immediately a patch :)
*** canonicalize.cf     1997/12/17 14:01:28     1.1
--- canonicalize.cf     1997/12/17 15:16:17
***************
*** 38,44 ****
                address="\1,\2"                 # undo all but the last one
                continue
                ;;
!       (@[^,:]+)(.+:)(.+)
                echo "<\1>\2\3"                 # focus
                return
                ;;
--- 38,44 ----
                address="\1,\2"                 # undo all but the last one
                continue
                ;;
!       (@[^,:]+)([,:].+)
                echo "<\1>\2\3"                 # focus
                return
                ;;

								alexis
-- 
			Where the wild horses run