Link to home
Start Free TrialLog in
Avatar of CSTAR05
CSTAR05

asked on

Setting up SMTP server

I am trying to set up an SMTP server on Windows 2008. It is already there in Win 2008 and I added the Feature. But When I issue the command "telnet mail.domain.ext 25" the connection fails "Connecting To mail.domain.ext.. Could not open connection to the host, on port 25"
Avatar of jakethecatuk
jakethecatuk
Flag of United Kingdom of Great Britain and Northern Ireland image

by default, SMTP is configured not to relay or accept connections.

you need to allow 127.0.0.1 (if you are using the local machine) or the IP address of the machine you are using to connect to SMTP to test it.

this is done under SMTP properties/Access/Connection and SMTP properties/Access/Relay
Avatar of CSTAR05
CSTAR05

ASKER

I issued "telnet localhost 25"
Microsoft ESMTP Mail service version 7.0.6001.18000 is ready
The OS is running another server already and I added SMTP serverr. I need to give an IP address for the SMTP server. How do I bind IP address for the SMTP
when you say 'When I issue the command "telnet mail.domain.ext 25"', I take it that you have configured DNS so that it knows where 'mail.domain.ext' is.
Avatar of CSTAR05

ASKER

how do I test whether the server is working or not?
I added 127.0.0.1 under relay
Avatar of CSTAR05

ASKER

  I tried sending mails using the following commands

MAIL FROM: postmaster@server.america.cstar.com
RCPT TO: x@cstar.com
DATA
TEST
.
The mail is not being delivered instead they are listed under bad mails.

There are 2 domains under SMTP server
server.americas.cstar.com and *.com

Is the FROM address correct?
Avatar of CSTAR05

ASKER

The mails are not delivered . Either it goes to bad mail or giving Error "Delivery to the following receipient failed"
ASKER CERTIFIED SOLUTION
Avatar of jakethecatuk
jakethecatuk
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CSTAR05

ASKER

1. Hope I installed SMTP correctly since I am able to issue SMTP commands. I configured Relay restrictions, Fully qualified domain and smarthost (I didn't configure Masquerade domain- will it cause any problem) In our other SMTP server there is no MAsquerade domain.

2. Configured DNS.

3.Firewall is turned off.
4. I gave a IP address for SMTP which is different from the server address.




if you are using a smarthost, you may have to configure that to allow your new SMTP host to relay through it.
also, from your new SMTP server, you need to test that your can telnet via SMTP to your smarthost and other SMTP hosts.

Avatar of CSTAR05

ASKER

I set up the email services and it is working fine. Now I need to transfer the services from another server to this one. But I am not able to add the IP address in SMTP server properties.
Capture.PNG