LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-01-2008, 12:43 AM   #1
timgerr
LQ Newbie
 
Registered: Feb 2004
Location: Michigan
Distribution: Debian
Posts: 27

Rep: Reputation: 15
Cannot connect to email server via external connection


Hello all,
I have a Postfix, dovcot, Mailscanner config for a mail server and it has been working fine. Now for some reason I am not able to connect to the SMTP to send mail via thunderbird. I can telnet to the device from the server telnet host.mail.com 25 and send myself an email. But when I try to telnet to the mail server from an external device (from a different ip) I am unable to get a connection. I should get a ssl certificate because I have enabled ssl and tls. When I go to my maillog file I do not see the entry for any external connections. I am not sure what to try now, any ideas?

Thanks for the read,
timgerr
 
Old 10-01-2008, 12:56 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you saying that you can connect to localhost but not from elsewhere? if so, it sounds like a firewall or port forwarding issue, but check the postfix is listening on more than localhost with

netstat -nalp | grep :25
 
Old 10-01-2008, 08:53 PM   #3
timgerr
LQ Newbie
 
Registered: Feb 2004
Location: Michigan
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Here is what I got:
netstat -nalp | grep :25
(No info could be read for "-p": geteuid()=500 but you should be root.)
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN -
tcp 0 0 ::ffff:72.52.242.XXX:143 ::ffff:69.216.129.XXX:2515 ESTABLISHED -


So it looks like the port is open, now what? Thanks for the help by the way.

timgerr


Quote:
Originally Posted by billymayday View Post
Are you saying that you can connect to localhost but not from elsewhere? if so, it sounds like a firewall or port forwarding issue, but check the postfix is listening on more than localhost with

netstat -nalp | grep :25
 
Old 10-01-2008, 09:59 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Most likely firewall. What's the output of

iptables -L

You didn't answer my question by the way.

Last edited by billymayday; 10-01-2008 at 10:01 PM.
 
Old 10-02-2008, 11:07 AM   #5
timgerr
LQ Newbie
 
Registered: Feb 2004
Location: Michigan
Distribution: Debian
Posts: 27

Original Poster
Rep: Reputation: 15
Sorry about the first question. I can connect via local command line vi telnet. I can also send mail via local install of squirrel Mail. Here is my output for the command iptables -L.

[root@host ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Thanks for the help, mail is not my forte.

timgerr

Quote:
Originally Posted by billymayday View Post
Most likely firewall. What's the output of

iptables -L

You didn't answer my question by the way.
 
Old 10-02-2008, 05:44 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What's the exact message you get when you try to telnet in from outside?

What are the settings in main.cf for inet_interfaces (so output of grep inet_interfaces /etc/postfix/main.cf)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Email client connect to Microsoft Exchange Server! cnmmd Mandriva 2 05-12-2011 03:07 PM
cant connect to the server from the same external subnet cccc Debian 5 03-07-2006 02:34 PM
Email Server not picking up external emails Mike-BB Linux - Software 5 01-23-2006 05:17 AM
Email programs won't connect to server alysander Linux - Networking 3 09-04-2004 11:35 AM
What is a good Email client to connect to a Notes Server ikw38 Linux - Software 1 07-28-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration