Need help with mail service on Sol 10


 
Thread Tools Search this Thread
Operating Systems Solaris Need help with mail service on Sol 10
# 1  
Old 08-05-2009
Question Need help with mail service on Sol 10

Hello All:
I am trying to configure mail service on Solaris 10 and I am unable to send using mailx. It appears the server may not be listening on port 25:

bash-3.00# mconnect
connecting to host localhost (127.0.0.1), port 25
connect: Connection refused

services is configured to use port 25 for smtp:

bash-3.00# grep -i smtp /etc/inet/services
smtp 25/tcp mail

I can't figure out how to get port 25 up and listening.

Thanks.
# 2  
Old 08-05-2009
What says:
Code:
svcs -xv sendmail

?
# 3  
Old 08-05-2009
bash-3.00# svcs -xv sendmail
svc:/network/smtp:sendmail (sendmail SMTP mail transfer agent)
State: online since Tue Aug 04 18:28:30 2009
See: man -M /usr/share/man -s 1M sendmail
See: /var/svc/log/network-smtp:sendmail.log
Impact: None.
# 4  
Old 08-05-2009
Code:
svcs -p sendmail
netstat -an|grep 25

?
# 5  
Old 08-05-2009
bash-3.00# svcs -p sendmail
STATE STIME FMRI
online 18:28:30 svc:/network/smtp:sendmail
18:29:30 2390 sendmail

bash-3.00# netstat -an|grep 25
192.168.49.131.1521 192.168.49.131.35364 49152 0 49256 0 ESTABLISHED
192.168.49.131.80 10.20.30.145.25267 65535 0 49071 0 FIN_WAIT_2
192.168.49.131.5056 192.168.49.131.35773 49152 0 49254 0 ESTABLISHED
192.168.49.131.5055 192.168.49.131.35775 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35781 49152 0 49254 0 ESTABLISHED
192.168.49.131.36025 192.168.49.131.1521 49152 0 49152 0 ESTABLISHED
192.168.49.131.1521 192.168.49.131.36025 49152 0 49355 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35792 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35794 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35798 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35802 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35806 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35809 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35815 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35817 49152 0 49254 0 ESTABLISHED
192.168.49.131.5056 192.168.49.131.35822 49152 0 49254 0 ESTABLISHED
# 6  
Old 08-05-2009
Code:
pfiles 2390

?
# 7  
Old 08-05-2009
bash-3.00# pfiles 2390
2390: /usr/lib/sendmail -Ac -q15m
Current rlimit: 1024 file descriptors
0: S_IFCHR mode:0666 dev:308,0 ino:6815752 uid:0 gid:3 rdev:13,2
O_RDONLY
/devices/pseudo/mm@0:null
1: S_IFCHR mode:0666 dev:308,0 ino:6815752 uid:0 gid:3 rdev:13,2
O_WRONLY
/devices/pseudo/mm@0:null
2: S_IFCHR mode:0666 dev:308,0 ino:6815752 uid:0 gid:3 rdev:13,2
O_WRONLY
/devices/pseudo/mm@0:null
3: S_IFDOOR mode:0444 dev:317,0 ino:56 uid:0 gid:0 size:0
O_RDONLY|O_LARGEFILE FD_CLOEXEC door to nscd[137]
/var/run/name_service_door
4: S_IFCHR mode:0000 dev:308,0 ino:60732 uid:0 gid:0 rdev:21,705
O_WRONLY FD_CLOEXEC
/devices/pseudo/log@0:conslog
5: S_IFREG mode:0600 dev:85,10 ino:162890 uid:25 gid:25 size:33
O_WRONLY|O_CREAT|O_EXCL
/var/spool/clientmqueue/sm-client.pid
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Mail service

I am using rhel OS 7 , how to enable sendmail option , i have looked all places /bin/mail is this place to start with ? (6 Replies)
Discussion started by: anil529
6 Replies

2. UNIX for Dummies Questions & Answers

Script to monitor BI service and trigger a mail

Hello friends, I am new to shell scripting.I am assigned a task in Unix to prepare a script which will check if OBI 10g services are running or not and to send email if the services are down.Any help will be appreciated. I tried searching for it in the blog and came across the following code ... (1 Reply)
Discussion started by: pradeep467
1 Replies

3. Shell Programming and Scripting

Basic script for monitor send mail service

Hi All Need help Can any one share a basic script that is used for monitor sendmail service whether online, offline.etc in solaris Thanks in advance Zimmy (5 Replies)
Discussion started by: zimmyyash
5 Replies

4. Solaris

JASS - upgrading from Sol 9 to Sol 10

Do I need to reinstall/rerun JASS after upgrading from Sol9 to Sol10? Just wondered if the upgrade procedure overwrote any of the settings etc? (0 Replies)
Discussion started by: psychocandy
0 Replies

5. UNIX for Advanced & Expert Users

luupgrade: Sol 8 -> Sol 10 u7 (5/09)

Greetings Forumers! I ran into an issue after running luupgrade on v880 running Solaris 8. I want to upgrade to Solaris 10. When I rebooted the system I noticed the file systems listed as such: # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t1d0s0 ... (2 Replies)
Discussion started by: bluescreen
2 Replies

6. Solaris

Turning off UDP service in Sol 10 zone.

I've got a virtual host (zone) that I've been asked to lock down the network services on. Using Nmap, I've listed the running services on the box. One of them is 5001/udp. Running netstat -na on the host itself confirms this. Normally I'd use "lsof", but this does not run properly on... (0 Replies)
Discussion started by: akbar
0 Replies

7. UNIX for Dummies Questions & Answers

mail service

How to restart mail service ?? thanks (1 Reply)
Discussion started by: moreg
1 Replies

8. OS X (Apple)

My Mail Service

Hello! Id like to configure my mail command, please, can anyone help me? thank you all (2 Replies)
Discussion started by: Jariya
2 Replies
Login or Register to Ask a Question