Setting subscribe/list within muttrc (using IMAP)

2007-08-24 Thread David J. Weller-Fahy
Perhaps I'm looking for a feature that doesn't exist, and I'm almost
certainly missing something simple, but here's the background:

I currently use a script to connect to my IMAP server, and get a list of
all mail folders.  I then parse that list to get the mailing list
folders (all named list.mailing-list-name), and use that to generate the
necessary rc commands (subscribe and from).  I would like to remove that
extra connection to the server, and just use rc commands plus a little
shell scripting to do the same thing.

I've searched TFM, and the mailing list via marc.info, but haven't been
able to find anything useful.  I believe I should be able to do what I
need to do if I can figure out how to pass the value of ^ to the shell.

So, is there a way to pass the value of ^ to the shell?  If so, would
someone mind showing me an example?

If there is something about this in the manual/man pages/wiki/mailing
list, a simple scoff and pointer will be sufficient. ;]

Oh, and if there's an easier/better way to do this, please let me know.

Regards,
-- 
dave [ please don't CC me ]


Content-Transfer-Encoding: x-gzip64

2007-08-24 Thread Michelle Konzack
Hello,

for some days I have gotten a message which showed me:

8<--
[-- Anhang #2: EvwmEvent.strace --]
[-- Typ: text/Plain, Kodierung: x-unknown, Gr¶Ãe: 2,0K --]

H4sIA8yZbW+iShTH32+y32HiK92wOk88vfAmpsW9Zls1au9tszYGcGy9q2AAW3

8<--

Which was not realy funny since it was send as:

8<--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: x-gzip64
Content-Disposition: inline; filename="EvwmEvent.strace"
8<--

So, my question is, how can I handel this "Content-Transfer-Encoding:"
whiting mutt?

Currently I am using a procmail recipe which change the 

Content-Type: Text/Plain; charset=us-ascii
to
Content-Type: Text/x-gzip64; charset=us-ascii

which can then be handled by ~/.mailcap using

text/x-gzip64; base64-decode <%s |gunzip; copiousoutput

Greetings
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: mutt command line with gpg

2007-08-24 Thread Michelle Konzack
Am 2007-08-22 16:19:38, schrieb Meenal Pant:
> Hello,
> I want to use mutt as a command inside a script and therefore I don't
> want to  run mutt  interactively.
> To achieve this, I use:
> $> mutt -F ./.muttrc -s "Hello" -i ../text.txt   [EMAIL PROTECTED]  and get the desired result.
> My problem occurs when I use GnuPG and want to sign the message. I use 
> set pgp_autosign=yes and define the signature key,  set
> pgp_sign_as=0x127533B2 in .muttrc
> The message does not appear signed to the recipient. However when I use
> the same command without  message appears signed.  Please help me fix this issue. Thanks
> 
> Also is their a way to encrypt and sign using GnuPG and Mutt via command
> line ?

It does not work, since mutt/gpg is waiting for the pass phrase...
To avoid this, you can use the "gpg-agent"

Greetings
Michelle Konzack
Systemadministrator
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
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


how not to auto-load attachments?

2007-08-24 Thread Louis-David Mitterrand
Hi,

When using imap with mutt-1.5.16 is there a way to not automatically 
load attachements when viewing the message body? 

Ideally when on a low-bandwidth connection I'd like to have access to 
the message text and select which attachments to download.

I tried running mutt with auto_view turned off but it didn't change its 
behaviour.

Thanks,