By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,660 Members | 1,302 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,660 IT Pros & Developers. It's quick & easy.

Open smtps port on centOS linux

100+
P: 110
I'm trying to run a php based mailer to send e-mail via my gmail, and apparently I need to connect on port 465.

I've checked which ports are open on my server, and 465 is closed.

I've tried running
open 465, and open localhost:465. I didn't get errors on either of these commands, but following up with nmap -st localhost does not show port 465 being open.

I've searched high and low for a command to open the port, but couldn't find anything userful.

The OS is CentOS,
If anybody could point me in the right direction, I would be grateful.

Pete
Mar 13 '08 #1
Share this Question
Share on Google+
3 Replies

sicarie
Expert Mod 2.5K+
P: 4,677
Did you try editing the iptables settings?

There are a few (hopefully) useful links returned by a Google search of "centos open port."
Mar 19 '08 #2

100+
P: 110
Thanks sicarie,

I thought their was a command which would open the port.
I did end up editing my 'sendmail' config, but within a few hours, it seems somebody was able to highjack my server and use my e-mail domain to send spam, so I shut it down again.

I guess it's better to leave this stuff to the pros. Seems port 465 is closed for good reason.
Mar 26 '08 #3

micmast
100+
P: 144
as root
iptables -A INPUT -p tcp --sport <portnumber> -j ACCEPT

that will open that port on your firewall
but then again, I don't get what you are trying to achieve, could you give me a bit more information? Another thing you might want to check: google uses ssl imap to retreive mail...
Mar 28 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.