On 1997-02-06T03:29:11,
nelson@crynwr.com (Russell Nelson) said:
> if grep '^hax0r\.org$' /var/qmail/control/local; then
> echo '&bill@intervista.net' >~bill/.qmail
> fi
>
> if grep '^hax0r\.org:alias-hax0r$' /var/qmail/control/virtualdomains; then
> echo '&bill@intervista.net' >~alias/.qmail-hax0r-bill
> fi
>
> # I don't recommend using anything but a user name on the RHS in virtualdomains
> if grep '^hax0r\.org:hax0r$' /var/qmail/control/virtualdomains; then
> echo '&bill@intervista.net' >~alias/.qmail-hax0r-bill
> fi
All those hacks you have got to do for stuff which sendmail can do easily
make me question whether qmail is a drop in replacement for sendmail in
tricky mail setups. And the tons lookups done on all those alias files in
those setups make me question the speed too.
Remember the thread where one user wanted to extract additional information
from a mail? Remember the solution? If memory serves, it had something to do
with spawning a child, piping the message into it etc? The qmail /etc/alias
emulation, which involves spawning a program for each mail too?
I don't want to question qmail (it still has too many advantages to run it
instead of sendmail) but perhaps qmail needs are more general interface for
address/mail rewriting? A program which would be spawned by qmail-send at
qmail startup time and would be running for the entire qmail session? Much
like the squid redirector or the Apache mod_rewrite facility...
This would make extending qmail in a safe, high-performance way easier.
What do you think?
--
Lars Marowsky-Bree Voice: +49-571-63663 PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/ Mail: lmb@pointer.teuto.de
PGP-Id: 0x09E360C5 / FF 2A 82 E8 6B 85 79 23 9C DA B5 81 D4 FC 29 E6
< to prevent forgery, all email by me is signed with PGP >
nelson@crynwr.com (Russell Nelson) said:
> if grep '^hax0r\.org$' /var/qmail/control/local; then
> echo '&bill@intervista.net' >~bill/.qmail
> fi
>
> if grep '^hax0r\.org:alias-hax0r$' /var/qmail/control/virtualdomains; then
> echo '&bill@intervista.net' >~alias/.qmail-hax0r-bill
> fi
>
> # I don't recommend using anything but a user name on the RHS in virtualdomains
> if grep '^hax0r\.org:hax0r$' /var/qmail/control/virtualdomains; then
> echo '&bill@intervista.net' >~alias/.qmail-hax0r-bill
> fi
All those hacks you have got to do for stuff which sendmail can do easily
make me question whether qmail is a drop in replacement for sendmail in
tricky mail setups. And the tons lookups done on all those alias files in
those setups make me question the speed too.
Remember the thread where one user wanted to extract additional information
from a mail? Remember the solution? If memory serves, it had something to do
with spawning a child, piping the message into it etc? The qmail /etc/alias
emulation, which involves spawning a program for each mail too?
I don't want to question qmail (it still has too many advantages to run it
instead of sendmail) but perhaps qmail needs are more general interface for
address/mail rewriting? A program which would be spawned by qmail-send at
qmail startup time and would be running for the entire qmail session? Much
like the squid redirector or the Apache mod_rewrite facility...
This would make extending qmail in a safe, high-performance way easier.
What do you think?
--
Lars Marowsky-Bree Voice: +49-571-63663 PGP-key avail. via server
HomePage: http://www.teuto.de/~lmb/ Mail: lmb@pointer.teuto.de
PGP-Id: 0x09E360C5 / FF 2A 82 E8 6B 85 79 23 9C DA B5 81 D4 FC 29 E6
< to prevent forgery, all email by me is signed with PGP >