Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

SMTP inbound gets denied while outbound works

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 General ] >> Server Publishing >> SMTP inbound gets denied while outbound works Page: [1]
Login
Message << Older Topic   Newer Topic >>
SMTP inbound gets denied while outbound works - 12.Apr.2006 7:22:05 PM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
Hi all,

I'm still kinda new to ISA 2004, and am experiencing problems with my Exchange server.
I don't know what the exact problem is but I hope someone can tell/explain me what I should do.
I'll tell you what my network looks like.

Internet > Router > Server > Clients

The Router has port 25 forwarded to the server.
The Server has ISA 2004 Standard (SP2) and Exchange 2003 installed.

ISA Rules:

  #1 Name: Exchange Server
  Protocol: SMTP Server
  From: External
  To: Localhost

  #2 Name: SMTP Send
  Protocol: SMTP
  From: Localhost
  To: External

If setup the Exchange server to allow internet mail, I've tested it and it works (from internal to hotmail).
However, when I wrote a reply to the email I never received it.
So what I did was write another reply while having the ISA Log Query running in the background.

I received these results:

xxx.xxx.xxx.xxx; RULE Exchange Server STATUS Initiated
xxx.xxx.xxx.xxx; PROTOCOL SMTP (no RULE) STATUS Denied
xxx.xxx.xxx.xxx; RULE Exchange Server STATUS Closed Connection

Could anyone tell me what I should do?
Is there any tutorial/howto available that I should look at?
Please help!
If there is any other information you need, feel free to ask.

Thanks In Advance,


WildDaemon
Post #: 1
RE: SMTP inbound gets denied while outbound works - 12.Apr.2006 7:45:33 PM   
donb

 

Posts: 10
Joined: 14.Mar.2006
Status: offline
I'll try to help.

What is working for me is the following:

I have found that if you "Publish a Mail Server" you will have problems, so "Create New Server Publishing Rule" is what you want to select.

Call it Exchange SMTP Server
Put in your internal IP address of the Exchange server
Selected Protocol --> SMTP Server
Listen for requests --> check the External
and Finish it out.

An article that helped me was the ISA Server 2004/Exchange Server Deployment Kit at the Microsoft site: http://www.microsoft.com/isaserver/techinfo/Guidance/2004/configuration.mspx  clicking on the Exchange Deployment Kit link

HTH
DonB

(in reply to WildDaemon)
Post #: 2
RE: SMTP inbound gets denied while outbound works - 12.Apr.2006 8:28:15 PM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
hi donb,

Thanks for the reply, I tried it right away.
But it didn't work.
I'll tell you what I received in the Query:

xxx.xxx.xxx.xxx; PROTOCOL SMTP Server; RULE Exchange SMTP Server; STATUS Initiated
xxx.xxx.xxx.xxx; PROTOCOL SMTP Server; RULE Exchange SMTP Server; STATUS Closed
xxx.xxx.xxx.xxx; PROTOCOL SMTP Server; RULE Exchange SMTP Server; STATUS Initiated
xxx.xxx.xxx.xxx; PROTOCOL SMTP Server; RULE ; STATUS Denied
xxx.xxx.xxx.xxx; PROTOCOL SMTP Server; RULE Exchange SMTP Server; STATUS Closed

It did the exact same thing, do you have any other solutions you can think of?
I saw I made a little typo in my first message, the Exchange Server RULE has the TO field to the NIC external IP address (instead of Localhost).

Thanks In Advance,


WildDaemon

(in reply to donb)
Post #: 3
RE: SMTP inbound gets denied while outbound works - 12.Apr.2006 9:35:15 PM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
Ok guys,

I have an update for you, it might help a little (well not for me though.. hehehe).
I did what donb suggested which is > read the Exchange Guide. So I read it and configured almost everything they told me about Exchange and SMTP settings.
The only thing I did not do was adding an external DNS server to the Delivery Settings screen.

