Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79284 - qmail tcpserver does not set RELAYCLIENT
Summary: qmail tcpserver does not set RELAYCLIENT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-23 20:15 UTC by Chuck Lin
Modified: 2005-01-24 00:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Lin 2005-01-23 20:15:27 UTC
tcpserver is running:
Process table:
qmaild    6461  6457  0 23:00 pts/1    00:00:00 /usr/bin/tcpserver -p -v -R -x /etc/tcprules.d/tcp.qmail-smtp.cdb -c 40 -u 201 -g 200 0.0.0.0 smtp /var/qmail/bin/qmail-smtpd

# netstat -pl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 *:smtp                  *:*                     LISTEN      6461/tcpserver      

rules cdb is correct, and strings tcp.qmail-smtp.cdb shows the allowed ipaddress for relay
when I tried to use the machine to relay email, it tells me "553 sorry, that domain isn't in my list of allowed rcpthosts"

I've built machines before with similar configuration to use tcpserver to allow for selective relaying, but I've never been so stuck.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-23 23:00:52 UTC
are you using USE=ipv6 for tcpserver?
try recompiling sys-apps/ucspi-tcp without it.
Comment 2 Chuck Lin 2005-01-24 00:09:36 UTC
ok I modified /etc/make.conf to USE="-ipv6" and emerge sys-apps/ucspi-tcp.
it works fine now.
thanks
-chuck