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

routing bangpaths - fix.



Matti,

I think that I found why uucp mail was not processed correctly.

--- src/zmailer/proto/cf/canon.cf       Tue Jun  1 19:38:24 1999
+++ /usr/zmailer/cf/canon.cf    Thu Jul  1 13:33:26 1999
@@ -202,11 +202,11 @@
                canonicalize "\2@\[\1\]"
                return
                ;;
-       ([^!.]*)[^\]!(.*)                       # leftmost '!', pure uucp
+       ([^!.]*[^\])!(.*)                       # leftmost '!', pure uucp
                canonicalize "\2@\1.uucp"
                return
                ;;
-       ([^!]*)[^\]!(.*)                        # leftmost '!', domain uucp
+       ([^!]*[^\])!(.*)                        # leftmost '!', domain uucp
                canonicalize "\2@\1"
                return
                ;;

Also. I think that the dot '.' in the first regexpr should not be there:
these expressions are within "tsift" statement, not "ssift".  It seems
that the first case (host part without dots) would never match?  But I
am not that good in zmsh syntax...

--
Eugene Crosser, "Russia-On-Line" System Administrator (Sovam Teleport)
+7 501 258 4170 mailto:crosser@online.ru http://www.online.ru/~crosser/

-----------------------------------------------------
This mail sent through IMP: http://web.horde.org/imp/