[Bug 310996] [NEW] doesn't understand "-i" (infile) which breaks mail / sendmail from the command line

Marques Johansson marques at displague.com
Tue Dec 23 20:11:00 UTC 2008


Public bug reported:

Binary package hint: nbsmtp

When running:

echo test | mail -s "test" email at example.com
send-mail: invalid option -- 'i'
Usage: send-mail -f from at address.com -h relayhost [OPTIONS] (use -H for help)
Can't send mail: sendmail process failed with error code 1

An strace reveals that "mail" attempts to run "/usr/sbin/sendmail -i -
-- email at example.com" (taking input from a temporary file).

This breaks the command line "mail", and "sendmail" commands which are
used by many other programs and utilities, including the PHP "mail()"
function.

A "-i" parameter should be implemented similar to the one provided by
other MTAs.

** Affects: nbsmtp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
doesn't understand "-i" (infile) which breaks mail / sendmail from the command line
https://bugs.launchpad.net/bugs/310996
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list