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

canon.cf w/ alexis new canonicalize() code ...



Hello,

	In the lattest snapshots there is  canon.cf  that contains
	Alexis  canonicalize()  code, however I just came accross
	an address which fails on it somewhat nastily:

		/S=R.SCHNEIDER/OU1=S28A@MHS-FSWA.ATTMAIL.COM

	Also I came up with a patch for that by altering the start of
	canonicalize()  within canon.cf to be:

-----------------
canonicalize (address) {
	address="$(dequote \"$address\")"
#
# We need string ssift to detect '|' because '|' is not RFC822 special
#
	ssift "$address" in
	(/.+)@(.+)
		break	# /S=R.SCHNEIDER/OU1=S28A@MHS-FSWA.ATTMAIL.COM
		;;
	((\|.+)|(/.+)|(:include:.+))		# unqouted pipes and files
		echo "$address"			# pass through
		return
		;;
	tfiss
-----------------

	Could Alexis (and others at bleeding edge) see what happens
	with your favourite pathological addresses ?

/Matti Aarnio