Scarier qmail hack

According to the RT/FM, there is a ‘scary qmail hack’ courtesy Matthias
Juchem of Wednesday 27 November 2002. I have optimised it somewhat to a
single line in /var/qmail/alias/.qmail-support-default or equivalent

|/usr/bin/preline /opt/rt3/bin/rt-mailgate --queue ${EXT2%%-*} --action
${EXT3:-correspond}

It’s things like this that keep me using qmail. Anyway this appears to
work nicely for me, but your mileage might vary. I guarantee nothing
except that it will take up space. In particular you could run into
trouble with the shell expansions (my system uses bash but I have a
feeling these are fairly portable) and lack of error checking.

Sam

Sam Johnston
Australian Online Solutions
1300 132 809