On Thu, 18 Mar 2004, Matt Sergeant wrote:
On 18 Mar 2004, at 22:55, Charlie Brady wrote:
I'll have a look at adding cdb lookup and setting of environment variables based on connecting IP address.
It already does that bit.
I don't see where. I was particularly speaking of tcpserver's use of
tcp.smtp.cdb, searching for a.b.c.d, a.b.c., a.b., a. and "" until a hit
is found, then setting a list of specified environment variables.
Shouldn't be hard to add.
Ah, I was confused. I thought you meant the TCP* variables. Yes, adding in support for those should be reasonably easy.
Except for relay hosts. But I already added config file support for allowed relay hosts when I added the select server.
If $ENV{RELEAYCLIENT} is set - which it never is AFAICT.
No, check the plugin code again. You can specify relay clients via either a text or cdb config file in the qpsmtpd/config directory now.
Matt.
