Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Help?
  FAQ FAQ  Forum Search   Register Register  Login Login

Help?

 Post Reply Post Reply
Author
kspare View Drop Down
Senior Member
Senior Member


Joined: 26 January 2005
Location: Canada
Status: Offline
Points: 334
Post Options Post Options   Thanks (0) Thanks(0)   Quote kspare Quote  Post ReplyReply Direct Link To This Post Topic: Help?
    Posted: 08 June 2005 at 2:05am

I've got two questions:

1. In IIS6, is there a way to add a domain to an smtp virtual server from the command line?

2. in the alloweddomains.txt how would I add a domain to that text file from the command line?

Thanks in advance!

Kevin

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2005 at 11:42am

Kevin,

On 1.  Look at the "Admin Scripts" folder of IIS.  Dangerously powerfull stuff there.

On 2.  Am I being stupid?   Edit drive:\path\file  opens the DOS editor.

Regards,

The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

Back to Top
kspare View Drop Down
Senior Member
Senior Member


Joined: 26 January 2005
Location: Canada
Status: Offline
Points: 334
Post Options Post Options   Thanks (0) Thanks(0)   Quote kspare Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2005 at 11:51am

I am already using the admin scripts to create the websites and the dns, but I still need to create a domain under the virtual smtp server and the admin scripts thta I have don't do that.

Thanks for the tip Dan ;) I was unaware of the dos editor lol

I want to drop the domain name into the text file with my script, I just can't remember how.

Back to Top
keizersozay View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote keizersozay Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2005 at 4:44pm
Originally posted by kspare kspare wrote:

I want to drop the domain name into the text file with my script, I just can't remember how.

 

how about "echo domainname.com >> drive:\path\file.txt"
the two '>' will cause the echo statement to append to the file.txt file

Back to Top
kspare View Drop Down
Senior Member
Senior Member


Joined: 26 January 2005
Location: Canada
Status: Offline
Points: 334
Post Options Post Options   Thanks (0) Thanks(0)   Quote kspare Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2005 at 4:46pm
Thanks! that is exactly what I needed. I didn't know about the second >> i'm trying to find a good book on iis6 to help automate my customer creatation now.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.066 seconds.