Web Hosting Talk







View Full Version : windows smtp


davidb
08-01-2002, 03:59 PM
Ok, I am working with a windows server for work. I know very little about windows in the workplace, except that when it comes to iis and mail, it just sucks at it.

Anyhoot, I have checked web pages, and books that are here and I am confused. Basiclly what we have setup is a domain, then all the otherstuff, proxy server, dns, wins, etc.

I am working on another iis server. Basicly they want forum software(which is installed and working) for their sales reps. Now what I cant get to work is getting the mail sent. A few things first:

1.SMTP IS running on the machine, I can telnet to port 25
2. After attempting to send the message via vbulliten the drop folder is empty

Baiscly mails are not sending, anywhere. I tried connecting to port25 via telnet, but I could not find the syntax to organize a message(I forget what this is called, but like in sendmail/qmail you type To: From: etc)

any suggestions for a fool

matt2kjones
08-01-2002, 04:09 PM
ok wait a sec, have u got relaying switched on?

also, is the website on the same machine as the smtp server?

if so, right click on the smtp server in iis, and i cant remember off my head, but in there somewhere is relaying, basically, set up relaying on your internal ip number.

that should work

so if your internal ip number for the server with the website and mail server is 10.0.0.1 then set up relaying so that it will accept it off 10.0.0.1

if the website and the smtp server are on seperate machines, then setup relaying with the ip address of the machine that the website is hosted on

davidb
08-01-2002, 05:01 PM
I am still trying to get to testing this thing. I cant seem to figure out what commands need to be enterd to send a test mail via telnet. Any ideas?

davidb
08-01-2002, 05:07 PM
btw, I was able to setup relaying for this

matt2kjones
08-01-2002, 05:32 PM
ok so am i right in thinking this

you have setup relaying

then, when the software your using on your site tries to send an email, it looks as if it has sent with no errors, but actually, hasn't sent

or does it report errors?

elsmore1
08-01-2002, 07:47 PM
I think what you are wanting is this?....

helo somedomain.com
mail from: user@somedomain.com
rcpt to: someone@somewhereelse.net
data
To: whatever
From: whomever
Subject: This is a test

This is the test message
.
quit


note blank line following subject line and the dot on the last line all by itself

davidb
08-02-2002, 12:24 AM
Thats what I wsa looking for, Ill give it a try when I get back to work tommarow. Matt, I get no errors. One thing I hate about windows, is that I dont know it like unix. So I dont know what log files to check, etc. Basicly, after setting up relaying, I setup outlook express(on same machine) setup up smtp on outlook, sent a mail, it accepted it with no errors, then no mail sent, as far as I can tell. I assume the drop folder is the folder that gets outgoing mail, I think I saw that in a help file. That never appears to have anything. So Im going to try what was in the previous post and see if I can get an error from that.

davidb
08-02-2002, 11:10 AM
ok, now I know the mail is atleast attempting to send, I check the event viewer and all I get is "message dilivery failed to send to the remote domain". No extra information. Any ideas?

If you know of any extra information I can give you just ask.

Joey
08-02-2002, 11:18 AM
Originally posted by davidb
ok, now I know the mail is atleast attempting to send, I check the event viewer and all I get is "message dilivery failed to send to the remote domain". No extra information. Any ideas?

I wonder if there's a Windows "dig" command that's equal to UNIX. Make sure the domain you're sending to is being resolved and whatnot.

That error message really sucks, not much to work with when that's all they tell you.