The config/relayclients file is only used by the check_relay plugin and it does not set the according ENV variable when it finds a match (in my local version at least, haven't checked new releases in a while). Usually $ENV{RELAYCLIENT} is set by the program that accepts the TCP connection, in many (most?) cases 'tcpserver'.
Which raises an interesting question. Should check_relay set that var for use in the rest of the plugins? I personally don't need it, but obviously it's not a total non-issue. -f On Wed, 1 Sep 2004, Hasse Hagen Johansen wrote: > Hi > > I have tried to use the check_goodrcptto plugin with a couple of > different qmail server (right now i am running qmail-ldap). On all of > them I have the problem when relaying through my smtp (with the address > in the relayclients conf file), that check_goodrcptto check the address > I am trying to send to and failing....it its like it doesn't honor the > relayclients conf file correctly. I haven't tried to set the RELAYCLIENT > env variable. I can se that the plugin is checking for that, so maybe I > should try that or get the plugin to read the relayclients conf file. > > If this mails come through it honors the RELAYCLIENT env variable > > Regards > > Hasse H. Johansen >