> root@host# cat >/usr/local/bin/edit_rcpthosts
> #!/bin/sh
> #
> # edit_rcpthosts.sh
>
> $EDITOR /var/qmail/control/rcpthosts
>
> awk '{print "*@="$1}' /var/qmail/control/rcpthosts > \
> /var/qmail/alias/.tmda/lists/rcpthosts
> root@host# chmod 744 /usr/local/bin/edit_rcpthosts
Yes, yes, automating such changes would be easy to do, but that
doesn't get at the roots of the problem:
[1] The chances that I'll forget to run this shell script after
editing rcpthosts is just as high as me forgetting to modify the
filter file in the first place.
[2] What if someone else is doing something similar on the box? If I
modify rcpthosts without modifying THEIR list, then I could break
things as well. (Purely hypothetical situation, but hopefully you
see my point.)
Gre7g.
=================================================================
Gre7g Luterman [EMAIL PROTECTED] http://www.templeofluna.com/
Stay informed: http://www.templeofluna.com/keeper/mailinglist.htm
I want to be the master of time and space, a living god,
...and then I'd like to visit Europe.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users