-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julian Gilbey schrieb:
> Good bug report, thanks!  I don't actually know instantly how to fix
> it: -t is such a standard option.  There are other mailers which would
> expect the -t option as well, and I don't want to assume that only
> /usr/sbin/sendmail needs the -t option.
I think you have several options here, with varying tradeoffs.

- - Break backwards compatibility. Don't append the -t option to
$sendmailcmd anymore, instead make the default $sendmailcmd
"/usr/sbin/sendmail -t". Expect users to adjust their config if they use
non-sendmail mailers that need a -t option.

- - Try to be backward compatible. Would require to recognize those
mailers that do need the -t option, and append it automatically. Don't
know how hard it is to get a complete mailer list that need the -t
option, sendmail is the only one I can think of.

- - Don't change the current behaviour, and document the hard-coded -t
option in the man page. Users like me using qmail-inject then could use
a shell-wrapper that just ignores any -t option, and passes all the
other ones to qmail-inject.


Regards,
  Bastian
- --
  ,''`.                  Bastian Kleineidam
 : :' :                    GnuPG Schlüssel
 `. `'    gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEkJyyeBwlBDLsbz4RAmpQAJ9TYWtiFxBgNH7nL1k5V2/xZ92AnACfQrp9
Rg87Thlojt5bgoqjPRrMT3A=
=hXuN
-----END PGP SIGNATURE-----

Reply via email to