ANNOUNCE: Version 3.14-1 released
Mike Dunderdale
mdunder at GE.UCL.AC.UK
Wed May 15 14:03:37 IST 2002
On Wed, 15 May 2002, Julian Field wrote:
> >
> >#!/bin/sh
> >exec $0.`uname` $*
> >
> >and then having tnef.Linux and tnef.SunOS ? That way, peeps wouldn't have
> >to fiddle with the links for the programs. I would think something similar
> >could deal with the platform specifics in the conf file (only the path at a
> >quick glance?)
>
> Good idea. Hadn't thought of doing that. Will increase the load a bit
> though as a shell will have to be started, whereas currently it is just
> exec'd from MailScanner with no startup overhead.
Although you could do a single uname at the beginning of the mailscanner
script to set $ARCH or similar and then use exec tnef.$ARCH to avoid
reshelling each time.. Make sense?
M.
More information about the MailScanner
mailing list