Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

Unblocking SMTP

Our ISP currently has port 25 blocked. They say we cannot open it because the local port is a random one. How can we allow outgoing emails on our servers, while not requiring the opening of a large number of ports? This is a Cisco PIX515
0
dcman99
Asked:
dcman99
  • 2
  • 2
  • 2
  • +4
2 Solutions
 
Tim HolmanCommented:
Sounds like complete and utter bull to me !
Instructions how to setup an internal mail server so that it can send and receive mail via the PIX are here:

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a0080094466.shtml

Local server port is NOT random - it will always be port 25 talking to port 25 on another mail server, followed by renegotiations on higher ports that are covered by the state table.  
I would advise 'no fixup smtp' on this PIX, as this is well known to cause issues with Exchange.
0
 
td_milesCommented:
I need to correct tim on one thing, the source port on the sending server will NOT be port 25. It will be a random high port. The destination port on the receiving server will always be port 25.

Other than that, everything else is correct and his advice on what to do is good.

"fixup smtp" doesn't just break Exchange, it causes problems with Lotus Domino as well. I just turn it off all the time now to save any problems. Does anyone have a situation where they are using it and find it helpful ?

The ISP sounds like the don't know what they are talking about...
0
 
hawgpigCommented:
I'm not an e-mail expert by far, but correct me if I am wrong....doesn't mail go out on a pop3 port 110? I know incoming mail comes in on port 25, but I allways thought that outgoing was port 110....guess i need to read up on my exchange....

FYI, The pix uses the fixup protocol to "Inspect" traffic coming in on port 25 to see if it is actual e-mail, if it is not it shuts down the connection. Since, exchange uses ESMTP instead of SMTP the pix has a hard time distinquishing traffic. That is why we turn off the smtp fixup protocol if we are using EXCHANGE, etc. If the server on the inside is runing regular SMTP....keep the fixup protocol turned on....it will prevent e-mail specific attacks.....
0
Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

 
lrmooreCommented:
Agree with td that your ISP is blowing smoke up your a...
Why would an ISP purposely block SMTP for a business-class service? If it is not a business service but rather a consumer priced service, then they have every right to block outbound email as well as inbound email to servers. What's in your service agreement?
I would definately fire that ISP and get service elsewhere.
0
 
Tim HolmanCommented:
Hawpig - from a mail server perspective incoming mail hits SMTP port 25.  Outgoing mail talks to SMTP port 25 on mail servers out in the wild.
From a client perspective, users can retrieve POP3 email by talking to a server running POP3 on port 110.
0
 
dcman99Author Commented:
I just wanted to make a clarification on my original question.  The reason our host says they can not open the mail ports is because they have filters set up to prevent the ongoing DoS attacks that hit our servers.  These filters I guess block the mail ports that we need to use to use the PHP mail function.  Here is the email from our web host:

---
If we go ahead and unblock ports, the DOS will resume.  They are still
attacking your servers.

If you would like us to remove the filters so you can mail and use your
PHP functions, please let me know.  That being said, once the filters are
removed, your servers will have to handle the DOS attack.
---

My question is... Is there a way to unblock these mail ports, without leaving them venerable to the DoS attacks?  Is there any way to just unblock the outgoing traffic through these mail ports, but keep the incoming DoS traffic blocked?  It just doesn't sound right that our mail functions have to be rendered useless to block the DoS attacks.  Any suggestions?

Thanks
0
 
hawgpigCommented:
Sure,
Just block the IP addresses doing the attack....Why would they filter port 25 and not block the attacking IPs???? Is your server updated?? is exchange updated??? are all critical updates complete?? Man that makes no sense. Is there hundreds of IP addresses attacking your mail server....if it is only 10 or 20 block those addresses at your boarder router and reopen port 25.....
What type of DoS attack was you getting???
0
 
dcman99Author Commented:
The DoS attack is from many random spoofed IPs.
0
 
PennGwynCommented:
Many ISPs block outbound port 25 to force their customers to use the ISP's SMTP server.  This makes it very hard for clients to send out spam and email viruses, and is a Good Thing -- for residential-class service.  If you have business-class service, your email server should be an exception to this rule; failing that, set your email server to relay all outbound traffic (except for your own domain) via the ISP's server, and move on.

0
 
What90Commented:
dcman99,

Who's the ISP?
Over in the Exchange forums a number of folks have been told they're on a "business" network, usually  xDSL and have found out that port 25 traffic is block unless they used the ISP as a smart relay. They get very upset if you try to find away around them and may even terminate your connection, as breack of contract.

Basically these are not business class ISP's, they are home user ISP's and suffer from script kiddies and poor user knowledge which floods their networks.

As already mentioned, if this is the case, swap to another ISP.
0

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

  • 2
  • 2
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now