Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail: made progress, but still need some help 1

Status
Not open for further replies.

sonun

IS-IT--Management
Dec 26, 2001
384
US
Some time back I had posted that I would be attempting sendmail installation. After grappling with it for many a hours and on many a machines I finally managed to go through it successfully (I think !!!!!!! well at least I made a beginning). I tried sendmail installation mainly on two machines. Both went successfully.
Now the problem is that from one I can send mails to say memyselfandmoreofmyself@hotmail.com successfully but I am not able to reply back to the machine. On another machine where I set up sendmail I can do exactly the opposite, send mails from memyselfandmoreofmyself@hotmail.com to the machine but cant go the other way. Now where should I be looking to troubleshoot.
Also on the machine from which I can send stuff I wanted to install pop and see if it works. Would appreciate if anyone could provide info/links regarding pop3/imap (preferrably pop3) installation and configuration.
Or should I wait until I fix the problem before I install pop3 on any of these servers ??
Waiting for help/advice with utmost anticipation.
Thanks.
 
Hi, it is all with youir TCP/IP working fine.?

Are your Machines connected to th eInternet?

Do you have proxy?

If you have webmin installed will be more easy to administer your sendmail software.

Regards

JorGeVal
 
ok,
got around that problem. I had build a new cf file aprt from changing the permissions on the clientmqueue file -R to 770.
Anyways it works great now. Now all I have to do is set up a pop3 server on the machine and configure clients to connect through this pop3 server.
Would greatly apprecaite links/howto's for pop3/imap configuration and installation.
I have the imap rpms on me. I guess after installing I turn disable = no. But I am not sure where. On the sendmail MTA I have only these two files in /etc/xinetd.d,
rsync wu-ftpd
On another server I have all these files in /etc/xinetd.d
chargen echo-udp imaps.rpmorig linuxconf-web rlogin telnet chargen-udp finger ipop2 ntalk rsh ftp daytime imap ipop2.rpmnew pop3s rsync time daytime-udp imap.rpmnew ipop3 pop3s.rpmorig swat time-udp echo imaps ipop3.rpmnew rexec talk wu-ftpd
Now I want to set up pop3only on the server. So which should I enable and which one should I copy to the sendmail server.
Got a bunch of other questions.
After setting up pop3 on the server I have to set up clients to acesss the pop3 (in outlook). Any how_to's on that ??
Also how do I verify if pop3 is runing on 110 ?
Also, can I have a single sendmail server hadnle two domains ?? Like send out mails from @domain1.com and @domain2.com when I want it to ??
Btw, I do have webmin installed.
Also, why do I need proxy ??
Thanks a bunch.
Would be mighty happy if all question are answered.
 
ok, now I installed imap and enabled,
/sbin/chkconfig ipop3 on
But 'nc machinename 110'
reveals that the port is not open.
So, what should I do.
Thanks.
 
Hi,

If its redhat 7.x, you need to admin the lokkit firewall to open that port :

# /usr/sbin/lokkit (as root)

you can verify that xinetd is listening by :

# /usr/sbin/lsof -i TCP:110

