The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ports zsujith HP-UX 1 12-31-2007 01:45 PM
ports??? eloquent99 IP Networking 4 02-24-2003 02:56 PM
Ports Ralf UNIX for Dummies Questions & Answers 2 12-10-2002 09:07 AM
Ports Yaki UNIX for Dummies Questions & Answers 6 10-10-2002 09:07 AM
TCP/UDP Ports eugene_mayo IP Networking 5 08-26-2002 04:27 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-25-2001
Registered User
 

Join Date: Sep 2001
Location: Portland, Oregon USA
Posts: 24
ports

how can i check to see if my mail ports are open (port 110 for incoming and 25 for outgoing)? I want to do this because i am having a problem sending email out. If one of the ports has a problem, how can i open it? Thanks in advance!
__________________
DJ At Work - Professional Crowd Mover -
Forum Sponsor
  #2  
Old 10-25-2001
doeboy's Avatar
Registered User
 

Join Date: Oct 2001
Location: Here
Posts: 137
Try telneting to those ports and see if you get any responses. If the daemons are there, you should get some kind of response.
  #3  
Old 10-25-2001
Registered User
 

Join Date: Sep 2001
Location: Portland, Oregon USA
Posts: 24
how do you do it? is it xxx.xxx.xxx.xxx:25
__________________
DJ At Work - Professional Crowd Mover -
  #4  
Old 10-25-2001
solvman's Avatar
Registered User
 

Join Date: Sep 2001
Posts: 67
Try

netstat -a | more

ur gonna see all the ports on your host,
those ones with LISTENT are currently with open connection and waiting for client to connect. ESTABLISHED then connection is established. Do "man netstat", you're gonna get lots of useful info.

Regards
  #5  
Old 10-26-2001
guest100's Avatar
Banned
 

Join Date: Oct 2001
Location: London, UK
Posts: 146
djatwork has raised a very interesting problem here. Is it true that you need port 110(POP3) to be open for sending email out ??
I can send email out fine but when I check my port 110 is not open. The problem I have is that I can not receive email at all or can not send email locally (between my users).

Here is what I get using the netstat command :

<pre>

% netstat -a |grep 25
*.1225 Idle
isgsi01.32925 isgsi01.32917 32768 0 32768 0 ESTABLISHED
isgsi01.32917 isgsi01.32925 32768 0 32768 0 ESTABLISHED

% netstat -a |grep 110
isgsi01.1521 10.153.6.198.1108 16210 0 8760 0 ESTABLISHED

% netstat -a |grep mail
%
I get nothing here.

</pre>

It seems like I get nothing relevant here about ports 25 and 110. I still can send email out to the outside world, any ideas at all please guys?

Also trying the 'newaliases' command I get :

<pre>

% newaliases
WARNING: World writable directory /var
WARNING: World writable directory /etc
dbm map "Alias0": unsafe map file /etc/mail/aliases: No such file or directory
Cannot create database for alias file /etc/mail/aliases

</pre>

Anyone played around with sendmail before?

Any help will be appreciated.
Thanks
  #6  
Old 10-26-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
No, you do not need port 110 "open" to send mail. If you are operating a POP3 server process normally listens on port 110. However, you do not need a POP3 server to send mail.

You do not need port 25 "open" to send mail. If you are receiving mail an SMTP server process normally listens on port 25. However, you do not need an SMTP listening process to send mail (only receive).
  #7  
Old 10-26-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Quote:
WARNING: World writable directory /etc
uhm... that's not good...
You (or your admin) should change that. Since Unix will check the directory permissions first, it may be possible for you to clobber a file... example:
( I almost put in something to do with /etc/passwd or /etc/shadow, but decided against it... don't want to contribute TOO much to delinquency...)

Code:
$ cd /etc
$ cat > resolv.conf.me
#Haha! I'm so evul! Now you can't resolve anything!
^D
$ mv resolv.conf.me resolv.conf
Like I said above, anything in /etc or /var can be overwritten... That's bad news.
Google The UNIX and Linux Forums
Closed Thread

Tags
sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0