Forum OpenACS Q&A: Response to Qmail Question...

Collapse
Posted by Jamie Ross on
Subject: Response to Qmail Question... Yep, followed all of the assorted instruction so it "should" work. I am guessing there is some permission or something set wrong somewhere.. I just don't know where

the tcp.smtp rules looks like

 
127.:allow,RELAYCLIENT=""  
192.168.:allow, RELAYCLIENT=""  
:allow  
The qmail-smtpd daemon is running under daemontools as :
 
#!/bin/sh  
QMAILDUID=`id -u qmaild`  
NOFILESGID=`id -g qmaild`  
exec /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/recordio /var/qmail/bin/qmail-smtpd 2>&1   
The log entry for smtpd shown below. Notice is doesn't "deny" the incoming message (not even if I set default rule to :deny), it just doesnt seem to be setting the RELAYCLIENT and bypassing rcpthosts like it should
 
@400000003cea9a2000817a7c tcpserver: status: 1/40  
@400000003cea9a2000842614 tcpserver: pid 15838 from 192.168.100.50  
@400000003cea9a200092cc14 tcpserver: ok 15838 development.research.kinetx.com:192.168.100.20:25 mycroft.research.kinetx.com:192.168.100.50::53910  
 400000003cea9a2000b96eb4 15838 > 220 development.research.kinetx.com ESMTP  
 400000003cea9a20016fbaac 15838 < EHLO mycroft.research.kinetx.com  
 400000003cea9a200170c064 15838 > 250-development.research.kinetx.com  
 400000003cea9a200170e38c 15838 > 250-PIPELINING  
 400000003cea9a200170fee4 15838 > 250 8BITMIME  
 400000003cea9a20018a43a4 15838 < MAIL FROM: <jross@research.kinetx.com> 
 400000003cea9a20018b1a7c 15838 > 250 ok  
 400000003cea9a2001937eec 15838 < RCPT TO: <jross@starboundtech.com> 
@400000003cea9a2001944df4 15838 > 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1   
 400000003cea9a2001ab19e4 15838 < QUIT  
@400000003cea9a2001ad5fec tcpserver: end 15838 status 0  
@400000003cea9a2001ad86fc tcpserver: status: 0/40  
 400000003cea9a2001ade8a4 15838 > 221 development.research.kinetx.com  
@400000003cea9a2001aef244 15838 > [EOF]  
so I am stumped...