Regards

 
well,
I did /usr/sbin/lokkit and turned the firewall to high.
Then when I did /usr/sbin/lsof -i TCP:110
However, /usr/sbin/lsof -i returns,

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
portmap 452 root 3u IPv4 696 UDP *:sunrpc
portmap 452 root 4u IPv4 697 TCP *:sunrpc (LISTEN)
rpc.statd 467 root 4u IPv4 764 UDP *:643
rpc.statd 467 root 5u IPv4 774 UDP *:32768
rpc.statd 467 root 6u IPv4 778 TCP *:32768 (LISTEN)
ypbind 558 root 5u IPv4 832 UDP *:736
ypbind 558 root 6u IPv4 837 TCP *:739 (LISTEN)
ypbind 558 root 8u IPv4 49837 UDP *:807
ypbind 560 root 5u IPv4 832 UDP *:736
ypbind 560 root 6u IPv4 837 TCP *:739 (LISTEN)
ypbind 560 root 8u IPv4 49837 UDP *:807
ypbind 561 root 5u IPv4 832 UDP *:736
ypbind 561 root 6u IPv4 837 TCP *:739 (LISTEN)
ypbind 561 root 8u IPv4 49837 UDP *:807
ypbind 562 root 5u IPv4 832 UDP *:736
ypbind 562 root 6u IPv4 837 TCP *:739 (LISTEN)
ypbind 562 root 8u IPv4 49837 UDP *:807
lpd 678 root 5u IPv4 998 TCP *:printer (LISTEN)
httpd 686 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 718 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 719 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 720 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 721 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 726 root 16u IPv4 1017 TCP *:http (LISTEN)
sshd2 756 root 3u IPv4 1122 TCP *:ssh (LISTEN)
miniserv. 831 root 3u IPv4 1212 TCP *:10000 (LISTEN)
miniserv. 831 root 4u IPv4 1213 UDP *:10000
X 848 root 1u IPv4 1232 TCP *:x11 (LISTEN)
httpd 6978 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 6979 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 6980 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 6981 root 16u IPv4 1017 TCP *:http (LISTEN)
httpd 6982 root 16u IPv4 1017 TCP *:http (LISTEN)
sendmail 16285 root 4u IPv4 27923 TCP *:smtp (LISTEN)
sendmail 16285 root 5u IPv4 27924 TCP *:submission (LISTEN)
sshd2 17873 root 3u IPv4 49805 TCP *:6010 (LISTEN)

and
# 'chkconfig --list' guves,
atd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
rwhod 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
keytable 0:eek:ff 1:eek:n 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
nscd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
syslog 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
gpm 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
kudzu 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
kdcrotate 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
lpd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
autofs 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
sendmail 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
rhnsd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
netfs 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
network 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
random 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
rawdevices 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
apmd 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
ipchains 0:eek:ff 1:eek:ff 2:eek:n 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
iptables 0:eek:ff 1:eek:ff 2:eek:n 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
identd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
portmap 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
nfs 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
nfslock 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
pppoe 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
crond 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
anacron 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
xfs 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
isdn 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
ypbind 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
arpwatch 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
sshd2 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
vncserver 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:ff 4:eek:ff 5:eek:ff 6:eek:ff
webmin 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:ff 5:eek:n 6:eek:ff
xinetd 0:eek:ff 1:eek:ff 2:eek:ff 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
xinetd based services:
rsync: off
wu-ftpd: off
chargen: off
chargen-udp: off
daytime: off
daytime-udp: off
echo: off
echo-udp: off
time: off
time-udp: off
imap: off
imaps: off
ipop2: off
ipop3: on
pop3s: on

Thanks.
 
Hi,

Hmmmm...

Do you defintely get nothing from :

# /usr/sbin/lsof -i TCP | grep xinetd

It looks odd because you are showing xinetd running under chkconfig and various services active yet they don't seem to be listening.

What happens if you restart xinetd :

# /etc/rc.d/init.d/xinetd restart
# tail /var/log/messages

Regards
 
Thats cool.
Now,
# /usr/sbin/lsof -i TCP:110
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
xinetd 18063 root 3u IPv4 63972 TCP *:pop3 (LISTEN)

However should I have both these up ??
xinetd 18063 root 3u IPv4 63972 TCP *:pop3 (LISTEN)
xinetd 18063 root 4u IPv4 63973 TCP *:pop3s (LISTEN)

Thanks.
 
Hi,

Your command '/usr/sbin/lsof -i TCP:110' is asking specifically for TCP port 110 (regular pop3). pop3s is on port 995 so you'd need to ask for that port or do the xinetd query I showed above :

# /usr/sbin/lsof -i TCP | grep xinetd

Regards

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top