Delete mailbox over imaps

2002-08-26 Thread Dan Boger

When in the folder browser, connected via imaps, I find that I cannot
delete folders.  Mutt gives the error: Delete is only supported for
IMAP.  Is this the expected behaviour?  I'd think that imaps should
work just as imap, only over ssl :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg30427/pgp0.pgp
Description: PGP signature


Re: mailbox limitation

2002-08-21 Thread Dan Boger

On Wed, Aug 21, 2002 at 04:06:13PM +0400, Oleg Lukashin wrote:
 How many messages can normally display/work with mutt ?

I've used mailboxes with over 50,000 messages with no problem at all.  A
bit slot to open (depending on the machine of course), but quite usable.

-- 
Dan Boger
[EMAIL PROTECTED]



msg30402/pgp0.pgp
Description: PGP signature


Re: mutt and mail archives

2002-08-21 Thread Dan Boger

On Wed, Aug 21, 2002 at 11:06:42AM -0300, Fernan Aguero wrote:
 Now my question is, in the event I need to access/search this archives
 is mutt able to read compressed files? If so, what would be the 
 recommended storage (so that mutt will read them later)?

there is a compressed-folder patch, linked from mutt.org - I've used it
successfully for a few years now :)

HTH!

-- 
Dan Boger
[EMAIL PROTECTED]



msg30408/pgp0.pgp
Description: PGP signature


Re: muttprofile (new)

2002-07-31 Thread Dan Boger

On Wed, Jul 31, 2002 at 12:30:52PM +0200, Rocco Rutte wrote:
 Hi,
 
 * Rikard Florin [02-07-31 12:17:50 +0200] wrote:
  http://ratblast.net/muttprofile
 
 Perl, how cool is that! I'm planning to start a project (on
 sourceforge or whereever) which just bundles a few but very
 useful (preferebly perl) scripts dealing with .muttrc. Some
 alias conversion scripts, muttrc2html, maybe muttrcbuilder
 and the like. A script dealing with profiles would perfectly
 fit in my ideas. Interested? Anyone else interested in
 hacking some perl?

I'm always interested in hacking perl :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg29977/pgp0.pgp
Description: PGP signature


Re: filtering mailbox

2002-07-22 Thread Dan Boger

On Mon, Jul 22, 2002 at 05:37:58PM +0200, Hans Ginzel wrote:
   Hello,
 
   I have a mailbox with ~1 mails, most of them are duplicated. How
 can I delete the duplicities? 
 
   Manualy it can be done by sorting mails by date, go from top and most
 every second mail delete. Can it be done in batch?

even better - D~= and you're done :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg29809/pgp0.pgp
Description: PGP signature


Re: quoting doesn't work in send-hook command

2002-07-11 Thread Dan Boger

On Thu, Jul 11, 2002 at 11:01:40AM -0700, David Benfell wrote:
 Actually, it did, but only on the second attempt.  I'm guessing that
 mutt is applying the send-hooks before asking who I'm addressing the
 e-mail to.
 
 Which at least is a different problem.  How do I fix this one?

from the manual:

  Note: the send-hook's are only executed ONCE after getting the initial
  list of recipients.  Adding a recipient after replying or editing the
  message will NOT cause any send-hook to be executed.  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 it's supposed to run AFTER getting the addressees.  I think what you
see if the my_hdr clause, saying a send-hook cannot apply a my_hdr
command to the current message.  The only way I know to get around this
is to either set up folder-hooks, or macros to apply the changes before
the msg is composed.

-- 
Dan Boger
[EMAIL PROTECTED]



msg29546/pgp0.pgp
Description: PGP signature


Re: displaying folder name in xterm title

2002-07-04 Thread Dan Boger

On Thu, Jul 04, 2002 at 03:36:20PM +0200, Martin Man wrote:
 is there a way to change xterm's title according to the folder currently
 opened in a mutt so that it updates correctly whenever the folder inside 
 of mutt is changed?

yup - look at the xtitle patch, linked from the mutt.org patches page:

http://www.robots.ox.ac.uk/~neil/mutt/



-- 
Dan Boger
[EMAIL PROTECTED]



msg29378/pgp0.pgp
Description: PGP signature


Re: random header script?

2002-06-20 Thread Dan Boger

On Thu, Jun 20, 2002 at 02:49:37PM -0600, Rob 'Feztaa' Park wrote:
 This is trivial to do in perl:
 
 open FILE, file.txt;
 
 while (FILE)
 {
   push lines, $_;
 }
 
 print $lines[int(rand(lines))];

or, the more efficient way:

open FILE, file.txt or die $!;
rand($.)  1  ($line = $_) while FILE;
close FILE;
print $line;

from perldoc -q random

:)

-- 
Dan Boger
Linux MVP
brainbench.com




msg29098/pgp0.pgp
Description: PGP signature


Re: 3 quick questions

2002-06-06 Thread Dan Boger

On Thu, Jun 06, 2002 at 04:14:30PM -0400, Kevin Coyner wrote:
 1.  Where do D (deleted) msgs go?  Is there an equivalent of
 trash, or am I truly out of the disneyland GUI world now and
 just like using rm on files, there's no going back.

of course they're truly deleted... I mean, if I wanted mutt to move them
to, say, a Trash folder, I'd save them there myself! But mutt being so
nice, you can make a macro, so that D will do s=Trash\n instead of
actually deleting the message.

 2.  When I'm in the index mode with all mail listed and I've 
 marked a bunch with D, is there a keystroke command that will
 flush out all of the D items so there's only N or O mail in there?

yup - '$' by default, I believe.  Look for 'sync-mailbox' in the manual.

 3.  This is the question that bothers me most: Let's say I have
 three email POP3 email accounts on three different ISP/domains.  
 I've got fetchmail set up to fetch from all three.   But what I
 can't figure out is how I can, on the fly, select any one of 
 these accounts to be my From: and Reply-to: address. Presently
 I have my .muttrc setup with set from = [EMAIL PROTECTED] and
 this has each and every msg going out with that From address.
 But there are times when I need to use one of those other two
 addresses in the From header.  I tried setting 'set alternates =
 the other accts', but that didn't seem to do it.  So some 
 general guidance would be appreciated here.  I'm getting the 
 feeling I'll need to use hooks, but I haven't quite figured all
 that out yet.

this is really a FAQ, and if we have a canned answer for this question,
I'd love the pointer...  You can use *-hooks, if you always want to send
from a certain folder as a certain address, or when replying to certain
emails.  What I use though is a bunch of macros, that will change my
current setup, so that every message from now on will be sent as a new
profile...

so something like (from memory, untested):

macro index F5 ':set [EMAIL PROTECTED]\n:set signature=~/.sig-addr'
macro index F6 ':set [EMAIL PROTECTED]\n:set signature=~/.sig-addr2'

etc...

HTH!

-- 
Dan Boger
[EMAIL PROTECTED]



msg28694/pgp0.pgp
Description: PGP signature


Re: IMAP uses SSL even when not requested

2002-06-04 Thread Dan Boger

On Tue, Jun 04, 2002 at 11:55:28AM -0500, David Champion wrote:
  needed for connecting securely to servers that don't accept connections
  on the imaps port, but instead support the STARTTLS extension on the
  normal imap port.  You can likely disable this feature with set
  ssl_starttls=no.
 
 Yes, exactly -- it should never use SSL when told not to, but setting
 ssl_starttls is equivalent to telling mutt to use TLS when available.

you mean it should always use SSL unless not told to, right?

I still can't think of a single reason (aside from testing) that you
will prefer the plaintext over SSL, by default.

-- 
Dan Boger
[EMAIL PROTECTED]



msg28588/pgp0.pgp
Description: PGP signature


Re: folder-hooks

2002-05-31 Thread Dan Boger

On Fri, May 31, 2002 at 02:27:09PM +0200, Rocco Rutte wrote:
 I have a problem with a folder-hook. Say, I've got three
 folders IN.back1, IN.back2 and IN.test. If I want to take
 some action for all folders except IN.back1 I use:
 
   folder-hook =IN\.[^b][^a][^c][^k][^1] ...
 
 The problem is that mutt doesn't apply it to IN.test. I
 guess that for IN.test it checks if the first 5 characters
 after IN. are not one of b,a,c,k,1 - but 'test' is only 4
 long. I guess that's the reason why it fails in this special
 case while it works for all other folder names longer or
 equal to 5 characters after IN..

sounds to me that it's doing exactly what you told it to...  match any
folder that begins with an IN., followed by 5 chars that are not (in
order) b a c k 1 - and you're right - since test is only 4
characters, it doesn't match the not 1 section.

I think you might be better off making a general folder hook (that will
match back1 as well), then adding another folder hook (after?  before?)
that will deal with the special case.

HTH!

-- 
Dan Boger
Linux MVP
brainbench.com




msg28424/pgp0.pgp
Description: PGP signature


Re: folder-hooks

2002-05-31 Thread Dan Boger

On Fri, May 31, 2002 at 08:23:14AM -0500, David T-G wrote:
 Have you tried
 
   [^b][^a][^c][^k][^1]*
 
 to match zero or more not-ones?


can't use that to negate a 1 in the 5th position...  test1 would
match because it would match 0 '1's in the 5th position, followed by a
'1'...  if you get my meaning...

just occured to me that this won't match back2 either, since it starts
with a b...

-- 
Dan Boger
Linux MVP
brainbench.com




