Dear friends , first of all sorry for my english i speak portuguese.
Wat i have done to make things work on a e-smith distro..
I have erased the two obtuse-smtp packages of e-smith
instaled rpms for developping on e-smith
rebuild the e-smith qmail rpm packages with smtp.auth patches
if you want them please ask i will send to you or send to this list or to
the owner of list
then I rpm -Uvh --force /usr/src/redhat/RPMS/i386/qmail-1.03.i386.rpm
in my hosts.allow i put
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates-custom directory. For more
# information, see
http://www.e-smith.org.
#
# copyright (C) 1999-2001 e-smith, inc.
#------------------------------------------------------------
# appletalk services
afpd : 127.0.0.1, 192.168.0.0/255.255.255.0
papd : 127.0.0.1, 192.168.0.0/255.255.255.0
in.identd: 127.0.0.1 ALL
# IMAP server
imapd : ALL
# LDAP servers
slapd : ALL
# ftp is disabled entirely by FTP access limits
# pop3 server
qmail-popup : ALL
#smtp-auth server
tcp-env : ALL
# sshd daemon
sshd: ALL
# telnet access is currently disabled
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
############################################################################
##############################
my hosts.deny
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see
http://www.e-smith.org.
#
# copyright (C) 1999, 2000 e-smith, inc.
#------------------------------------------------------------
ALL: ALL
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
############################################################################
#################################
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see
http://www.e-smith.org.
#
# copyright (C) 1999, 2000 e-smith, inc.
#------------------------------------------------------------
# Files in the xinetd.d directory are not used by e-smith
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID USERID EXIT DURATION
log_on_failure = HOST RECORD USERID
}
service auth
{
socket_type = stream
wait = no
user = nobody
server = /usr/sbin/in.identd
server_args = -l -e -o -q
}
# ftp access limits has been set to 'disabled entirely'
# in the e-smith services database.
# telnet has been flagged as 'disabled'
# in the e-smith services database.
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += DURATION USERID
log_on_failure += USERID
}
service pop-3
{
socket_type = stream
user = root
wait = no
server = /var/qmail/bin/qmail-popup
server_args = localhost /bin/checkpassword /var/qmail/bin/qmail-pop3d
Maildir
}
service smtp
{
socket_type = stream
protocol = tcp
wait = no
user = root
#qmaild
server = /var/qmail/bin/tcp-env
server_args = -r /var/qmail/bin/qmail-smtpd gw.sol.henke.com.br
/bin/checkpassword /bin/true
log_type = FILE /var/log/maillog
# env = NODNSCHECK="" ! Disables DNS Checks
for envelope's sender
# env = RELAYCLIENT="12.34.56.78" ! not to be applied
with relayclients/relaydomains!
log_on_success = HOST PID USERID EXIT DURATION
log_on_failure = HOST RECORD USERID
# log_on_success = HOST
# log_on_failure = HOST RECORD
}
############################################################################
#################################
the only thing that is not working is when i setup on xinetd.conf the user
qmaild to use smtp
the user is not authenticated even i chmod 0777 /bin/checkpassword
i do not know if this is a security hole but if it is please help me to
make
things work with security.
my new step is to put rbl , odeiavir to work
I hope this work to you guys
i need some templates to the /etc/e-smith/templates
Thanks
Durval Luis Henke