I figured out that I was running xinetd and the package was installed as a dependency of vmware. I tried adding the -inetd_compat parameter to the xinetd file and was only able to receive mail. Editing the hosts.allow didn't help either. I figured out the configuration for xinetd without use of the -inetd_compat parameter. It goes as follows:
sudo gedit /etc/xinetd.conf and copy and paste this:
Code:
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
Next sudo gedit and create these two files:
/etc/xinetd.d/hotsmtpd
Code:
service hotsmtpd
{
disable = no
type = unlisted
socket_type = stream
protocol = tcp
wait = no
user = nobody
groups = yes
server = /usr/bin/hotsmtpd
port = 2500
}
/etc/xinetd.d/hotwayd
Code:
service hotwayd
{
disable = no
type = unlisted
socket_type = stream
protocol = tcp
wait = no
user = nobody
groups = yes
server = /usr/bin/hotwayd
log_on_failure += USERID
log_on_success += PID HOST EXIT
port = 110
}
Restart the xinetd server
Code:
sudo /etc/init.d/xinetd restart
I'm sure there is a more streamlined way of configuring these files and the log files that are being created are probably unnecessary. I'm not sure if editing of hosts.allow is required if you use this method, my file is blank. I also don't know how secure this method is. Anyone have any additional input?
Bookmarks