Am 01.08.2010 19:10, schrieb rog...@sdf.org:
On Sun, Aug 01, 2010 at 06:33:35PM +0200, Christoph Kukulies wrote:
Am 01.08.2010 18:13, schrieb Jostein Berntsen:
On 01.08.10,18:05, Christoph Kukulies wrote:
I'm trying
mutt -i message.text -s subject -a attachment.jpg recipi...@domain
Is there a way to do that without being prompted?
You can try:
mutt -s subject -a attachment.jpg recipi...@domain< message.text
Jostein
Surprise:
k...@post:~$ mutt -s test k...@validaddress.de<body.txt
Error sending message, child exited 1 ().
Segmentation fault
mutt -d5
And, since it's a segfault, might also try strace of "mutt -d5" doesn't show
any of much use.
cat body.txt | mutt -s "${HOSTNAME}: Subject" b...@me.com
... works for me here.
No difference with me here whether through pipe or stdin redirect.
I opened a can of worms obviously. On the target system (debian) the
stock mutt-1.5.20.tgz doesn't compile because
it can't find libcurses. I have libncurses5 installed. Maybe patches are
required for debian?
A newer package for debian (unless I compile from sources) doesn't seem
to exist.
Any debian experts here? I'm getting error 404 when trying to install
further packages (e.g. strace) . Maybe I got to extend
/etc/apt/sources.list?
--
Christoph