Hope I didn't post this twice...

The problem is that I can't make qmail accept relayclients.
I did everything like they say in Qmail FAQ #5.4 but qmail-smtpd still 
rejects any relay attempts. I get messages saing the domain is not listed
in rcpthosts. And I thought setting RELAYCLIENT would cause
qmail-smtpd to relay without reading rcpthosts... Do I have to recompile
tcp_wrappers or something ??
        However, there seems to be something odd in the way qmail-smtpd
behaves: After putting "all: all:deny" into /etc/hosts.deny
(/etc/hosts.allow still contained the line "tcp-env: etc...") port 25
refused to answer at all. It didn't answer even if put "tcp-env: all:
allow" in /etc/hosts.allow. Weird.

some conf files:
--->8---

/etc/hosts.allow:
ALL: 127.0.0.1, 192.168.0.0/255.255.255.0 : allow

tcp-env: 127.0.0.1, 192.168.0.1, 192.168.0.2: setenv RELAYCLIENT

# tried also:
# tcp-env: 127.0.0.1, 192.168.0.1, 192.168.0.2: setenv = RELAYCLIENT
# tcp-env: 127.0.0.1, 192.168.0.1, 192.168.0.2: setenv = RELAYCLIENT ""
# tcp-env: 127.0.0.1, 192.168.0.1, 192.168.0.2: setenv RELAYCLIENT ""

--->8---

/etc/hosts.deny:
#ALL: ALL: deny

--->8---
/etc/inetd.conf:
smtp    stream  tcp     nowait  qmaild  /usr/sbin/tcpd /var/qmail/bin/tcp-env 
/var/qmail/bin/qmail-smtpd

--->8---

my system:
AMD K6@233 / Linux 2.2.7 / RedHat 6.0
qmail-1.03 (compiled from sources)
tcp_wrappers-7.6-7 (i386 rpm binary)



A very desperate admin,
-- 
Jari Tenhunen - [EMAIL PROTECTED]
                                        
                                                        Stardate [-30]2959.10

Reply via email to