LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-04-2008, 02:58 AM   #1
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Rep: Reputation: 30
Question Sendmail issue!


hi all,

i just installed (via apt) sendmail 8.13 on my debian etch. although i am able to connect on the localhost 25. but i can't connect when i supply the global ip or my domain name.

here's wat error i get:
Code:
telnet dspace.ipu.ernet.in 25
Trying 202.x.x.x...
telnet: Unable to connect to remote host: Connection refused
do i need to perform some extra configs after installation before sendmail gets ready for everything..?
 
Old 08-04-2008, 03:00 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Use your LAN IP when you are on the LAN, or localhost, not your WAN IP.
 
Old 08-04-2008, 07:46 AM   #3
Phil-B
LQ Newbie
 
Registered: May 2007
Location: UK
Distribution: Redhat variants
Posts: 10

Rep: Reputation: 0
Assuming that you want to accept remote SMTP connections and that your linux box has been assigned a routable IP (from your ISP) you should be able to telnet it.

I have not used Debian but your installation may have set up some iptables rules which block access to port 25 from public networks.

Have a look by typing:

iptables -L

If you only want to use it as a local SMTP server for delivering your own email, just use localhost or the LAN IP like Mr. C has said.
 
Old 08-04-2008, 02:09 PM   #4
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Quote:
Originally Posted by Phil-B View Post
Assuming that you want to accept remote SMTP connections and that your linux box has been assigned a routable IP (from your ISP) you should be able to telnet it.
If the OP's server is connected to a firewall/router appliance that does not support NAT loopback, only LAN IPs will work.
 
Old 08-18-2008, 02:16 AM   #5
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Original Poster
Rep: Reputation: 30
hi..

sorry for the late reply!
i have checked the iptables rules, & none of them is blocking port 25.
actually, i had setup sendmail on a RHEL system with the same WAN ip & ISP.

also, whenever i boot the system, i get some kind of error messages regarding sendmail. how can i see those messages?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sendmail issue bman22 Linux - Networking 7 07-23-2008 01:57 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 01:10 PM
Sendmail issue Anibal Slackware 4 12-08-2005 03:29 PM
sendmail issue... TreyAU21 Linux - Software 1 10-27-2005 12:43 AM
sendmail issue archangel Linux - Software 3 11-13-2002 07:45 PM


All times are GMT -5. The time now is 12:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration