more unused publish
revert remove of SetValue as it is used in perl part of mail server
refactor SetValue code