-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I outlined as solution in my last mail a shell script which ignores all
"-t" options. I wrote such a thing in Python and have it attached for
users who don't want to patch the package.
Regards,
Bastian
- --
,''`. Bastian Kleineidam
: :' : GnuPG Schlüssel
`. `' gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE5KMzeBwlBDLsbz4RAmLsAJ4pnBoXkfrY0O7xqbkQr61W83yrnQCeIiAA
oIDe32p54HpNhML5c3uZa+8=
=E+8O
-----END PGP SIGNATURE-----
#!/usr/bin/python2.4
import sys, os, subprocess
# construct qmail-inject command line arguments
args = ["/usr/sbin/qmail-inject", "[EMAIL PROTECTED]"]
# add original command line arguments, minus "-t"
args.extend(x for x in sys.argv[1:] if x != "-t")
# execute qmail-inject
p = subprocess.Popen(args, stdin=subprocess.PIPE, close_fds=True)
line = sys.stdin.readline()
while line:
p.stdin.write(line)
line = sys.stdin.readline()
p.stdin.close()
sys.exit(p.wait())