On Sun, Dec 19, 1999 at 06:57:56PM +0100, bert hubert wrote:
> On Mon, Dec 20, 1999 at 01:02:00AM +0800, Michael Boman wrote:
>
> > If you have for an example a C net of computers (common when it comes to
> > ISP's (doh!) use the ':allow,RELAYCLIENT=""' in the tcpserver settings. If
> > your users are floating around (a'la hotmail etc) you might wanna do
>
> Is anybody aware of patches that would allow me to specify for example
> '.casema.net:,RELAYCLIENT=""'? It would make administration easier for us.
I actually thought of that today on a boring train-trip (train-trips are
mentally and intellectually _very_ productive for me), I was thinking of
something along these lines:
right now, you probably have a line like:
tcpserver -x /etc/tcp.smtp.cdb -u 31 -g 30 0 smtp /var/qmail/bin/qmail-smtpd
(logging and some paths left out)
We could replace that with something similar to:
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.
> If it isn't out there, and other people want it, I'm willing to write this
> for tcpserver.
Hmm then we have 2 dutch ISPs actively coding qmail stuff :) (we're the other
one :)
I think it'd be dead easy to do.
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++