msg28428/pgp0.pgp
Description: PGP signature


Re: folder-hooks

2002-05-31 Thread Dan Boger

On Fri, May 31, 2002 at 08:39:20AM -0500, David T-G wrote:
 % just occured to me that this won't match back2 either, since it starts
 % with a b...
 
 Yeah, that's another problem that occurred to me after posting.  I had
 the same sort of problem with $alternates; I'd really like to be able to
 say something like
 
   set alternates = [^(laura*|madi|^quin*)]@justpickone.*

what we need is like the perl lookbehind:

   (?!pattern)
 A zero-width negative lookbehind assertion.  For
 example /(?!bar)foo/ matches any occurrence of
 foo that isn't following bar.  Works only
 for fixed-width lookbehind.

so you could do

  set alternates =(?!laura|madi|quin)justpickone

but note that I had to remove the * (which I think were supposed to be
.*) - since it only works for a fixed-width string...

another by the way - having a trailing .* is a nop, just eats cpu cycles
(in a patterm match)...

:)

-- 
Dan Boger
Linux MVP
brainbench.com




msg28430/pgp0.pgp
Description: PGP signature


Re: folder-hook and push conflicts with imap?

2002-05-24 Thread Dan Boger

On Sat, May 25, 2002 at 01:41:03AM +0200, Sven Guckes wrote:
 * Dan Boger [EMAIL PROTECTED] [2002-05-22 15:58]:
  is there a way to do what I want to happen (automagically
  delete dups in each folder) without using push?
 
 procmail - message id cache - nuff said.
 
 Sven
 
 -- 
 # Block duplicate messages that you receive when someone CCs you
 # on a reply to a mailing list that you are subscribed to.
 :0: Wh: msgid.lock
 | formail -D 8192 msgid.cache

actually, I already have that.  however, that won't solve my problem,
since what I have is an IMAP mailbox that many users can save messages
too...  often, the same message.  while I think some magic with formail
can remove dups, I like the idea of it happening when I look at the
mailbox...

-- 
Dan Boger
[EMAIL PROTECTED]



msg28331/pgp0.pgp
Description: PGP signature


Re: folder-hook and push conflicts with imap?

2002-05-22 Thread Dan Boger

On Wed, May 22, 2002 at 05:07:01PM +0200, Sven Guckes wrote:
 * Dan Boger [EMAIL PROTECTED] [2002-05-21 12:10]:
  set spoolfile=imaps://user@box/
  folder-hook . 'push delete-pattern~=\n'
  -- Password for userdelete-pattern~=@box:
  which of course, fails to log me in.
  This is a bug with the folder hook, right?
  it probably shouldn't be run until
  _after_ the login completes...
 
 exactly.  it's a feature.
 
 you get the password prompt - and you automatically
 answer it by typing in some text.  so it's you who
 did not get the context right.  pilot error.
 
 dependencies like these *could* be
 timed with an internal language.
 but there is none.
 
 anyway, i don't use push at all
 because you can always run into
 dependency problem like these.

hmmm...  is there a way to do what I want to happen (automagically
delete dups in each folder) without using push?

-- 
Dan Boger
[EMAIL PROTECTED]



msg28286/pgp0.pgp
Description: PGP signature


folder-hook and push conflicts with imap?

2002-05-21 Thread Dan Boger

here's a weird error I ran into...  I have the following settings:

set spoolfile=imaps://user@box/
folder-hook . 'push delete-pattern~=\n'

now, when I start up mutt, instead of being prompted for the password
for my account, I just get an error (login failed, I think).  So I tried
mutt -f imaps://box/ and got the following:

Password for userdelete-pattern~=@box:

which of course, fails to log me in.  

This is a bug with the folder hook, right?  it probably shouldn't be run
until _after_ the login completes...   or am I missing something
obvious?

Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.18 (i586) [using ncurses 4.0]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
-USE_POP  +USE_NNTP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/spool/mail
PKGDATADIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

vvv.nntp
patch-1.3.28.rr.compressed.1
patch-1.2.xtitles.1


-- 
Dan Boger
[EMAIL PROTECTED]



msg28250/pgp0.pgp
Description: PGP signature


Re: managing two accounts on same imap-server

2002-05-10 Thread Dan Boger

On Fri, May 10, 2002 at 10:47:07PM +0200, Tobias Kirchhofer wrote:
 macro index F7 copy-message=imap:[EMAIL PROTECTED]/Inbox\n
 'Copy message to =imap:[EMAIL PROTECTED]/Inbox'
 
 Error-message:
 
 imap_copy_messages [a0008 NO Error in IMAP command received by
 server.]?
 
 NO Error?
 
 It works if i copy a message manually:
 
 C
 imap:[EMAIL PROTECTED]/Inbox
 Password for [EMAIL PROTECTED]:

I see a difference - '=imap://...' and 'imap://...' - try removing the
'=' from the macro.

-- 
Dan Boger
Linux MVP
brainbench.com




msg27967/pgp0.pgp
Description: PGP signature


ailasing mailboxes

2002-05-07 Thread Dan Boger

Is it possible to alias a mailbox?  I often need to save messages to a
remote IMAP box...

example...  my mail is all stored in imaps://dan@localhost/...

once in a while, I need to save a message to
imaps://user@localhost/path/to/box

typing it manually every time is no fun...  but what other options do I
have?  do I need to write macros for saving a message, saving all tagged
messages, changing to that folder, etc?  is there no way to magically
make mbx always expand to imaps://... in every prompt?

I'm not asking for much, am I? *grin*

-- 
Dan Boger
[EMAIL PROTECTED]



msg27922/pgp0.pgp
Description: PGP signature


Re: PGP signature verification

2002-04-22 Thread Dan Boger

On Mon, Apr 22, 2002 at 11:32:15PM +0200, Rocco Rutte wrote:
 I'm interested in what others get to find out wether it's a
 general problem or something is wrong with my modified version
 of mutt.

nope, happens to me too - only slightly modified version - vvv.nntp and
compressed patch, is all, I think...

-- 
Dan Boger
[EMAIL PROTECTED]



msg27543/pgp0.pgp
Description: PGP signature


Re: Organizing mailfolders (strategies and using with mutt)

2002-04-11 Thread Dan Boger

On Thu, Apr 11, 2002 at 02:32:11PM +0200, Kai Weber wrote:
 But Mutt seems to have problems recognizing new mails in these folders
 if I specify mailboxes like that:
 
   mailboxes `find Mail -type f`
 
 What's wrong with that and how should i tune my settings?

could it be that you're specifying your mailboxes relative to your
homedirectory, but not starting mutt from there?  

try mailboxes `find ~/Mail -type f`

HTH!

-- 
Dan Boger
Linux MVP
brainbench.com




msg27025/pgp0.pgp
Description: PGP signature


Re: Feature request: uncolor not only in index

2002-04-11 Thread Dan Boger

On Thu, Apr 11, 2002 at 11:54:49AM -0400, darren chamberlain wrote:
  That being said, I would really like such an uncolor feature myself.
  I receive internal newsletters that I find easier to read if I
  highlight the section headings like this:
  
  display-hook '~s blips' 'push /\^[A-Z0-9][A-Z0-9 [:punct:]]*$^M'
  
  These highlights disappear, however, whenever I search for something.
  Being able to color and uncolor patterns in the pager would be a good
  solution.
 
 Where does display-hook come from?  I just built 1.3.28 and use
 1.3.22.1 regularly and neither has it.  I'm assuming it comes from a
 patch, but which one?

I _think_ it's actually a message-hook?

-- 
Dan Boger
[EMAIL PROTECTED]



msg27054/pgp0.pgp
Description: PGP signature


Re: IMAP browsing

2002-04-10 Thread Dan Boger

On Wed, Apr 10, 2002 at 04:21:45PM +0200, Michal 'hramrach' Suchanek wrote:
 I think it would be a good idea if c gave me folder tree of my current
 account and not local folders. ie if I am viewing somebody@somewhere/INBOX
 c should give me imap://somebody@somewhere/, not ~/Mail (or whatever).
 The annoying behavior is observed in mutt-1.3.27i-4mdk.
 Or is there a simple way of browsing my IMAP account I have overlooked?
 Or prehaps there is a -devel list where this should be posted?
 
 PS: I have no idea if I am currently subscribed

there is an easy way to do it... go to the folder browser (ctab by
default), then hit c and enter the path to your imap server
imaps://dan@localhost/... I can now browse my IMAP folders.

I believe there's an setting you can tweak to get this by default, but
too lazy to look it up now... I'd guess it'd be folders or something
similar.

:)

-- 
Dan Boger
Linux MVP
brainbench.com




msg26981/pgp0.pgp
Description: PGP signature


Re: imap behavior

2002-04-09 Thread Dan Boger

On Tue, Apr 09, 2002 at 09:10:17AM -0500, David T-G wrote:
 Same here, and I'm only on mbox :-)  I'd probably use IMAP more except
 for the bit where I can't go back and mark a message 'N'ew again :-(

why not?  works for me...  The only time I wished for a trash box was
when I notied a lot of times I delete a message without reading it (from
one of the lists), and notice that I actually did want to read it (while
it was syncing)...  but for that, I just created a mail.today box, and a
mail.yesterday - that keeps all the mail I get in the past two days...
:)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26918/pgp0.pgp
Description: PGP signature


Re: imap behavior

2002-04-09 Thread Dan Boger

On Tue, Apr 09, 2002 at 09:27:10AM -0500, David T-G wrote:
 % On Tue, Apr 09, 2002 at 09:10:17AM -0500, David T-G wrote:
 %  Same here, and I'm only on mbox :-)  I'd probably use IMAP more except
 %  for the bit where I can't go back and mark a message 'N'ew again :-(
 % 
 % why not?  works for me...  The only time I wished for a trash box was
 
 Why not live without the 'N'ew flag?  Because I want it, of course.
 
 Or am I missing your point?

yes, you are :)  why can't you go back and mark a message 'N' again?

-- 
Dan Boger
[EMAIL PROTECTED]



msg26920/pgp0.pgp
Description: PGP signature


Re: imap behavior

2002-04-09 Thread Dan Boger

On Tue, Apr 09, 2002 at 09:42:02AM -0500, David T-G wrote:
 I telnetted to my imap port and simply got
 
   [zero] [9:39am] ~  telnet localhost 143
   Trying 127.0.0.1...
   Connected to localhost.
   Escape character is '^]'.
   * OK localhost IMAP4rev1 v12.264 server ready
   ^]
   telnet qui
   Connection closed.
 
 so I don't know for sure what IMAP server we're running.  It's not worth
 further checking unless my understanding is out of date or otherwise
 incorrect, though.  You can write the 'N'ew flag back to your mailbox?

I think that's the WU IMAP implementation...  I think that, because
that's what I run, and my header is 

  * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS LOGINDISABLED]
localhost.localdomain IMAP4rev1 2001.315 at Tue, 9 Apr 2002 10:45:50
-0400 (EDT)

(LOGINDISABLED because it's not a secure channle)

maybe you're running an old version?

-- 
Dan Boger
[EMAIL PROTECTED]



msg26926/pgp0.pgp
Description: PGP signature


Re: imap behavior

2002-04-09 Thread Dan Boger

On Tue, Apr 09, 2002 at 09:59:25AM -0500, David T-G wrote:
 Possibly so.  Meanwhile, if you *can* write a 'N'ew flag back to any
 mailbox, I'll start bugging root!

yup, works, no problems :)  bug away!

-- 
Dan Boger
[EMAIL PROTECTED]



msg26931/pgp0.pgp
Description: PGP signature


Re: toggle-read?

2002-04-08 Thread Dan Boger

On Mon, Apr 08, 2002 at 01:31:04PM -0500, David T-G wrote:
 ...and then Bo Peng said...
 % 
 % Is there a toggle-read function somewhere? Sometimes, I want to toggle emails
 % as read without really reading them. I am using setflag O (old) but this is
 % not exactly what I want.
 
 You can write ('w') or clear ('W') any flag you want.  In addition, you
 can toggle the new flag with 'N'.  See 2.3.1.1 in the manual and your
 index help screen for more info.

hmmm... on my mutt (1.3.28i) I don't see that.  What I use is N -
toggle-new.

:)

-- 
Dan Boger
Linux MVP
brainbench.com




msg26877/pgp0.pgp
Description: PGP signature


Re: toggle-read?

2002-04-08 Thread Dan Boger

On Mon, Apr 08, 2002 at 01:49:25PM -0500, David T-G wrote:
 %  You can write ('w') or clear ('W') any flag you want.  In addition, you
 %  can toggle the new flag with 'N'.  See 2.3.1.1 in the manual and your
 %  index help screen for more info.
 % 
 % hmmm... on my mutt (1.3.28i) I don't see that.  What I use is N -
 
 What don't you see?

sorry - was looking for the keyword write instead of ^w.  yes,
set/clear flag is defenitly there, and useful too!

 % toggle-new.
 
 Yep; good, unless you want to set replied or flagged or ...

good point.  I do believe the original question was how to mark as
read which, to me, means not new :)

heh, guess the perl moto applies to mutt as well :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26885/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-03 Thread Dan Boger

On Tue, Apr 02, 2002 at 07:07:35PM +0200, Michael Tatge wrote:
 Dan Boger ([EMAIL PROTECTED]) muttered:
  when I don't access that one folder for a while, and I switch to it
  (with a macro), I get an error connection closed and an empty index.
  the only thing I could find that would fix this is to quit mutt and
  start it again - a new connection will then be established.
 
 Try setting $imap_keepalive to a higher value.

to a higher value?  that's counter intuitive, isn't it?

anyway, to report, setting it to a lower value did not help - accessing
the mailbox before going to sleep last night, and again this morning, I
get the same problem.  Mutt says some sort of error (is there an easy
way to review/catch these?), followed by a Close failed...  then I
have to quit and reenter mutt.

it is not impossible that this problem is with my imap server, btw, but
I'm trying to clear all my bases.

on the other hand, setting mail_check higher did wonders to the
performance of mutt with a lot of IMAP boxes :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26580/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-03 Thread Dan Boger

On Wed, Apr 03, 2002 at 09:03:34AM -0500, David T-G wrote:
 % get the same problem.  Mutt says some sort of error (is there an easy
 % way to review/catch these?), followed by a Close failed...  then I
 % have to quit and reenter mutt.
 
 I don't have the real answer, but what if you change to a local folder
 and then back to the imap folder?  You might not have to quite mutt after
 all...

nope, same thing.  have to actually quit and restart mutt.
 
:)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26586/pgp0.pgp
Description: PGP signature


close IMAP connections

2002-04-02 Thread Dan Boger

I'm trying to use an IMAP folder with mutt, and running into an annoying
problem:

when I don't access that one folder for a while, and I switch to it
(with a macro), I get an error connection closed and an empty index.
the only thing I could find that would fix this is to quit mutt and
start it again - a new connection will then be established.

Is there anything I can do to fix this?  Is there are way, perhaps, to
explicity tell mutt to close the IMAP connection, so it will be
reopened, without quitting mutt?

thanks :)





msg26522/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 06:32:07PM +0200, Heiko Heil wrote:
 I have the same problem here. I find it very annoying that due to the
 lost connection my sent E-Mail cannot be saved.
 
 By the way - I use the preconnect-feature in order to access my
 imap-port:
 set preconnect=ssh -f -q -L 8090:127.0.0.1:143 -L 8091:127.0.0.1:389 \
   [EMAIL PROTECTED] sleep 120  /dev/null  /dev/null 21

I just use imaps, and it's all behind my firewall anyway... but that
doesn't solve the problem ...

-- 
Dan Boger
[EMAIL PROTECTED]



msg26525/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 04:56:41PM +, Simon White wrote:
 All my mailboxes are IMAP, so I don't have this problem, since I'm always
 connected to the server. However, I have a fairly short
 imap_checkinterval:
 set imap_checkinterval=60

I saw that in the manual, but when I try it, I get an unknown setting
error... 

here's my mutt -v:


Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.19-6.2.7 (i586) [using ncurses 4.0]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
-USE_POP  +USE_NNTP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
++HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/spool/mail
PKGDATADIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

vvv.nntp
patch-1.3.28.rr.compressed.1
patch-1.2.xtitles.1

-- 
Dan Boger
[EMAIL PROTECTED]



msg26528/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 06:17:50PM +, Simon White wrote:
 Let me confirm for Heike and Dan, that you have local folders and IMAP
 folders in your config, and this is why your IMAP folders are timing out
 (on the server) causing the connection to close and thus creating your
 problem with not being able to log back in without restarting?

I have two setups (two different boxes) - one has a bunch of local
(non-imap) folders, and a macro defined to access an IMAP folder
(infrequently).  the other box is all IMAP - my folders via IMAP (which
update and work fine), and that same macro for an imap folder (on the
same server, but with a different username).

When I access that one IMAP folder, leave it for a while, and try to come
back is when I run into this problem.

-- 
Dan Boger
[EMAIL PROTECTED]



msg26536/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 12:23:01PM -0600, David Champion wrote:
 It's a little briefer in the actual NEWS file (which this was meant
 to patch). Basically, it was determined that $imap_checkinterval and
 $mail_check were redundant, so we dropped the special imap one.

_very_ interesting.  so while it doesn't help with my current problem
(since the mailbox that's timing out isn't one that's getting polled for
new mail) it might explain why my all-IMAP config is very slow, compared
with the local one...  esp since my IMAP server is a P90 with 48M of ram
:)



-- 
Dan Boger
[EMAIL PROTECTED]



msg26541/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 06:24:45PM +, Simon White wrote:
 02-Apr-02 at 13:22, Dan Boger ([EMAIL PROTECTED]) wrote :
  I have two setups (two different boxes) - one has a bunch of local
  (non-imap) folders, and a macro defined to access an IMAP folder
  (infrequently).  the other box is all IMAP - my folders via IMAP (which
  update and work fine), and that same macro for an imap folder (on the
  same server, but with a different username).
  
  When I access that one IMAP folder, leave it for a while, and try to come
  back is when I run into this problem.
 
 I'm assuming that you mean the IMAP folder with a different username.

correct.

 Do you have anything set for mail_check in your .muttrc?

yup - set mail_check = 5

-- 
Dan Boger
[EMAIL PROTECTED]



msg26542/pgp0.pgp
Description: PGP signature


Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 06:57:59PM +, Simon White wrote:
 So... let me know how you get on if you lower imap_keepalive and/or if you
 add the IMAP folder to your new mail poll... although you'll set
 mail_check higher or that poor old P90 might get a bit overworked :)

I changed my keepalive, and will report - thanks for the help!

-- 
Dan Boger
[EMAIL PROTECTED]



msg26555/pgp0.pgp
Description: PGP signature


[OT] Re: close IMAP connections

2002-04-02 Thread Dan Boger

On Tue, Apr 02, 2002 at 02:10:43PM -0500, David T-G wrote:
 You have 48M?  Wow; lucky you.  My box at home is only a P60 with 16M :-)

yah, we upgraded after it was too slow acting as a
fileserver/dns/dhcp/web server/twiki/cvs/smb master etc...  it's
actually working quite nice, except that AIDE takes too long to run on
it (17 hrs/day), so I need to fix that...  and it still beats my
firewall - 486/25 with 7.8M of ram (don't ask)...  though that one is
purring away nicely :)

-- 
Dan Boger
[EMAIL PROTECTED]



msg26556/pgp0.pgp
Description: PGP signature


Re: Patch: filter-message

2002-03-26 Thread Dan Boger

On Tue, Mar 26, 2002 at 11:19:14AM -0700, Steve Talley wrote:
 Quick description:
 
 filter-message (default: )
 
 Asks for an external shell command and filters the current or tagged
 message(s) through it.  Each tagged message will be filtered through a
 separate invocation of the command.  The stdout of the command will be
 appended to the current folder as a new message, and the original
 message will be marked for deletion.

just curious - wouldn't this break the compression patch?  Sounds like a
useful idea, but I can't even try it if it does :/

-- 
Dan Boger
[EMAIL PROTECTED]



msg26169/pgp0.pgp
Description: PGP signature


Re: Patch: filter-message

2002-03-26 Thread Dan Boger

On Tue, Mar 26, 2002 at 01:47:50PM -0500, David T-G wrote:
 Don't see why it would; can you clarify your hesitation?  If the working
 folder is modified, say by a save or an edit-message or any such stuff,
 then mutt will utilize the close-hook command to bundle the temp folder
 into the place of the compressed folder (whereas if no changes are saved
 then the temp folder can be thrown away without changing the original
 folder).
 
 Or am I missing something?

I think I am missing something... when a message is filtered, it will
append it to the TEMP copy of the folder?  if so, that's great :)  I was
worried that it will append it to the original, and that would, of
course, break things...

-- 
Dan Boger
[EMAIL PROTECTED]



msg26197/pgp0.pgp
Description: PGP signature


Re: Converting mbox to Maildir

2002-03-20 Thread Dan Boger

On Wed, Mar 20, 2002 at 01:21:08PM -0500, Shawn McMahon wrote:
 begin  quoting what David T-G said on Wed, Mar 20, 2002 at 01:08:56PM -0500:
  
  % Is mbox the same as Unix format?
  
  Yes, mbox is the same mailbox format that you know from years and years
  ago.  Each message is delimited by ^From_ (a newline, From, and a
 
 Well, technically, I don't think UNIX has a mail format.  UNIX doesn't
 do mail.
 
 *SENDMAIL* has a mail format, and it's mbox.  Other common UNIX
 utilities recognize this format, but UNIX itself doesn't do mail.

well, if you want to be pickey, sendmail doesn't deal with mailboxes
either.  the MDA does, though which defined the format for the mbox, I'm
not sure.  I would believe it's a unix standard, part of the unix
operating system, but can't back that up with facts. 

the mbox manpage does mention this, under history:

   The mbox format occured in Version 6 ATT Unix.
   A variant of this format was documented in RFC 976.

:)


-- 
Dan Boger
[EMAIL PROTECTED]



msg25798/pgp0.pgp
Description: PGP signature


Re: POP New Messages

2002-03-16 Thread Dan Boger

On Sat, Mar 16, 2002 at 12:05:40AM -0800, Jerry Van Brimmer wrote:
 OK, I'll bite. How do you tell fetchmail to download only new mail?

from `man fetchmail`:


   Disposal Options
   -a, --all
  (Keyword:  fetchall)  Retrieve  both old (seen) and
  new messages from the mailserver.  The  default  is
  to  fetch  only  messages the server has not marked
  seen.  Under POP3, this option also forces the  use
  of  RETR rather than TOP.  Note that POP2 retrieval
  behaves as though --all is always on (see RETRIEVAL
  FAILURE  MODES below) and this option does not work
  with ETRN or ODMR.

so by default, only new messages are downloaded, unless you use the -a,
--all, or the 'fetchall' option.

:)

Dan

-- 
Dan Boger
Linux MVP
brainbench.com




msg25621/pgp0.pgp
Description: PGP signature


Re: Mail-Followup-To on mutt-users redundant?

2002-03-15 Thread Dan Boger

On Fri, Mar 15, 2002 at 02:57:36PM +, Dave Pearson wrote:
 * Shawn McMahon [EMAIL PROTECTED] [2002-03-15 09:41:11 -0500]:
 
  Mailing lists aren't easy to recognize, at least when they don't put in a
  header, but you're forgetting that this will only come up if the user hits
  the list-reply key, thereby TELLING mutt that the email was from a list.
 
 Perhaps I'm missing something here but I don't use list-reply to tell mutt
 that an email is from a mailing list, I use list-reply to tell mutt that I
 want to respond to the list it was from (instead of to the author of the
 email, or whatever).

right.  the question is, how does mutt know what is the list address,
and what is the personal address?

-- 
Dan Boger
[EMAIL PROTECTED]



msg25569/pgp0.pgp
Description: PGP signature


Re: Mail-Followup-To on mutt-users redundant?

2002-03-14 Thread Dan Boger

On Thu, Mar 14, 2002 at 12:20:06PM -0500, Shawn McMahon wrote:
 This one time, at band camp, Simon White wrote:
  
  Ahh yes there is. L (list-reply). Or whatever you map it to in your muttrcs.
  Cool.
 
 Except it doesn't work with any mailing list I've tried.
 
 Including, for example, this one...

I believe you need to tell mutt which addresses are lists - look at
the lists and subscribe keywords, in the mutt docs.

HTH!

-- 
Dan Boger
Linux MVP
brainbench.com




msg25509/pgp0.pgp
Description: PGP signature


Re: About the language for the mutt config tool

2002-03-08 Thread Dan Boger

On Fri, Mar 08, 2002 at 12:03:56AM +0100, Marco Fioretti wrote:
 So, what language do the volunteers know better?

I'll defenitly help if it's in perl, and will probably be useless in
python.

:)

-- 
Dan Boger
[EMAIL PROTECTED]



msg25191/pgp0.pgp
Description: PGP signature


Re: mutt is not for everyone

2002-03-07 Thread Dan Boger

On Thu, Mar 07, 2002 at 12:38:35PM -0500, David T-G wrote:
 That's my recollection, but I don't have the URL to give you.  You go to
 the website, IIRC, click on your app, put in some options, and get a
 config file out.  Not unlike netliberte, I suppose, but I know that
 dotfiles (or dotfile) and generator were in the name.

IIRC, it's actually an app, not a cgi...

here's the homepage, thanks to freshmeat :)

  http://www.blackie.dk/dotfile/

-- 
Dan Boger
[EMAIL PROTECTED]



msg25155/pgp0.pgp
Description: PGP signature


Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Dan Boger

On Tue, Jan 22, 2002 at 06:45:21PM +0100, Christoph Kampe wrote:
 Please, if its possible, can anyone tell me how to change the
 xterm-title depending on the mailbox i'm browsing in?
 
 history:
 Im using vim as my prefered editor in mutt. Everytime i use vim, it
 changes the Xterm-Title to the current edited file. When im leaving vim
 it changes to Thanks for using vim ;-) until next usage of vim.
 
 Is there any folder-hook, to change the xterm-title displaying the name
 of the mailbox i'm changing in? 

there's a patch, I believe (well, I know because I'm using it :) - I
think it's linked from mutt.org:

  http://www.robots.ox.ac.uk/~neil/mutt/

I think I had to do some mods to it to patch 1.3.25, but who really
knows :)  it allows you to add things like this to your muttrc:

set xterm_set_titles=yes
set xterm_icon='Mutt (%?m?%mnone?%?n?/%n?)'
set xterm_title=Mutt %?n?(%n new messages)?

HTH,

Dan

-- 
Dan Boger
[EMAIL PROTECTED]



msg23575/pgp0.pgp
Description: PGP signature


Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Dan Boger

On Tue, Jan 22, 2002 at 11:52:11AM -0600, John Buttery wrote:
   By the way, is there any way to get mutt to start composing _after_
 the quoted text instead of before it when replying?

it's not for mutt to do, it's your editor :)

I have in my muttrc this line:

  set editor=vim -u ~/.mutt/vimrc -c ':0;/^$'

which will tell vim to start after the headers, so I'll be positioned to
trim the quoted text.

if you wanted it to start at the end, you could do something like this
(assuming you use vim, of course):

  set editor=vim -c ':%;?^$'

HTH!

-- 
Dan Boger
Linux MVP
brainbench.com




msg23581/pgp0.pgp
Description: PGP signature


message-hooks

2002-01-16 Thread Dan Boger

I'm trying to do something here, maybe it's not doable - who knows?

what I want is that whenever I write or reply to a certain address, that
message will be automagically BCCed to another address.  I tried using
send-hooks, but those do not seem to affect the current message, only
subsequent messages.

send-hook . 'unmy_hdr Bcc:'
send-hook [EMAIL PROTECTED] 'my_hdr Bcc: [EMAIL PROTECTED]'

(from memory)

Is it possible?

-- 
Dan Boger
[EMAIL PROTECTED]



msg23155/pgp0.pgp
Description: PGP signature


Re: message-hooks

2002-01-16 Thread Dan Boger

On Wed, Jan 16, 2002 at 07:21:28PM +0100, Roman Neuhauser wrote:
  what I want is that whenever I write or reply to a certain address, that
  message will be automagically BCCed to another address.  I tried using
  send-hooks, but those do not seem to affect the current message, only
  subsequent messages.
  
  send-hook . 'unmy_hdr Bcc:'
  send-hook [EMAIL PROTECTED] 'my_hdr Bcc: [EMAIL PROTECTED]'
 
 Doesn't message-hook do what you describe here?

nope, doesn't seem to do anything at all!

-- 
Dan Boger
[EMAIL PROTECTED]



msg23168/pgp0.pgp
Description: PGP signature


Re: message-hooks

2002-01-16 Thread Dan Boger

On Wed, Jan 16, 2002 at 01:16:59PM -0500, Dan Boger wrote:
 On Wed, Jan 16, 2002 at 07:21:28PM +0100, Roman Neuhauser wrote:
   what I want is that whenever I write or reply to a certain address, that
   message will be automagically BCCed to another address.  I tried using
   send-hooks, but those do not seem to affect the current message, only
   subsequent messages.
   
   send-hook . 'unmy_hdr Bcc:'
   send-hook [EMAIL PROTECTED] 'my_hdr Bcc: [EMAIL PROTECTED]'
  
  Doesn't message-hook do what you describe here?
 
 nope, doesn't seem to do anything at all!

ok, I spoke prematurely...  it does seem to work when I'm viewing a
message that matches [EMAIL PROTECTED], but that's not quite the same...
I want sending messages to [EMAIL PROTECTED], if it's a reply, or a
forward, or a new message, I want it BCCed...

-- 
Dan Boger
[EMAIL PROTECTED]



msg23170/pgp0.pgp
Description: PGP signature


Re: using wildcards in mailboxes

2002-01-10 Thread Dan Boger

On Thu, Jan 10, 2002 at 10:01:09AM -0500, Maciej Kalisiak wrote:
 Is it possible to use wildcards in the mailboxes command? I have
 procmail spool all my mailing list mail to various folders in
 ~/mail/lists, and was hoping I could do
 
   mailboxes ! =lists/*
 
 but unfortunately that doesn't seem to work; only the main spool file
 shows up in the list of mailboxes.

try

mailboxes ! `echo /path/to/your/folders/lists/*`

:)

-- 
Dan Boger
Linux MVP
brainbench.com




msg22785/pgp0.pgp
Description: PGP signature


Re: Using message-hook to run messages through a filter

2001-12-28 Thread Dan Boger

On Fri, Dec 28, 2001 at 05:09:05PM +0100, Andre Majorel wrote:
 There is one guy out there who has particular and very annoying
 writing idiosyncracies (think Prince or B1FF). I wrote a filter to
 translate his prose to something less obnoxious. Now how do I
 configure Mutt to automatically pipe his messages through the
 filter when reading or replying to him ?
 
 I thought that 
 
   message-hook ~f joe@blow\.com pipe-message /usr/local/bin/unmangle
 
 would do the trick but Mutt says pipe-message: unknown command.

well, not sure how to do it with mutt - I have written a similar filter
(for a 40 year old that spells like he's a teenage hacker wannabe), and
I just run it via procmail...  It is funny to see my replies to him
spelled correctly (including the quoted part :)

HTH

Dan

-- 
Dan Boger
[EMAIL PROTECTED]



msg21980/pgp0.pgp
Description: PGP signature


Re: binding a key to forward mail

2001-12-11 Thread Dan Boger

On Tue, Dec 11, 2001 at 01:24:59PM +, Jose Celestino wrote:
 [EMAIL PROTECTED] definitely sucks. Don't use it.

thank you for sharing this observation.

-- 
Dan Boger
[EMAIL PROTECTED]



msg21495/pgp0.pgp
Description: PGP signature


Re: Fast way to folder browser

2001-12-06 Thread Dan Boger

On Thu, Dec 06, 2001 at 03:06:35PM +0100, Nils Holland wrote:
 However, I would like to know if there is a way to make c bring me right
 into the folder browser, without asking me to enter a mailbox name or
 pressing ?.

how about this:

macro pager c change-foldertab
macro index c change-foldertab

seems to work for me :)

-- 
Dan Boger
Linux MVP
brainbench.com




msg21166/pgp0.pgp
Description: PGP signature


Re: Can mutt access USENET?

2001-12-06 Thread Dan Boger

On Thu, Dec 06, 2001 at 11:43:32PM +0100, Roberto Suarez Soto wrote:
 On Dec/06/2001, Jun Liu wrote:
 
  just wondering, :)
 
   Not natively. There's a patch somewhere, but the official
 mutt can't.

the patch I use is the vvv patch, linked from the mutt homepage
(http://www.mutt.org) - http://mutt.kiev.ua/

just apply the patch, rebuild, and you're good to go :)

-- 
Dan Boger
Linux MVP
brainbench.com




msg21198/pgp0.pgp
Description: PGP signature


Re: a couple more questions - sync-mailbox

2001-12-03 Thread Dan Boger

On Mon, Dec 03, 2001 at 10:19:33AM -0500, Paul Brannan wrote:
 On Sat, Dec 01, 2001 at 09:08:02AM +0100, Sven Guckes wrote:
  * Paul Brannan [EMAIL PROTECTED] [011130 15:45]:
   1) How can I refresh the current inbox?
  
  Use the command sync-mailbox - bound to '$' by default.
  And please use '?' to show the help screen
  and '/' to search within.  Then go RTFM.
 
 Pressing '$' does not appear to have any effect.  As a test, I:
   a) send a message to myself
   b) return to my INBOX (which resides on an IMAP server)
   c) wait a while, then press '$' -- nothing happens
   d) quit mutt
   e) start mutt and return to my INBOX -- the message is there

syncing doesn't delete anything on it's own...  you have to delete the
message if you expect the sync to remove it from the mailbox.

or am I misunderstanding you?

-- 
Dan Boger
Linux MVP
brainbench.com




msg20967/pgp0.pgp
Description: PGP signature


Re: display-hooking w3m / was: mutt for blind computerusers

2001-11-30 Thread Dan Boger

On Fri, Nov 30, 2001 at 12:40:36PM -0800, Gary Johnson wrote:
 On Fri, Nov 30, 2001 at 08:48:04PM +0100, Cristian wrote:
  On Fri, Nov 30, 2001 at 10:23:51AM -0800, Gary Johnson wrote:
  Could you automate it? Could you find out whether there are more
  than, say, 3 URLs in a message body so it's worth to hand over control
  to w3m? Can you do it without slowing down the whole Mutt?
 
 I don't think so.  The problem is that you would have to use an external
 program to count the URLs and mutt doesn't send the message text to any
 external program (e.g., display_filter or pager) until it has
 decided which pager it is going to use.  An external pager wrapper
 program could select among a set of external pagers, but it couldn't
 select mutt's internal pager.

what if you set up a procmail filter, to add a header to messages with 3
or more urls, and then have mutt match that header?  would that work?

-- 
Dan Boger
[EMAIL PROTECTED]



msg20894/pgp0.pgp
Description: PGP signature


Re: mutt for blind computerusers

2001-11-28 Thread Dan Boger

On Wed, Nov 28, 2001 at 08:26:35PM +0100, Christian Schoepplein wrote:
 Hi,
 
 I'm a blind computeruser who wants to use mutt. Most things are working 
 very fine, I had only to change a view settings in the 
 standardconfiguration to get mutt working with my special screenreading 
 software (suse-blinux) and hardware devices (brailledisplay and 
 speechsynt). But one thing is very uncomfortable... When reading a mail, 
 there is no cursor inside mutt's internal pager which makes it unposible 
 for my screenreading software to read the message with the normal keyboard 
 by using the arrowkeys for example. I have to use the keys on my 
 brailledisplay and thats really stressfull ;-).
 
 What I'm looking for is a posibility to get a cursor inside the pager 
 which is positioned on the first letter of the line. When opening a 
 message the cursor should be in teh first line of the mail and it would be 
 cool to scroll to the next line (for example by pressing 
 the arrow-down-key) and so on, till the last line of the messagetext. It 
 would be great to be able navigating on every line of the message with the 
 cursor, then it shuld be no problem reading a message with my 
 screenreading software.
 
 As far as I know mutt doesn't have a solution for my problem, but maybe 
 I'm wrong ??? Perhaps anyone has a tip how I can solve the problem or 
 maybe it is posible to ad a new feature to mutt, that brings a cursor in 
 to the internal pager.

well, a workaround might be instead of viewing messages with enter,
view with 'e' - edit-message.  that will open the message in your
defined editor, and you can scroll through it there with the cursor...
when done, just quit your editor without saving, and you're back at the
index.

in my setup, the editor is set to :

set editor=vim -u ~/.mutt/vimrc -c ':0;/^$'

so that it automagically starts after the headers :)

HTH!

-- 
Dan Boger
Linux MVP
brainbench.com




msg20758/pgp0.pgp
Description: PGP signature


Re: mutt for blind computerusers

2001-11-28 Thread Dan Boger

On Wed, Nov 28, 2001 at 02:36:06PM -0500, Daniel Eisenbud wrote:
 On Wed, Nov 28, 2001 at 02:32:39PM -0500, Dan Boger [EMAIL PROTECTED] wrote:
  well, a workaround might be instead of viewing messages with enter,
  view with 'e' - edit-message.  that will open the message in your
  defined editor, and you can scroll through it there with the cursor...
  when done, just quit your editor without saving, and you're back at the
  index.
 
 Setting the pager to an editor (preferably started with a readonly flag)
 would be a lot less error-prone.

defenitly!  I didn't actually know you could do that :)  

-- 
Dan Boger
[EMAIL PROTECTED]



msg20761/pgp0.pgp
Description: PGP signature


Re: Strange attachement

2001-11-26 Thread Dan Boger

On Mon, Nov 26, 2001 at 10:21:18PM +0100, Patrik Modesto wrote:
 Hi,
 I often get mail with attachement like this:
 
 begin 666 Studie.doc
 MT,\1X*QN$`/@`#`/[_0!
 M/P``$ ``00$```#^`#X```#_
 M
 
 snip
 
 `
 end
 
 It is sent from MSOE and it looks like that, only when the user forwards
 interesting messages to someone else. When sending new composed mail,
 attachement looks right and is recogniced by mutt. I think, this is not
 a valid form of attachement.
 
 What can be wrong?

pipe it into uudecode - '|uudecode' should do the trick.  I wouldn't be
able to tell you when OE decides to encode an attachment in MIME and
when in UU, but either way is decodable.

HTH :)

-- 
Dan Boger
Linux MVP
brainbench.com




msg20702/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread Dan Boger

On Fri, Nov 16, 2001 at 01:31:30PM -0500, David T-G wrote:
 I created /tmp/ed.sh which looks like
 
   #!/bin/sh
   
   perl -e '
 open MUTTI,  '$1';
 open MUTTO, '$1'.out;
 while(MUTTI)
   {
 print(-);   ###
 print(MUTTO   $_);
   }
   print(\n);###
 close MUTTI;
 close MUTTO;
 '
   mv -f $1.out $1
   
   vim +/^$ $*
 
 and set my $editor to that (note the clever unquoting of $1 in the open
 lines) and, sure enough, found my entire file indented by two lines.
 
 I let mutt put together the headers and the body and then hand it to the
 editor, which I've specified as a wrapper which will first manipulate
 the file it's handed.
 
 Now, I know that there is a way to edit in place in perl and skip the
 temp file, but it doesn't pop to mind.  I could do it easily in ed but
 that would probably be tough to use to grab the Subject: line and
 generate a Cc: line :-)

perl -i -n -e 's/^/-  /;' $1

something like this? :)


-- 
Dan Boger
Linux MVP
brainbench.com




msg20511/pgp0.pgp
Description: PGP signature


Re: send-hook to parse entry out of subject line and dump into CC field?

2001-11-16 Thread Dan Boger

On Fri, Nov 16, 2001 at 01:50:05PM -0500, darren chamberlain wrote:
 Dan Boger [EMAIL PROTECTED] said something to this effect on 11/16/2001:
  On Fri, Nov 16, 2001 at 01:31:30PM -0500, David T-G wrote:
  perl -i -n -e 's/^/-  /;' $1
  
  something like this? :)
 
 Close!
 
 perl -i -pe 's/^/-  /' $1

doh!  what was I thinking!  

-- 
Dan Boger
[EMAIL PROTECTED]



msg20513/pgp0.pgp
Description: PGP signature


Re: Re: /var/mail/sean is not a mailbox?

2001-11-14 Thread Dan Boger

On Wed, Nov 14, 2001 at 02:28:42PM -0700, Sean LeBlanc wrote:
 So I cleared the mail file again,
 sent another test message from hotmail, removed this line from
 the .fetchmailrc: mda procmail, and then ran again. This time
 the mailbox was okay. So I guess somehow I'm running procmail
 incorrectly, or else it's misconfigured in the .procmailrc.

not sure if this is related, but here's how I have procmail in my
fetchmailrc:

mda '/usr/bin/procmail -d %T'

:)

-- 
Dan Boger
[EMAIL PROTECTED]



msg20442/pgp0.pgp
Description: PGP signature


Re: maildir and compressed folders

2001-10-18 Thread Dan Boger

On Thu, Oct 18, 2001 at 03:11:26PM -0400, David T-G wrote:
 In theory, you should be able to open and/or close and/or append any sort
 of mailbox this way; one idea that has crossed my mind is a encrypted
 mail folder (tar.pgp) but I haven't played with it and it requires an
 unencrypted temp file anyway...

nod... I used to do that for a while - the folders would get unencrypted
while you were reading them, but if someone got hold of your machine,
they wouldn't be able to access any (closed) folders...

the only problem was in appending msgs to mailboxes, since it had to
unencrypt/reencrypt, instead of just appending, like you can do with
gzip...

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


Re: is it possible to have mutt use gzipped mailboxes ?

2001-10-05 Thread Dan Boger

On Fri, Oct 05, 2001 at 03:30:29PM +0200, Sven wrote:
 Hello, ...
 
 First, i am a long time mutt user, and find it one of the best muas around.
 
 I was asking myself if it would be possible for mutt to read a gzipped
 mailbox. I suppose this could be done using the zlib library, but have found
 no mention of it in the manpage, nor in the faq or other documents i have read
 about mutt.
 
 Actually i just made a compressed archive of my mail boxes, burnt a CD with
 them, and would like to be able to use mutt read them, without having to
 uncompress them, which takes place and processing time.
 
 Please reply to me directly, as i am not subsrcibed to this list.

yup, I've been using it for almost all my folders for a while now...
get the patch from http://www.spinnaker.de/mutt/compressed/ and
recompile mutt with it.  I'm running it with the 1.2.5i version (I think
:)

HTH

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


OT - weird sendmail error msg

2001-09-25 Thread Dan Boger

yes, I know it's way off-topic, but I figure people here might know...
what would make sendmail barf on a queue, saying Deferred: Permission
denied?  Trying to help a friend's site, with about 600 msgs stuck in
the queue, and more gathering there all the time...

anyone have any idea?

Thanks!

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


Re: Mutt and GPG

2001-09-24 Thread Dan Boger

On Mon, Sep 24, 2001 at 04:55:26PM -0400, Derek D. Martin wrote:
 I have been using  mutt with pgp for some  time now, but I've now  got
 enough people that I want to send encrypted mail to on a regular basis
 that I'd like to have mutt automatically  encrypt mail to everyone for
 whom I  have public keys, and just  leave  it unencrytped for everyone
 else.  I looked through the manual, and though it seems like send-hook
 and/or auto-encrypt might be helpful  for this, there's nothing  clear
 that I could  find in the manual to  explain how to   do this.  Anyone
 have pointers?

something like this.

add to your .muttrc:

source .muttrc.autoenc

and add a cronjob:

gpg --list-keys | perl -n -e '/(.*?)/; print send-hook $1 \set 
pgp_autoencrypt\\n'  ~/.muttrc.autoenc

would that do? :)

great idea, btw, I like it!  

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: Another PGP-GnuPG problem...

2001-09-20 Thread Dan Boger

On Thu, Sep 20, 2001 at 10:25:06AM -0400, Jean-Sebastien Morisset wrote:
 Hi folks! :-)
 
 When I was using PGP, I used to be able to re-read encrypted messages I
 had sent - not so since I changed to GnuPG. I guess it doesn't include my
 key in the encryption by default. What's the prefered way of configuring
 this with mutt?

check your .muttrc - I have this:

set pgp_encrypt_sign_command=pgpewrap gpg --passphrase-fd 0 -v --batch
-o - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r DC18C098
%r -- %f

notice that it mentiones there my keyid (DC18C098), it encrypts both to
my key and to the recipient (%r I think)...

HTH

:)

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: scores

2001-09-18 Thread Dan Boger

On Tue, Sep 18, 2001 at 10:22:08PM +0200, Matthias LOITSCH wrote:
 i cant assign a negative number to a score!
 
 why does the command ... :
 
   score '~f [EMAIL PROTECTED]' -5
 
 ... not work???
 
 it always assignes 0 to the messages
 i have no problem with positive numbers.
 
 thanks for your help

  The score commands adds value to a message's score if pattern matches
  it.  pattern is a string in the format described in the ``patterns''
  section.  value is a positive or negative integer.  A message's final
  score is the sum total of all matching score entries.  However, you may
  optionally prefix value with an equal sign (=) to cause evaluation to
  stop at a particular entry if there is a match.  Negative final scores
  are rounded up to 0.

Negative final scores are rounded up to 0.  :)

HTH,

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: auto attachment

2001-09-17 Thread Dan Boger

On Mon, Sep 17, 2001 at 06:46:08AM -0400, David T-G wrote:
 % is it possible to include an attachment into mails automatically
 % (like a signature) ?

 Let's see, here...  Back in [EMAIL PROTECTED] Adam
 Lazur asked if anyone had such a thing, and I haven't seen any reply.
 That might be enough to get you started, though; I vaguely recall
 that creating the Attach: header by hand will attach a file (yep, just
 tested it).

cool!  I didn't know that.  So all you need to do is add a my_hdr
Attach: /path/to/file to your .muttrc, and it'll auto-attach that file
to every message.  nice.

Mutt rocks.

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


Re: shell escape (!) oddity

2001-09-14 Thread Dan Boger

On Fri, Sep 14, 2001 at 04:02:58PM -0500, Drew Raines wrote:
 I press ! to execute a shell command, and if I press enter at the prompt
 instead of a command, it kicks me out of mutt without saving.
 
 If this is the desirable behavior, will someone explain why?

it doesn't actually kick you out of mutt... it just gives you a shell..
type exit, you'll find yourself back in good 'ol mutt :)

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


Re: Mutt + PGP

2001-09-13 Thread Dan Boger

On Thu, Sep 13, 2001 at 10:37:26AM -0400, Nelson D. Guerrero wrote:
 Well, I installed gpg a couple of weeks ago and was looking around for
 a answer to my problem, and just did'nt find one so I left it like that.
 But it's become quite anoying looking at that everytime I get a signed
 email. 
 
 PGP signature could NOT be verified. 
 
 I get that everytime...how can I 'NOT' get this?

  6.3.128.  pgp_verify_sig

Type: quadoption
Default: yes

If ``yes'', always attempt to verify PGP/MIME signatures.  If ``ask'',
ask whether or not to verify the signature.  If ``no'', never attempt
to verify PGP/MIME signatures.

so just put set pgp_verify_sig=no and it won't try.  Or, fix your gpg
config :)

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: limiting by number of lines

2001-09-10 Thread Dan Boger

On Mon, Sep 10, 2001 at 09:38:44AM -0400, David T-G wrote:
 With mutt-1.2.5 (or -1.3.22.1), can one limit by the number of lines in a
 message?  I have a folder with messages from all over and I can easily
 limit the display to only a given subject, but the 10-line messages are
 just acks and so I'd like to also exclude them from the display -- but I
 don't want to sort by size because I'd like to see them in date order.

wouldn't this work?  

~s subject ~z 1k

guessing that a 10 line message will be less than 1k in size...?

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: limiting by number of lines

2001-09-10 Thread Dan Boger

On Mon, Sep 10, 2001 at 10:07:34AM -0400, David T-G wrote:
 % guessing that a 10 line message will be less than 1k in size...?
 
 It will take some tweaking, since all of the acks are 10 lines long and
 none of the good messages are less, but some of the good messages are
 only 13 or 15 lines long (while others are easy at 220 lines)...

of course, you could always try to hack it...  maybe score messages with
the output of `wc -l` - assuming you don't use scoring for something
else...

:)

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: Address Book

2001-08-23 Thread Dan Boger

On Wed, Aug 22, 2001 at 06:11:38PM -0700, dannyman wrote:
 
 So, what is the point of abook?  To query non-mutt address books from
 mutt?  It looks like if I was silly enough to want to manage my .aliases
 file with it, I would have to convert .aliases to abook format, then run
 abook, then convert back to mutt .aliases.
 
 Or am I missing something?

you don't need to convert the abook back to aliases - you can just use
it as an external query command, and get email addresses directly from
abook.  basicly, stop using .aliases.

HTH

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


quote deleting in vim (OT)

2001-07-11 Thread Dan Boger

Just a wild guess that the vi gurus here could help me out...  When I
reply to a message, I try to quote only the relevant parts.  But once
I'm done, especially if the message is part of a long and over quoted
thread, I have to delete 10s, or even 100s of lines before I get to my
sig...  any easy way of doing Delete until ^--?  I could also write a
macro to do DG:r~/.sig^M, but thought there might be an easier way?

Anyone?

:)

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


nntp patch and hooks

2001-06-19 Thread Dan Boger

Is there a way using the vvv patch to assign hooks to newsgroups?  or even
to all nntp postings?  I want my sig to be different on the news server
than on mail...  I've tried server-hook, folder-hook, and send-hook...
I figured I should be able to send-hook matching on ^Newsgroups:, but
that didn't work either. :/

ideas?

-- 
Dan Boger
[EMAIL PROTECTED]



Re: nntp patch and hooks

2001-06-19 Thread Dan Boger

On Tue, Jun 19, 2001 at 02:06:43PM -0400, Louis LeBlanc wrote:
 # Set my nntp signature file (defaults are set in .muttrc)
 server-hook  news.server.net  'set signature=~/.mutt/nntpsig'

yup, that's what I tried... but no luck at all.  I put in:
server-hook news.server.new 'set signature=test'

and hit P - I still get my standard sig...  send-hooks aren't called
for nntp posts, right?  any way to debug this?

Thanks,

-- 
Dan Boger
[EMAIL PROTECTED]



Re: Displaying number of lines in a message

2001-06-15 Thread Dan Boger

On Fri, Jun 15, 2001 at 12:48:24PM -0400, Louis LeBlanc wrote:
 I don't know what the deal is.  Like I said in the procmail message, I
 suspect that part of the problem is in the lock attempt at
 /var/spool/mail/leblanc.lock
 What do you do there?  do you have permissions to write to that dir?

can't you just set $LOCKFILE to someplace else where you do have write
permissions?

-- 
Dan Boger
Linux MVP
brainbench.com




Re: Displaying number of lines in a message

2001-06-15 Thread Dan Boger

On Fri, Jun 15, 2001 at 02:14:54PM -0400, Louis LeBlanc wrote:
 
 On 06/15/01 01:04 PM, Dan Boger sat at the `puter and typed:
  On Fri, Jun 15, 2001 at 12:48:24PM -0400, Louis LeBlanc wrote:
  
  can't you just set $LOCKFILE to someplace else where you do have write
  permissions?
 
 Apparently not.  I entered the following line at the top of the
 /etc/procmailrc file:
 LOCKFILE=$HOME/.procmail.lock
 
 And still got the same results.
 
 I am looking at the DEFAULT setting.  I don't know what to make of it
 just yet, but I'll let you know.
 

I may be completely off track here, but according to the procmail manpage,
the commands in /etc/procmailrc might be executed as root... meaning that
$HOME/.procmail.lock would be /root/procmail.lock or something like that -
where a regular user will still not have write access.  I'd try (one last
time) to put that in the ~/.procmailrc file...

-- 
Dan Boger
Linux MVP
brainbench.com




Re: Accented characters

2001-06-07 Thread Dan Boger

On Thu, Jun 07, 2001 at 05:42:49PM +, Victor wrote:
 No one has still answered to my devastating question:
 
 How can I make accented characters appear in my Italian e-mails (they're invariably 
substituted with '?')  ?
 
 Ciao é à (here an example)

good example - came out (for me) as an 'e' with a '/' on top, and an 'a'
with a '\' on top...  My guess that your terminal is lacking somehow...

-- 
Dan Boger
[EMAIL PROTECTED]



Re: fetching mail in mutt and sendmail

2001-05-21 Thread Dan Boger

On Mon, 21 May 2001, Joss Winn wrote:
 I would like to disable the sendmail daemon yet still be able to
 fetch mail using fetchmail, calling sendmail to deliver the mail
 only when fetchmail needs it.  Currently, if the sendmail daemon is
 disabled, I can send mail, but when trying to fetch i with
 fetchmail, it fails because sendmail is not running in the
 background.  Is there anyway i can use sendmail without it running
 constantly on port 25?  I do not run any external services and am
 the only user.  Alternatively, can I make the pop3 function in mutt
 work with procmail?

just curious, why deliver the mail via sendmail?  you can just call
procmail directly from fetchmail, and skip sendmail alltogether...  unless
there's a reason I've missed here?

just put:

mda /usr/bin/procmail  -d  %T

in your fetchmailrc, and turn off sendmail :)

HTH,

Dan

-- 
[EMAIL PROTECTED]
Linux MVP
Brainbench.com





Re: [feature req] Configurable behaviour after MTA failure

2001-05-18 Thread Dan Boger

On Fri, 18 May 2001, Joane Lispton wrote:
 To sum it up, when it comes to the trade-off between
 
 - doing all the queueing manually, and knowing (from within mutt) that mail 
 has been successfully relayed
 
 and
 
 - having a MTA do the queueing for me, yet, if I wish to make sure that 
 something is already at the relay host, I have to dig in log files,

wouldn't mailq still tell you the mail is in the queue, and hasn't been
flush yet?  not saying that the option not to store the fcc on failed
delivery is a bad thing, just another way to check :)

Dan




Re: Using urlview for FTP?

2001-01-30 Thread Dan Boger

On Tue, Jan 30, 2001 at 08:47:20AM -0800, Ben Reser wrote:
 Not possible right now.  urlview only knows how to use one program.  You can
 use the COMMAND option in the .urlview file to change from netscape to another
 program but you can set one for ftp and one for http...

unless you write a wrapper script, put it as your COMMAND, and have it
check if it's an ftp url, or a https? url, or whatever...

-- 
Dan Boger
System Administrator
Brainbench linux MVP
http://www.brainbench.com




score and ~b

2001-01-29 Thread Dan Boger

Doh!  Finally got around to set some score rules (I want to see when
someone's referencing my website on a high volium list) - but mutt says
"~b isn't supported in this mode" for the following command?

  score "~b peeron.com" 500

am I missing something?

-- 
Dan Boger / [EMAIL PROTECTED] / www.peeron.com / ICQ: 1130750
set:3722_1:  Treasure Tomb (LEGO/SYSTEM/Adventurers/Egypt), '98, 161 pcs, 3 figs



Re: compressed folders

2001-01-18 Thread Dan Boger

On Thu, Jan 18, 2001 at 08:21:17AM -0500, Michael P. Soulier wrote:
 Hey guys. My apologies if this is in the docs, you can just point me to
 it. Currently, I save every message at work that I've ever sent. This makes
 the outbox big quickly, so I copy the outbox occasionally and start with a new
 one, gziping the old one. 
 Now, if I need to search the gzipped copy, I can unzip it and use mutt's
 excellent regexp support. However, I'm wondering if there's a way to unzip it
 automatically and zip it again. I'm sure someone has done this, I can't be the
 laziest guy in the room! Ok, maybe. ;-)

yup, someone already made a patch for it...  one sec, I'll search for it...

  http://www.spinnaker.de/mutt/compressed/

there is it. :)  it also supports gpg, so not only are my older folders
compressed, they are encrypted as well.  :)

-- 
Dan Boger
System Administrator
Brainbench linux MVP
http://www.brainbench.com


 PGP signature


Re: sending mail and a copy saved to sent-mail...

2000-11-15 Thread Dan Boger

On Wed, Nov 15, 2000 at 12:28:06PM -0800, Luke Ravitch wrote:
 Cool.  I like to compress my archived sent mail, though.  I just have:

nod, I do that too, only gpg it in the proccess.  do you use the
+COMPRESSED patch to mutt, so it could read the compressed folders on the
fly? :)

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: send-hooks not reset

2000-10-24 Thread Dan Boger

On Tue, Oct 24, 2000 at 04:53:25PM -0400, Adrian Chung wrote:
 set from="Adrian Chung [EMAIL PROTECTED]"
 alternates="(support|achung)@mycompany\.(com|net|org)"
 
 send-hook '~f support@mycompany' 'my_hdr From: company support 
[EMAIL PROTECTED]'
 send-hook '~f support@mycompany' 'set signature=~/.signature-support'
 
 Is this normal behaviour?  Do I have to set a default send-hook to reset
 every parameter that I change?

exactly.  when you set the sig, or a header, it's not only for that message.
so you need to do something like:

send-hook . 'unmy_hdr From:'
send-hook . 'unset signature'

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: GPG 1.0.3 and mutt

2000-10-20 Thread Dan Boger

On Fri, Oct 20, 2000 at 05:02:57PM +0930, Brian Salter-Duke wrote:
 I recently decided to try GnuPG after using only pgp2 off and on for
 some years. It was only after I downloaded it and played with it for a
 while, that I realised that version 1.0.3 was very recent. I had got in
 right at the beginning of a new version. This new version incorporates
 RSA which I understand came out of copyright only in September.
 
 This allows one I gather to encrypt in a manner compatible with pgp2.

I believe the gpg only deciphers with RSA, and doesn't encrypt using it.
Sorry, but I wouldn't know anything about pgp2 though...

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: editing mails, then save it instead of sending

2000-10-20 Thread Dan Boger

On Fri, Oct 20, 2000 at 11:00:01AM +0200, Thomas Guettler wrote:
 I use mutt since some months and has all the features I can
 imagine. Great. But one thing I am missing: Sometimes I want to edit a
 mail, and then save it. I think it is only possible to edit and resend
 it. (OK, I could resent it to myself, but that's not a nice solution)
 Has someone an solution?

e   edit   edit the raw message   

so just hit 'e' on the message you want to edit it'll open it up in 
your editor, and put the modified message right after the old one, with
the old message marked for deletion...

or is that not what you meant?

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: FEATURE-REQUEST: mutt looks for PGPPASS environment variable

2000-10-20 Thread Dan Boger

On Fri, Oct 20, 2000 at 01:51:13PM +0200, Daniel Kollar wrote:
 In the PGP CmdLineGuide you will find a section about this.
 There you can read that using this feature is safe when you use in in
 a environment where no one else has access to it.
 
 I'm doing that. The environment is only active as long as mutt is
 open. No one from outside can access it.
 The wrapper script asks me for entering the passphrase and starts mutt
 immedeately after this. So, it is safe.
 The only thing a would agree is that someone can change the wrapper
 script to send the passphrase via email to outside...

what about people accessing mutt's enviroment through the proc filesystem?
or via strace?  "an enviroment where no one else has access to it" ususally
means a standalone computer, or one where you are the ONLY user (including
root)...  if it's a multi user machine, your env isn't safe.

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: Composing a draft?

2000-10-15 Thread Dan Boger

On Sun, Oct 15, 2000 at 12:51:12PM +0100, Conor Daly wrote:
 I don't think this would work.  mutt sits waiting for the editor to return
 before sending the mail.  If you use gvim which detaches itself from mutt,
 mutt decides that you've abandoned the message and aborts the send.  To
 make mutt use gvim you need to use something like
 
 set editor='gvim -e'
 
 which tells gvim to remain within the current process until it exits
 rather than detaching from its parent immediately.

ok, but that doesn't help you keep reading mail while you're editing a draft...
I don't have a solution for this though - need some way for mutt to just go
on, not waiting for the process, and not deleteing the tmpfile... then, somehow,
when the editor is done, something needs to send that mail...

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: How can I use mutt on disconnected laptops?

2000-10-15 Thread Dan Boger

On Sun, Oct 15, 2000 at 12:15:04PM -0700, joel wittenberg wrote:
   I read email from both my laptop and desktop machines (which are
 each in different email domains, ISPs, etc), and I do this fairly simply
 since my email server uses POP3 (I believe that something similar is
 possible using IMAP, but I don't know exactly how to do it since I don't
 have access to any mail servers which run IMAP).  Just use fetchmail and
 supply the UIDL keyword - now each host running email will d/l its own
 copy of your mail (thus, both the laptop and the main PC will each have
 the full set of email).  Of course, you'll have to d/l and mark as read
 email on 1 machine which you've already read on the other but that's
 pretty trivial and easy.  And using fetchmail makes it easy to use
 procmail as well, which is a Good Thing.

this would work for getting mail, but you would still lose the sent mail
data, and would have to process all your mail twice...  the only way to 
achieve all this that I can think of, without scripts and such, is to use
IMAP... which is a whole other bag of tricks...

:)

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: How can I use mutt on disconnected laptops?

2000-10-14 Thread Dan Boger

On Sat, Oct 14, 2000 at 02:35:24PM +, Conor Daly wrote:
 cat ~/mbox | /usr/bin/formail -D 8192 msgid.cache  laptop:~/mbox
 cat laptop:~/mbox | /usr/bin/formail -D 8192 msgid.cache  ~/mbox
 
 and similarly for other folders (I don't know what the "8192" bit means above, 
 I just copied it blindly from Telsa's .procmailrc). 

the 8192 is the size of the cache for the IDs - if you're processing a large
mailbox though, (say, more than 10-20 messages) you'd defenitly want this
larger...  at least 64k, if not more...

another way to go at it, and this also works only if there's only one machine
that is getting the mail, is just put the mailfolder (or the maildir) in an
nfs share...

Dan

 PGP signature


mutt and IMAP

2000-10-12 Thread Dan Boger

just started playing with IMAP a little (mostly to read postmaster mail)
and I was wondering about mutt's IMAP support...  Is anyone using it?

Here's some of my questions...  Is there a way to browse the server folders,
without knowing in advance which folders are available?  Does the new mail
notify work for imap folders?  Is there a way (without macros) to teach
mutt which IMAP servers/folders I usually read, and have it selectable?

:)

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: mutt and IMAP

2000-10-12 Thread Dan Boger

On Thu, Oct 12, 2000 at 03:00:27PM +0200, Kai Blin wrote:
  Does the new mail notify work for imap folders?  
 
 Yes, it works nicely

ok, how do I get it to work?  I put the IMAP folders I want in my $mailboxes,
but I never get notified still?

  Is there a way (without macros) to teach
  mutt which IMAP servers/folders I usually read, and have it selectable?
 
 You mean like the mailboxes option in .muttrc?
 Yes!

I actually meant without putting them in the $mailboxes - I guess that ties
into folder browsing in general..

:)

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: signature to appear on top when replying mail

2000-10-12 Thread Dan Boger

On Thu, Oct 12, 2000 at 07:36:45PM +0800, Benny Chee wrote:
 how can the signature file be placed on top rather than below when replying a mail?

 Top as in above the content of the mail i m replying to.

you could always do something like this:

set editor = '/bin/vi -c /^$/:r.signature'

or

set editor = '/bin/vi -c /^$/:r!makesig'

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


reverse_name and alternates

2000-10-11 Thread Dan Boger

what am I doing wrong?

I have the following set:

set alternates = 
[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|dboger@.*.bgu.ac.il
set reverse_name

and yet, when I get mail to [EMAIL PROTECTED], and try to reply to it, the reply
has the default of [EMAIL PROTECTED]  what am I missing?

:)

Dan

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


Re: reverse_name and alternates

2000-10-11 Thread Dan Boger

On Wed, Oct 11, 2000 at 08:16:15PM +0300, Mikko Hänninen wrote:
 Are you using "my_hdr From", perhaps?  "my_hdr From" is incompatible
 (sort of) with $reverse_name.

sure enough, that was it.  Once I changed from

send-hook . 'my_hdr From...' 

to

send-hook . 'unmy_hdr From'

it works :)  Thanks!

-- 
Dan Boger
System Administrator
[EMAIL PROTECTED]

 PGP signature


  1   2   >