wu-imap recursive dir listing

2002-10-10 Thread Ed Schaller

I'm in the process of setting up a new mail server, I installed uw-imap
(debian sid uw-imap-ssl 2001adebian-7 ppc). During login (debian sid
mutt 1.4.0-4 x86) the connection hangs for ~ 20 minutes. This same
configuration works fine on the old mail server (rh 6.2 uw-imap 2000c
x86).

Strace reveals that the client is hanging on a read while the server
recursively calls stat on every file in my home directory (and follows
sym links).

Using stunnel and tcpdump I can watch the connection. Here's the
stripped down version:

S: * OK [CAPABILITY IMAP4REV1 X-NETSCAPE LOGIN-REFERRALS AUTH=PLAIN
S: * AUTH=LOGIN] mail-server IMAP4rev1 2001.315 at Wed, 9 Oct 2002
02:30:37 -0600
S: * (MDT)
C: a00 login username password
S: a00 OK [CAPABILITY IMAP4REV1 X-NETSCAPE NAMESPACE MAILBOX-REFERRALS
SCAN
S: SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User
username
S: authenticated
C: a01 list  

spin disks and wait forever here

S: * LIST (\NoSelect) / 
S: a01 OK LIST completed

Everything works fine with no long waits after this.

Twiddling with imap_namespace in .muttrc didn't change this initial
listing command.

Anyone seen anything like this? The lack of output for so much work and
previous versions not doing such makes me think there is a uw-imap bug,
but it works fine with other clients.  The initial list ignoring namespace
configs suggests a bug in mutt as well. Any thoughts or ideas?

On a slightly related issue. How do people like cyrus's imap server? Is
it worth converting large mail archives and scripts to the new format?
How much trouble does the new format and accessibility cause with
procmail and friends?

Thanks...

--

--

+-+---+---+
| Ed Schaller | [EMAIL PROTECTED] | mistymushroom |
+-+---+---+



msg31695/pgp0.pgp
Description: PGP signature


Re: imap issues - color of indicator

2002-10-10 Thread dan radom

this only happens with imap (image at http://radom.org/mutt-imap.png).  you'll notice 
the stuff that's normally highlighted is at the very bottom of the image.  here's my 
color config...

color indicator white red

dan

* Sven Guckes ([EMAIL PROTECTED]) wrote:
 * dan radom [EMAIL PROTECTED] [2002-10-09 21:27]:
  Mutt 1.4i (2002-05-29), Linux 2.4.19 (i686) [using ncurses 5.2]
  in the process of playing with imap i noticed something strange.
  when opening any mailbox, the current highlighted message appears to
  have the same text, foreground and background colors.  in other
  words it appears as a solid red bar, where it should have white text.
 
 this happens on imap folders only?
 and why is there color when mutt's
 default is to show no color at all?
 so what is your color configuration?
 
 does the same happen with mutt
 linked to slang (1.4.6 now)?
 
 this following works fine for me:
   color indicator white red
 perhaps your setup is using
 some default color there?
 
  if i move to another message sometimes the solid red
  bar will remain on that first message, and the newly
  selected message also appears hihglighted, but displays
  as it it should.  has anyone seen this before?
 
 no.  then again, i don't use imap.  ;-)
 
  Cc: [EMAIL PROTECTED]
 
 please - don't CC yourself -
 especially when sending to
 a mailing list.  some people
 never get it right with
 group-reply vs list-reply...
 
 use Bcc: self - or set copy
 along with set record=!.
 
  Mail-Followup-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
 
 so you're another one of those who
 are not subscribed to this list?
 
 Sven
 
 -- 
 Sven Guckes  [EMAIL PROTECTED]   S-Lang  1.4.6 [2002-10-07]
 ftp://ftp.fu-berlin.de/unix/misc/slang/v1.4/  used eg by these programs:
 SLANG 605347 Oct 7 20:37 slang-1.4.6.tar.bz2   jed (editor), most (pager),
 SLANG 772503 Oct 7 20:37 slang-1.4.6.tar.gz   mutt (mailer), slrn (newsreader).




Re: Problem with IMAP and patterns -- ~e - ~C

2002-10-10 Thread jlnance

On Thu, Oct 10, 2002 at 04:16:26AM +0200, Sven Guckes wrote:
 * [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-10-09 14:19]:
  I am having a problem using patterns with mail on an IMAP server.
 
 hmm?  are there any special patterns for use with IMAP servers?

Sorry I was not clear.  I ment to say that the pattern does not work
when the mail is on an IMAP server but it does work if I get my mail
from a pop server.

  I believe the problem is that mutt does not fetch the headers from
  the IMAP server and thus is not able to match patterns against
  them.  Here is what I am trying to do.  I want to move all my mail
  from the linux kernel mailing list, so I run the mutt macro:
 
T~elinux-kernel
 
  However, instead of tagging all the mail from the linux-kernel
  mailing list, it only tags the messages I have already read.
 
 try this pattern instead then:
 
 T ~C linux-kernel

This pattern works.  Thanks for fixing my problem!

I am still courious as to why the T~elinux-kernel only works after I
have read the message, but now its an academic problem rather than
a practicle one.

Thanks again,

Jim



Re: ISO cancel option in quit prompt from send-message

2002-10-10 Thread Ken Weingold

On Wed, Oct  9, 2002, Gary Johnson wrote:
  Then why not put it in the Help line for newbies?
 
 For the same reason that it shouldn't be put in the help menu.  The help
 line is just a short form of the help menu.

Yeah, but unlike the help menus, the $help line is present with all
prompts in the index.  Might at least help out people who need the
help line in the first place.


-Ken





Any way to add a header with send-hook?

2002-10-10 Thread Chris Green

I'd like to add an extra (custom, for my use) message header to
messages sent to a specific address.  Send-hook explicitly doesn't do
this so is there any easy way of doing this or will I have to write a
little script to actually edit the file and execute that via a
send-hook?

-- 
Chris Green ([EMAIL PROTECTED])



Re: Any way to add a header with send-hook?

2002-10-10 Thread darren chamberlain

* Chris Green [EMAIL PROTECTED] [2002-10-10 09:27]:
 I'd like to add an extra (custom, for my use) message header to
 messages sent to a specific address.  Send-hook explicitly doesn't do
 this so is there any easy way of doing this or will I have to write a
 little script to actually edit the file and execute that via a
 send-hook?

  send-hook . unmy_hdr X-Foo
  send-hook '~t [EMAIL PROTECTED]' my_hdr X-Foo: blah blah blah

I'm using similar constructs all over the place.

(darren)

-- 
It has long been an axiom of mine that the little things are
infinitely the most important.
-- Arthur Conan Coyle



Re: Any way to add a header with send-hook?

2002-10-10 Thread Chris Green

On Thu, Oct 10, 2002 at 09:33:14AM -0400, darren chamberlain wrote:
 * Chris Green [EMAIL PROTECTED] [2002-10-10 09:27]:
  I'd like to add an extra (custom, for my use) message header to
  messages sent to a specific address.  Send-hook explicitly doesn't do
  this so is there any easy way of doing this or will I have to write a
  little script to actually edit the file and execute that via a
  send-hook?
 
   send-hook . unmy_hdr X-Foo
   send-hook '~t [EMAIL PROTECTED]' my_hdr X-Foo: blah blah blah
 
 I'm using similar constructs all over the place.
 
Well it says in the manual:-

Also note that my_hdr commands which modify recipient headers, or
the message's subject, don't have any effect on the current message
when executed from a send-hook.

So does the above mean what it says, or have I misunderstood it?

What I'm trying to create is a macro which will do the following:-
1 - It will work exactly like the current 's' command allowing
mail to be saved in a specific mailbox.  Thus the macro will
first call the 's' command.
2 - It will bounce ('b' command) a copy of the mail to a specific
(fixed) address with an added header which will contain
the name and directory of the mailbox where the message has
been saved locally.

Is the above remotely possible?  It's easy enoough to create a macro
which will do the 's' and the 'b' but I'm not sure how to set about
adding the header with the required information in it.  Are there
completely different ways of getting to what I want?  Basically what I
want is to send a copy of all messages saved in certain mailboxes to
another system with header information indicating where it was saved
so that the remote system can archive the message automatically (using
procmail).

-- 
Chris Green ([EMAIL PROTECTED])



mails to ms access, mime problems

2002-10-10 Thread Norbert Preining

Hi!

Is it possible to configure mutt so that plain text simple emails are
send WITHOUT the
Mime-Version: 1.0
header?

I am sending emails to ms access users and they always get, even simple
text emails, as mime attachment. I know they are wrong, but, what should
I say, ...

Not putting in the Mime-Version header fixes the problem.

Is it possible to configure this as I did it with
send-hook . 'set pgp_create_traditional=no'
send-hook . 'set pgp_outlook_compat=no'
send-hook lindner 'set pgp_create_traditional=yes'
send-hook lindner 'set pgp_outlook_compat=yes'


Please Cc me answers as I am not subscribed. Thanks a lot!

Best wishes

Norbert

---
Norbert Preining preining AT logic DOT at Technische Universität Wien
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
BRADWORTHY

One who is skilled in the art of naming loaves.

--- Douglas Adams, The Meaning of Liff 



Re: Any way to add a header with send-hook?

2002-10-10 Thread David Champion

* On 2002.10.10, in [EMAIL PROTECTED],
*   Chris Green [EMAIL PROTECTED] wrote:
  
 Well it says in the manual:-
 
 Also note that my_hdr commands which modify recipient headers, or
 the message's subject, don't have any effect on the current message
 when executed from a send-hook.
 
 So does the above mean what it says, or have I misunderstood it?

It means what it says, but it might not say what it means. It's saying,
I think, that my_hdr cannot modify To:, Cc:, Bcc:, or Subject: inside a
send-hook. Other my_hdr headers are fine.


 What I'm trying to create is a macro which will do the following:-
 1 - It will work exactly like the current 's' command allowing
 mail to be saved in a specific mailbox.  Thus the macro will
 first call the 's' command.
 2 - It will bounce ('b' command) a copy of the mail to a specific
 (fixed) address with an added header which will contain
 the name and directory of the mailbox where the message has
 been saved locally.
 
 Is the above remotely possible?  It's easy enoough to create a macro

Seems like it, although I don't know how you get the name of the folder
into the my_hdr, unless it's just a hard-coded part of the macro.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. LET'S HAVE SUCH A COFFEE! NOW!
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



list of key bindings

2002-10-10 Thread Susan Kleinmann

Hello,

I could have sworn that somewhere in the documentation (man page/manual/faqs)
I saw something that showed what mutt command could be used to get a list of 
all the key bindings that were active in the current menu.  But now I can't find
that reference any more.

So, is there a command that will show all the current key bindings, and if so,
what is it?

The reason I'm interested is that, as a mutt newbie, I'm presuming one needs to 
know what key bindings already exist in order _not_ to write a macro that will 
write all over some important command.  

TIA,
Susan



Re: imap issues - color of indicator

2002-10-10 Thread Sven Guckes

* dan radom [EMAIL PROTECTED] [2002-10-10 08:20]:
 this only happens with imap (image at http://radom.org/mutt-imap.png).
 you'll notice the stuff that's normally highlighted is
 at the very bottom of the image.  here's my color config...
   color indicator white red

hmm... does this happen on all terminals?  even on the console?

[50+ lines deleted]
c'mon - please don't be so lazy
as to delete the quoted text if
you do not refer to it at all.
just type dG to delete it!

Sven



Re: list of key bindings

2002-10-10 Thread Toby Coleridge

type a question mark ie shift + / should give you what you want ..

Cheers
Toby

On Thu, Oct 10, 2002 at 03:54:21PM -0400, Susan Kleinmann wrote:
 Hello,
 
 I could have sworn that somewhere in the documentation (man page/manual/faqs)
 I saw something that showed what mutt command could be used to get a list of 
 all the key bindings that were active in the current menu.  But now I can't find
 that reference any more.
 
 So, is there a command that will show all the current key bindings, and if so,
 what is it?
 
 The reason I'm interested is that, as a mutt newbie, I'm presuming one needs to 
 know what key bindings already exist in order _not_ to write a macro that will 
 write all over some important command.  
 
 TIA,
 Susan



Re: list of key bindings - help - \,./

2002-10-10 Thread Sven Guckes

* Susan Kleinmann [EMAIL PROTECTED] [2002-10-10 19:55]:
 I could have sworn that somewhere in the documentation
 (man page/manual/faqs) I saw something that showed what
 mutt command could be used to get a list of all the key
 bindings that were active in the current menu.

try the help command - bound to '?' by default.

mutt show this command in the mini help line on the screen:

  q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group ?:Help

 The reason I'm interested is that, as a mutt newbie, I'm presuming
 one needs to know what key bindings already exist in order _not_
 to write a macro that will write all over some important command.

good thinking!

i use the comma and sometimes the
hash mark as a macro lead-in.
the dot is a good choice, too.
the backslash is not taken, either.

summary:  \,./

Sven

-- 
Sven [EMAIL PROTECTED]  Sample Setup with lots of comments:
MUTT  http://www.math.fu-berlin.de/~guckes/setup/muttrc WOOF!,,
MUTT  http://www.math.fu-berlin.de/~guckes/setup/muttrc.forall(__/'.
MUTT  http://www.math.fu-berlin.de/~guckes/setup/mutt.personal/| |\



Re: mails to ms access, mime problems

2002-10-10 Thread Sven Guckes

* Norbert Preining [EMAIL PROTECTED] [2002-10-10 15:07]:
 Please Cc me answers as I am not subscribed. Thanks a lot!

 lists [EMAIL PROTECTED]

and a sig without sigdashes is not complete.

Sven



Re: list of key bindings

2002-10-10 Thread René Clerc

* Susan Kleinmann [EMAIL PROTECTED] [10-10-2002 21:55]:

[...]

 So, is there a command that will show all the current key bindings, and if so,
 what is it?
 
 The reason I'm interested is that, as a mutt newbie, I'm presuming one needs to 
 know what key bindings already exist in order _not_ to write a macro that will 
 write all over some important command.  

The command that lists all current key bindings, is help, bound by
default to ?. Note that if this doesn't work (because it is rebound,
how evil!), you can always execute the real command by entering:

:push help

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

The Force. It surrounds us; It enfolds us;
It gets us dates on Saturday Nights.
-Obi Wan Kenobi, Famous Jedi Knight and Party Animal



msg31709/pgp0.pgp
Description: PGP signature


Send Hooks ..

2002-10-10 Thread Toby Coleridge

If I setup two send hooks as follows:

send-hook . my_hdr From: [EMAIL PROTECTED] ;
send-hook blah my_hdr From: [EMAIL PROTECTED] ; 

am i right in thinking that the second send hook will be activated on any To: or Cc: 
(or Bcc?) that contains  blah in the address,  does this behave in a reg exp manner?

will it match all of the following :

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

or does it only match after the @ ?

Thanks
Toby



Re: how to go back to mailbox

2002-10-10 Thread Jussi Ekholm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ken Weingold [EMAIL PROTECTED] wrote:
 On Tue, Oct  8, 2002, Richard Cattien wrote:
 how can i get back to my normal inbox, after changing to another
 mailbox. For example i press c and go to ~/Mail/foo ...but how to get
 back to /var/mail/user, without selecting it manually!
 
 '!' is the shortcut to your spool folder.  It's in the manual.

I've also created a symlink $MAILDIR/inbox - /var/mail/user to
make browsing my folders more constant. And of course, there's
macro for jumping directly to !. 

IMHO, it's just that this symlink in my $MAILDIR makes it easier to
comprehend the whole $MAILDIR. Dunno why, but this is how I feel. :-)

- -- 
Jussi Ekholm [EMAIL PROTECTED] | http://erppimaa.ihku.org/ | 0x1410081E

This is for the mentally ill
  For those who have lost the will -- King Diamond
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9peUtAtEARxQQCB4RAgnKAKDFqiiQizSl1jVB0weG/F9zqKjKbQCfTEby
zuz4MNQzrDZwQunAmI0keHk=
=k4XW
-END PGP SIGNATURE-



send-hooks (was: Re: Send Hooks ..)

2002-10-10 Thread Jussi Ekholm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Toby Coleridge [EMAIL PROTECTED] wrote:
 If I setup two send hooks as follows:
 send-hook . my_hdr From: [EMAIL PROTECTED] ;
 send-hook blah my_hdr From: [EMAIL PROTECTED] ; 
 
 am i right in thinking that the second send hook will be activated
 on any To: or Cc: (or Bcc?) that contains  blah in the address, does
 this behave in a reg exp manner?

Yes, you are correct. This is a snippet from sample mutt.rc:

#   send-hook [!]pattern command
# command is executed when sending mail to an address matching
# pattern

So, if the mail you are sending contains blah in it's address,
your From-header is changed to [EMAIL PROTECTED]. By the way, why there's
'spacesemi-colonspace' ( ; ) after the my_hdr command?

 will it match all of the following :
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

AFAIK, this is how it goes.

HTH!

- -- 
Jussi Ekholm [EMAIL PROTECTED] | http://erppimaa.ihku.org/ | 0x1410081E


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9pebaAtEARxQQCB4RAp7cAJ94az3fHy3JffRXp++3dPzznKyllwCgufM3
NlI1ezOpqx1Fj4WYMPra2R4=
=Je4F
-END PGP SIGNATURE-



Re: Send Hooks ..

2002-10-10 Thread René Clerc

* Toby Coleridge [EMAIL PROTECTED] [10-10-2002 22:27]:

 If I setup two send hooks as follows:
 
 send-hook . my_hdr From: [EMAIL PROTECTED] ;
 send-hook blah my_hdr From: [EMAIL PROTECTED] ; 

What's with the semicolons?

 am i right in thinking that the second send hook will be activated
 on any To: or Cc: (or Bcc?) that contains  blah in the address,
 does this behave in a reg exp manner?

Watch your line length!! (modified this)

 will it match all of the following :
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 or does it only match after the @ ?

Is this laziness? If I wanted to, it took me less time to verify this
than it must have taken you to post this question. Answer: yes, it
will match all of those addresses, and RTFM 3.17:

pattern is a regular expression matching the desired address

 Thanks
 Toby

You're pretty welcome...

-- 
René Clerc  - ([EMAIL PROTECTED])

Everyone needs belief in something. I believe I'll have another beer.



msg31714/pgp0.pgp
Description: PGP signature


Re: list of key bindings

2002-10-10 Thread Michael Tatge

Susan Kleinmann ([EMAIL PROTECTED]) muttered:
 I saw something that showed what mutt command could
 be used to get a list of all the key bindings that were active in the
 current menu.

Try the magic '?'. 

Michael [wondering wheather Susan's help bar looks diffenrent to his one]
-- 
lp1 on fire
(One of the more obfuscated kernel messages)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: list of key bindings

2002-10-10 Thread Susan Kleinmann

Hello,

On Fri, 11 Oct 2002 00:33:22 +0200, Michael Tatge [EMAIL PROTECTED] said: 
 Susan Kleinmann ([EMAIL PROTECTED]) muttered:
  I saw something that showed what mutt command could
  be used to get a list of all the key bindings that were active in the
  current menu.
 
 Try the magic '?'. 
 
 Michael [wondering wheather Susan's help bar looks diffenrent to his one]

Thanks to all for your help on help.  I deserve a big duh for this.

I guess I was looking for some key which would either show a compact
table of keys that were already defined, or, if there were lots of
pre-defined keys, then some key which would show a short list of the 
keys that were not yet defined.

I must still be doing something wrong:  I can't believe that every single
person who uses mutt has to cut and paste all 3 or 4 help screens into an 
editor, then do a bunch of editing, just to find out which few keys are 
available to assign to macros.  I also can't believe that users are really 
restricted to single keystrokes to identify macros.

Here are a couple of specific ambiguities in the manual:
Section 3.3 says that the key to which a function can be mapped may consist
of: 
...
f1
f10
Some messages in the mutt-users archives implies that the 
above really means:  f1...f10

Section 3.2 in the manual says that one can define aliases using
alias key address [, address, ...]
but then says aliases can be used to map a short string to a full
address.  So is key to be understood as a short string in all cases?
or just in the case of aliases?  (When Sven answered that he uses various
characters as macro lead-in's, it struck me that mutli-key macros
must indeed be possible.)  But if key is to be understood as 
short string for macros as well as for aliases, then how does the 
command parser know when the beginning of a short string has been 
entered, as opposed to a series of individual commands?

Sorry for the verbosity -- I'm just trying to be clear about what's
causing confusion.

TIA,
Susan