Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MS Exchange & CDONTS Problem...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MS Exchange & CDONTS Problem...

 Post Reply Post Reply
Author
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Topic: MS Exchange & CDONTS Problem...
    Posted: 24 July 2003 at 3:42pm
I'm using CDONTS to send emails and I've just installed MS Exchange on my server and now I can't send emails using CDONTS. I found this article in MS Knowledge Base (http://support.microsoft.com/default.aspx?scid=kb;en-us;324037) it says to give IUSR access to the metabase, i've tried to do that but once i close the properties window and go back to it IUSR is gone from the permissions... so the only thing that works is this vb script:


Option explicit
Dim objSMTP, objInst, objSD, objACL, objACE, objNew    
Dim sAccount    
sAccount = wscript.arguments(0)    
Set objSMTP = GetObject("IIS://LOCALHOST/SMTPSVC")    
For Each objInst In objSMTP       
If objInst.class = "IIsSmtpServer" Then          
set objSD = objInst.AdminACL          
set objACL = objSD.DiscretionaryACL          
set objNew = CreateObject("AccessControlEntry")          
objNew.AccessMask = 9 ' read + enumerate          
objNew.AceType = 0 ' ADS_ACETYPE_ACCESS_ALLOWED          
objNew.AceFlags = 2 ' ADS_ACEFLAG_INHERIT_ACE          
objNew.Trustee = sAccount          
objACL.AddAce objNew          
objSD.DiscretionaryACL = objACL          
objInst.Put "adminACL", Array(objSD)          
objInst.SetInfo       
End If
Next   


The problem is that if i reboot the changes also go away... has anybody encountered this problem..? if so is there a solution to it other than editing the forum mail function..?

Also I set the permissions on the SMTP to relay email only from 127.0.0.1 and all the addresses in my LAN but it won't allow me to send emails to emails addresses outside my domain (using an email client)...
FeRnAN
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2003 at 4:29pm
Promoting IUSR to Exchange View Only Admin seems to have fixed the problem..... is it safe to do that..?

still can't relay to foreign email address using an email client... any ideas..?
FeRnAN
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.