Anyways, I only tried to send from hotmail servers right, well now I tried to send a mail with Telnet.
When I tried:

RCPT TO: <address@domain.extension>

It gave me a 501 5.5.4 Unknown Parameter TO: <address@domain.extension>
When I tried it again, it gave me a 500 5.3.3 Unrecognized command.
The one line that did work was:

RCPT TO:<address@domain.extension>
(notice the space is missing between the : and the address!)
I received the message in a few seconds on my screen when I checked my mail.
So I looked at the ISA Query, and it only told me a connection was initiated, it never told me that it was closed.

I hope this helps someone to help me solve the problem.

As always.. Thanks In Advance,


WildDaemon

(in reply to WildDaemon)
Post #: 4
RE: SMTP inbound gets denied while outbound works - 13.Apr.2006 5:35:29 PM   
jchiver

 

Posts: 25
Joined: 7.Oct.2005
Status: offline
Hi,

This might help.

On the ISA firewall locate the networks section then network rules. Create a new network rule that will route traffic from external to internal.

at the end of the wizard it will ask you to chose either NAT or Route. In my configuration Route worked but if it does not then try NAT.

Jeremy


(in reply to WildDaemon)
Post #: 5
RE: SMTP inbound gets denied while outbound works - 13.Apr.2006 6:18:44 PM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
Hi jchiver,

Thanks for the reply, but it still doesn't work.
I have 2 NICs in my server, a 192.168.x.x address (connected to router) and a 10.200.x.x address (connected to clients section).
The NIC for the internal network is added to the Internal Network (in Networks > Networks > Internal [Network representing the internal network.]), which actually is localhost.
Should I add the NIC for the external network (the 192.168.x.x) to the Internal Network?

Thanks for the reply,


WildDaemon

(in reply to jchiver)
Post #: 6
RE: SMTP inbound gets denied while outbound works - 13.Apr.2006 6:25:01 PM   
jchiver

 

Posts: 25
Joined: 7.Oct.2005
Status: offline
Can you turn on the logging on the ISA and try and access exchange. Can you then post the log here.

is the ISA just a test system at the moment or do you use it for other things.

(in reply to WildDaemon)
Post #: 7
RE: SMTP inbound gets denied while outbound works - 13.Apr.2006 6:40:25 PM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
Hi jchiver,

Yeah sure I can turn on the logging (you mean the Query right? or do you mean the files it creates?).
The server I use now is only for testing at the moment, it's nothing special for now.

But I've tested it with hotmail and it didn't work, then I've tested it from telnet and it worked.
When hotmail sends me the email it stops when it's half done.. I looked into the results for you and it says 'FWX_E_BAD_TCP_CHECKSUM_DROPPED'.

Thanks for the reply,


WildDaemon

(in reply to jchiver)
Post #: 8
RE: SMTP inbound gets denied while outbound works - 14.Apr.2006 7:58:43 PM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
Hello,

Was the 'FWX_E_BAD_TCP_CHECKSUM_DROPPED' the text you were looking for?
If not, could you tell me what you -do- want to see (in a little detail if possible).

I've tried another few things, like changing the option so packets seem to be coming from the ISA server, and changing the default IP address Exchange uses (I've also changed that in the ISA Rules).
But all changes are no luck.

I still think it's strange that with Telnet I can send emails without any trouble, and when I try to reply on my email.. the packets gets dropped.
Could someone explain me the difference, or does this make you think as well?

Awaiting your reply,


WildDaemon

(in reply to WildDaemon)
Post #: 9
RE: SMTP inbound gets denied while outbound works - 17.Apr.2006 11:25:18 AM   
WildDaemon

 

Posts: 12
Joined: 7.Jan.2006
Status: offline
Anyone?
This problem still isn't fixed yet.


WildDaemon

(in reply to WildDaemon)
Post #: 10

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 General ] >> Server Publishing >> SMTP inbound gets denied while outbound works Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts