[Mimedefang] X-Scanned-By and MIME-Version headers
Jay Levitt
jay-defang at shopwatch.org
Sat Feb 22 21:04:01 EST 2003
David Skoll wrote:
> On Thu, 20 Feb 2003, Jay Levitt wrote:
>
> > Nope, that doesn't work... that seems to swallow the -U argument that
> > follows. I'm not even sure how to test what the output of all this
quoting
> > is, since I'm sure echo has its own quoting intricacies..
>
> Don't use echo. Just use:
>
> daemon $PROGDIR/$prog -x '""' -P ... etc ...
No, I meant using echo to help debug.. moot point, anyway. It looks like
the problem is not daemon itself, but initlog(8), which daemon uses to
launch mimedefang. As far as I can tell, because initlog is forking
mimedefang directly, rather than going through a shell, there's no way to
pass a null argument to -x. The usual -x "" syntax depends on bash to strip
the quotes and pass a null argument.
Does mimedefang expect to compile on non-gcc compilers? If not, you could
use the double-colon option in getopts to make -x optional, rather than
expecting a null argument to it...
Jay Levitt
More information about the MIMEDefang
mailing list