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

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

postfix not responing to telnet to port 25

i followed this walkthru http://www.freespamfilter.org/FC4.html and when i get to the point where it says testing postfix i cannot telnet into it is there any rules i have to change on fedora?
0
jnettech
Asked:
jnettech
1 Solution
 
Kerem ERSOYPresidentCommented:
If you can telnet to yuor_IP_address 25 port then it means you have your firewall in action. Please try to dshutdown it during your experiments. To shutdown the firewall issue the command:
service iptables stop

When you're finished with yur experiments enable Firewall rules. t accomplish this go to Network Settings and select the box nex to Smtp mail.

Cheers,
K.
0
 
jnettechAuthor Commented:
Still no luck
0
 
ai_ja_naiCommented:
..is postfix up and running..?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
Kerem ERSOYPresidentCommented:
Then it seems that postfix is not running..

Will you please post the ourput of the command here:

# netstat -anpt | grep "0.0.0.0:25"

and also this:
chkconfig --list postfix

lastly this:
service postfix status
0
 
jnettechAuthor Commented:
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      3276/master and postfix is up and running
0
 
Monis MontherSystem ArchitectCommented:
Check this tip:

in main.cf

inet_interfaces = all

then restart postfix

/etc/init.d/postfix restart

Note: reload will not be enough you must restart like the command above

then

nmap 127.0.0.1
you should get 25/tcp

then nmap your.local.ip.address
nmap 192.168.0.10 for example
you should get 25/tcp

Now login to your postfix server and
telnet 127.0.0.1 25

you should get in

Now from another machine
telnet 192.168.0.10 (assuming this is your ip)

you should also get in

Good Luck
0
 
Kerem ERSOYPresidentCommented:
Since your postfix is running I'll suggest you to logon to your console and try :

- to telnet your localhost

telnet localhost 25

Does it respond?

- If it does try to telnet your IP address:
telnet IP.address.of.server 25

Does it respond (I mena from the console)

- If it does did you check the IPTables Firewall if SMTP (port 25) is allowed ?

Will you post the output of your /etc/sysconfig/iptables ?
0
 
jnettechAuthor Commented:
is it iptables -nL for the output?
0
 
jnettechAuthor Commented:
also what is the best flavor of Linux to use for this app?
0
 
Kerem ERSOYPresidentCommented:
Iptables -nL output is so comples. /etc/sysconfig/iptables is the source of it.. Post either of you want here.

I believe the best flavor for serving an aplicaiton is aServer unix platform such as RedHAT, Debian etc. If you don't want to pay for support I'll suggest CentOS.
0
 
jnettechAuthor Commented:
Let me reinstall everything under centOS and i will post the outcome on here
0
 
Kerem ERSOYPresidentCommented:
Ok. But it seems to me that you have a problem with your Firewall. Just check if it allows port 25 access or not before reformatting the whole system : )
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now