Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have had problems before with SMTP port 25 (smtp) - some PC's were sending spam mail throught that port.

So we blocked that and only allowed only outgoing smtp servers we needed.

Howerver, i read there is 587 port (smtp mail submission) which, for example, is used by gmail - i`v unblocked some common ports like http, https, ftp, ssh etc - is it safe to unblock 587 port to any destination ip address? Is/can spam be sent through that port like it was through 25?

share|improve this question
up vote 1 down vote accepted

Yes, mail can be sent through port 587, so spam can be sent as well. That being said, most mail server using port 587 will also ask for authentication, so it should be much less of a problem. To be even safer, you could have a local mail forwarding server that require authenticaion and require all mail to go through this server.

share|improve this answer

Yes that port is safe as it requireds the user to authenticate before allowing the mail to be relayed.

share|improve this answer
That does not mean it is safe. There are lots of spam vectors that use auth. – benc Oct 21 '10 at 6:53
Of course but they would have to obtain the auth details first and if you are running a decent implementation over TLS thats not easy – topdog Oct 21 '10 at 7:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.