Re: stdin as mbox
- To: mutt-users@xxxxxxxx
- Subject: Re: stdin as mbox
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 21 Aug 2007 20:44:22 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=j2kcviI6n6Pwe5X/3w1KZAQ5SWM=; b=KyLp4xOZYdGCq76mD924NtSbZJVIBmHUUfovM5JA1efQmtX6ExEYA173gpwKLk6PM25PZ/zohnNWX87CEl5prM6YV68ZFr7VUtFMsF+QOlYWPdJKtg572Yv0xgd+0naNeGN7TQNxQeboHMM/PWKx+9+up9IPP8QYVecg37GCJ7U=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=GSwsyVVHAemx5qT+WsF3izSwDQlpOfqSw3/MBrUNohdx5sBvU8M8xDOeuIzMGpnkTN93J9LHX64hj6sTzTBxOn/p05gGzNJJLkpQCoXFpcMb2JUXFYDuoSnrePWPbUHDPezfpJ3qOjetClJW9FAgYoYRrKqDJ/ExkUoczctOGLI=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070822012141.GA5157@xxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070822012141.GA5157@xxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-07-25)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, August 21 at 06:21 PM, quoth malahal@xxxxxxxxxx:
>Is it possible to send stdin as an mbox to mutt?
No... mutt needs to be able to seek to random locations in an mbox,
which would force it to either keep the entire thing in memory, or to
create a file to keep it in... at which point, you may as well put it
in a file yourself and point mutt at it. For example:
#!/bin/sh
tmpfile=`mktemp -t foo.XXXXXXXXXXX`
cat - >$tmpfile
mutt -f $tmpfile
rm $tmpfile
~Kyle
- --
My definition of marriage:....it resembles a pair of shears, so joined
that they cannot be separated; often moving in opposite directions,
yet always punishing anyone who comes between them.
-- Sydney Smith
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFGy6MGBkIOoMqOI14RArfyAKDlLY6Kv0jKCdnWC7/TuCSeDh9NgwCgsXn/
Il2+sJX7t6xxHBIr8PNZ75A=
=gvVW
-----END PGP SIGNATURE-----