To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


EIT Planet's Security News
 Security Vulnerabilities Prove Increasingly Costly
 IPS Market Approaches $1 Billion
 U.S. Named Top Spammer

Security Products
 Family Keylogger (Family Keylogger)
 modusGate (Vircom Inc.)
 Kernel Hotmail MSN Password Recovery (Nucleus Data Recovery)
 Outlook 2003 PST Password Recovery (PST Password Recovery)
 PST Password Remove (PST Password Remove)
 Zemana Anti Keylogger (Vickit, Inc.)


Go Back   Antionline Forums - Maximum Security for a Connected World > General Technology Forums > General Computer Discussions

General Computer Discussions If you've got a non-security, computer-related post that doesn't fit in Hardware nor Operating Systems, this is where it goes!

Reply
 
Thread Tools Display Modes
Old September 5th, 2005, 08:35 AM   #1
apreasher
Junior Member
 
Join Date: Nov 2002
Posts: 21
apreasher is an unknown quantity at this point
Which ports needed to be opened for SMTP Server?

Hi ,
I'm new to this thing. I 've to set up SMTP server to send outgoing mail for my company. i've tried to setup SMTP server that came with Widows 200 server but i've got
an error message :
550 Unable to relay for customer@mail.com
so I think this 's because firewall has blocked it.


what 're the ports both incoming and outgoing needed to be open ? and could you give me a link to really good tutorials of how to set up SMTP server .

thanks for helping.
apreasher is offline   Reply With Quote
Old September 5th, 2005, 08:42 AM   #2
Katja
Banned
 
Join Date: Jul 2005
Posts: 511
Katja has much to be proud ofKatja has much to be proud ofKatja has much to be proud ofKatja has much to be proud ofKatja has much to be proud ofKatja has much to be proud ofKatja has much to be proud of
Port 25, normally.
Katja is offline   Reply With Quote
Old September 5th, 2005, 08:58 AM   #3
apreasher
Junior Member
 
Join Date: Nov 2002
Posts: 21
apreasher is an unknown quantity at this point
Thanks Katja that problem 's solved now .

But there's new problem. My SMTP server's behind the firewall . So every message trying
to send is cannot reach the destination . all of them were put on to the bad mail folder .
in inetpub\mailRoot\Badmail.
I wonder what to check or to configure.

thanks
apreasher is offline   Reply With Quote
Old September 5th, 2005, 09:17 AM   #4
sec_ware
Senior Member
 
Join Date: Mar 2004
Posts: 557
sec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond repute
Hi

Quote:
that problem 's solved now .
Question: How did you solve it?


Within the SMTP rfc[1], 550 is a generic error code for a "RCPT Failure"
reply. Usually, the mail server specifies the failure with more details,
e.g. "Unable to relay for ...".

In this particular case, the error is most likely caused because the mail server
did not recognise you as an authorised user.

You tried to use the mail-server[2,3] to send an email to an external
email-address without proper authentication (if you would be able
to do so, the mail-server would be known as an "open relay").
This is the reason for my question. I would like to avoid your
mail server to be blacklisted[4].


Cheers

/edit: your mail server needs SMTP (delivery) outgoing and incoming (Port 25)
In addition, POP3 (Port 110) may be needed.
If you are behind a router, make sure that the necessary ports are forwarded
to your mail server. But still, be sure you understand what you are doing
before opening the port to the public.


[1] http://www.ietf.org/rfc/rfc0821.txt
[2] http://www.microsoft.com/technet/pro...87a2b88f2.mspx
[3] http://support.microsoft.com/kb/q230235/
[4] http://www.ordb.org/
__________________
If the only tool you have is a hammer, you tend to see every problem as a nail.
(Abraham Maslow, Psychologist, 1908-70)
sec_ware is offline   Reply With Quote
Old September 5th, 2005, 09:31 AM   #5
apreasher
Junior Member
 
Join Date: Nov 2002
Posts: 21
apreasher is an unknown quantity at this point
Quote:
Question: How did you solve it?
while i'm waiting for this thread's reply. i'm trying to search google at the same time , and i found the solution in microsoft kb's (the second link exactly) . and i put my client's ip in the Relay restictions .

But all the message trying to send is return by the demon.

Quote:
:
" Delivery to the following recipents failed.

customer@email.com
"
i made sure the email is valid and my SMTP server can connect to Internet with properly configured DNS lookup.


i search the google around and come up with these questions :

1. what's the Smart host ?
2. Can IIS SMTP Virtual server send E-mails without forwarding them to Smart host?
3. If can how to configure it ? or how to test if it can send email?
4. May be it's because of firewall ? because my SMTP server is under heavily firewall, so i need to know whichports exactly need to be opened beside port 25, both incoming and outgoing.
apreasher is offline   Reply With Quote
Old September 5th, 2005, 09:44 AM   #6
sec_ware
Senior Member
 
Join Date: Mar 2004
Posts: 557
sec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond reputesec_ware has a reputation beyond repute
Hi

Hmm...Smart host, Relay hosts are terms usually referring to servers,
which are allowed to send emails to the public (smart host) or send emails
to the corporate mail server (relay host). In this context, the smart host
and relay host are in a different "zone" than the corporate servers,
e.g. DMZ (smart host, relay host) and LAN (corporate server).
The goal is to separate hosts facing the internet from the "inner" LAN.
(edit: oh god, sloppy 5' language... )

Any mail server should be able to send emails without this kind of extra
configuration. Again, be sure you got protection from the managment,
when you are setting up a mail server for your company...

Try first to send an email to a local account, using a local account.
Test the connection "to the Internet" by establishing a connection
to a known mail server on port 25, which is the only port required
at the moment.

Good luck

Cheers
__________________
If the only tool you have is a hammer, you tend to see every problem as a nail.
(Abraham Maslow, Psychologist, 1908-70)
sec_ware is offline   Reply With Quote
Old September 5th, 2005, 10:12 AM   #7
apreasher
Junior Member
 
Join Date: Nov 2002
Posts: 21
apreasher is an unknown quantity at this point
Quote:
Try first to send an email to a local account, using a local account.
Test the connection "to the Internet" by establishing a connection
to a known mail server on port 25, which is the only port required
at the moment.
Thanks now it seems like my SMTP Server cannot connect to any mail server on port 25 so it cannot send e-mail to the internet . So i'm going to request to the network guy to open port 25 for my server and i hope that will make the server to be able to send mails to internet ...
apreasher is offline   Reply With Quote
Old September 6th, 2005, 04:36 AM   #8
apreasher
Junior Member
 
Join Date: Nov 2002
Posts: 21
apreasher is an unknown quantity at this point
after open port 25 i still can not send mail .
It said delivery failed...
apreasher is offline   Reply With Quote
Old September 6th, 2005, 02:46 PM   #9
rcgreen
AO Curmudgeon
 
rcgreen's Avatar
 
Join Date: Nov 2001
Posts: 2,699
rcgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond reputercgreen has a reputation beyond repute
It depends on what you are trying to accomplish. If you have a normal
consumer type internet connection, broadband or dialup, through an
internet service provider, you will probably need to set their mail server
as your smart host, relaying all your mail through them like any other
consumer/user.

If, on the other hand, you have a permanent connection to the net,
a fixed ip address and a domain name, your server should be able
to send mail directly to most mail servers on the net, assuming that
the mail is destined to a user on that server

If you don't have a fixed ip address, many servers will refuse your connection
due to increasingly strict spam filters.

Look carefully at the error messages. Are they from remote servers
refusing your connection or is it a firewall not letting you out.
__________________
I came in to the world with nothing. I still have most of it.
rcgreen is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:45 AM.












Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.