On Sun, Dec 19, 1999 at 07:23:28PM +0100, bert hubert wrote:
> On Sun, Dec 19, 1999 at 07:04:38PM +0100, [EMAIL PROTECTED] wrote:
>
> > tcpserver -x /etc/tcp.smtp.cdb -u 31 -g 30 o smtp /var/qmail/bin/tcp-domcheck -x
>/etc/dom.smtp.cdb /var/qmail/bin/qmail-smtpd
> >
> > where tcp-domcheck is a small tool that does the domain checking as you
> > describe. Perhaps a bit easier than patching it in.
>
> While more modular, I think that it should be integrated in tcpserver, as
> this already does forward and reverse name lookups. With the volumes of mail
> we transfer, I don't want to involve yet another process.
Code done, I'll put it online in a few minutes.
It's a terribly ugly hack, it's not as flexible as tcpserver, all it can do
is either leave RELAYCLIENT alone or set it to "" if:
[example, assume TCPREMOTEHOST="blah.casema.net"]
it can find 'blah.casema.net'
it can find '.casema.net'
or it can find '.net'
in it's cdbfile.
This should do it for you.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++