Solved

How to set a mail server (POSTFIX) behind NAT and blocked port #25 by ISP on CentOS 7

Posted on 2016-10-16
5
82 Views
Last Modified: 2016-10-27
I am trying to build a web server in my home. I have static IP address and my web server works really nice but my mail server is not. I also want to send mails from my computer but my ISP is blocking port #25 . I tried to use port #587  and set the important settings but my mail server POSTFIX is trying to connect other mail servers (like google's or msn's) over port #25. How can i achieve this. I have made hours of searches on internet but i could not solve my problem. I am a real newbie so i need help very much.

Thank you,
Caner
0
Comment
Question by:Caner SAYGIN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 41845656
Yum install postfix
Within main.cf look at relay and transport forward all outgoing to your ISPs server using port 465 or 587.

For inbound, you would need to setup postfix to listen on ports 465 SSL and 587 off port 25
On the external firewall forward ports.....

If your ISP is blocking incoming port 25 to you, your options are limited to finding a provider that will accept messages destined to your domain that can be configured to direct the traffic to a preferred port, or use a different set of mechanisms where your server will connect to the remote and retrieve ............
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 500 total points
ID: 41845735
A number of ISPs like Comcast block all use of port 25, both incoming and outgoing.  You may have to get a business account where they allow it.
0
 

Accepted Solution

by:
Caner SAYGIN earned 0 total points
ID: 41855610
Hello arnold

My settings were correct but my port is blocked by ISP so there is no way out :(

Hello Dave,

I have found out that my ISP is blocking port 25 so i opened a VPS and build my own mail server on it.

Thank you for your answers.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41855616
You're welcome, glad to help.
0
 

Author Closing Comment

by:Caner SAYGIN
ID: 41861863
Because i solve my problem by myself.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question