Mutt as command line attachment mailer

2008-12-30 Thread Sebastian Tennant
Hi Mutts,

I've been using mutt as a command line mailer for some time, piping
message bodies to mutt and using various command line switches to set
headers and whatnot.

I recently discovered that all of this can be done by simply piping a
message (headers and body) directly to sendmail, using the -bm and -t
switches, thus rendering mutt as a command line mailer somewhat
redundant.

However, what about attachment handling?

A quick check on http://foldoc.org throws up:

"Multipurpose Internet Mail Extensions

  (MIME) A standard for multi-part, multimedia
 electronic mail messages and World-Wide Web hypertext documents on the
 Internet. MIME provides the ability to transfer non-textual data, such
 as graphics, audio and fax. It is defined in RFC 2045, RFC 2046, RFC
 2047, RFC 2048, RFC 2049, and BCP0013. It uses mimencode to encode
 binary data into base 64 using a subset of ASCII."

This clearly is something of a dark art to the uninitiated and I would
argue that when it comes to MIME, mutt's -a switch makes mutt a very
useful command line _attachment_ mailer.

No doubt someone will tell me that scripting the writing of multi-part
messages that can be piped directly to sendmail is easy.  Perhaps it
is.  The question is, is it easier than using mutt?

Sebastian



Re: Mutt as command line attachment mailer

2008-12-30 Thread bill lam
On Tue, 30 Dec 2008, Sebastian Tennant wrote:
> However, what about attachment handling?

does nail/mailx help?

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩091 張九齡  望月懷遠
海上生明月  天涯共此時  情人怨遙夜  竟夕起相思
滅燭憐光滿  披衣覺露滋  不堪盈手贈  還寢夢佳期


Re: Mutt as command line attachment mailer

2008-12-30 Thread Sebastian Tennant
Quoth bill lam :
> On Tue, 30 Dec 2008, Sebastian Tennant wrote:
>> However, what about attachment handling?
>
> does nail/mailx help?

It may handle attachments quite well, I don't know, but IIRC I chose
mutt over nail/mailx as a plain command line mailer because nail/mailx
doesn't provide an easy way (or any way) to set the sender address on
the envelope.

Sebastian



Re: Deleting local and imap Mailbox

2008-12-30 Thread Michelle Konzack
Am 2008-12-29 15:34:17, schrieb George Davidovich:
> If it helps, I can confirm deleting IMAP folders does work with
>   courier-imap-4.4.1,2
>   Mutt 1.5.18

OK, I will ask on the courier list and then try to  contact  the  Debian
Maintainer maybe it is a Debian related Bug...

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
   
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature