On Thu, 16 Mar 2000 14:13:48 +0100 , "Petr Novotny" writes:
> You may. However, I think that it w=
> ould eventually boil down to
> creating that CDB for tcpserver anyway - othe=
> r options just seem
> too slow.
I've been using NFS for this purpose for a while,
but not with CDB. To record a connection from a
"foreign" IP (i.e. not in the regular CDB file,
which allows most of our traffic), I touch a file
in a directory on an NFS volume. Then I chain a
program into the smtpd invocation which checks for
the existence/age of that file, and if it exists/is
young enough, sets RELAYCLIENT before it execs the
smtpd.
An NFS filesystem is relatively low overhead, compared
to "open connection to SQL database and INSERT,"
etc. I might have to write a custom RPC service
sometime, because I'm trying to move away from NFS
as much as possible.
--
Chris Mikkelson | Slashdot: because a million lemmings can't
[EMAIL PROTECTED] | be wrong.