handle more than one imap account

2002-02-26 Thread Manuel Hendel

I have to handle more than one imap account with my mutt. Imap works
quite fine but is there a way to easy switch between these accounts,
instead of always typing the whole address of the imap server?

Thanks,
Manuel


-- 
A man is courting with a pretty girl for an hour and it seems shorter than a 
minute. But tell that same man to sit on a hot stove for a minute, it is 
longer than any hour. That's relativity. 
-Albert Einstein 



Re: feature `ask-no' for compose/toggle-unlink

2002-02-26 Thread David T-G

Adam, et al --

...and then Adam Byrtek said...
% 
% On Sat, Feb 23, 2002 at 11:10:17PM +0100, Hanspeter Roth wrote:
%  And I think people don't want to read the _whole_ manual before start
%  using Mutt.
% 
% Hey, I've read the whole manual, but I still missed it :)

*grin*


% Now I'm a bit more relaxed, because I've found brilliant little tool
% to extract messages from yahoogroups archives into mbox format. Looks
% like I'm gonna restore my deleted mailbox...

Hey, that would be neat to have.  Care to post the info?


% 
% And I still LOVE mutt :)

Nothing will ever change that, will it? :-)


% Regards

TIA  HAND


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24786/pgp0.pgp
Description: PGP signature


Re: pre-send actions

2002-02-26 Thread David T-G

Sweth --

...and then Sweth Chandramouli said...
% 
%   Are there any hooks in mutt for taking actions immediately
% before sending a message (e.g. caching recipient lists for later use),
% or should I just create a wrapper for sendmail?

No, there are no as-it-goes-hook commands.  It sounds like a wrapper is
your best bet.


% 
%   -- Sweth.
% 
% -- 
% Sweth Chandramouli ; [EMAIL PROTECTED]
% President, Idiopathic Systems Consulting

HTH  HAND


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24787/pgp0.pgp
Description: PGP signature


Re: Alias Groups

2002-02-26 Thread David T-G

Michael --

...and then Michael Montagne said...
% 
% How best to maintain groups of email addresses?  I need to list about 10

What's the confusion?  Just have your alias file, or your muttrc file if
you don't separate aliases, or your abook file or whatever other external
query you use, have the alias you want.

  ...
  alias david [EMAIL PROTECTED] (David T-G)
  alias tom [EMAIL PROTECTED]
  alias dick [EMAIL PROTECTED]
  alias harry [EMAIL PROTECTED]
  alias pals tom dick harry
  alias important david [EMAIL PROTECTED]
  ...


% people that I want to reference with one alias.  Just like in (I hate to
% say it) Outlook.

Go ahead and say it.  We'll be happy to flame you :-)


% 
% -- 
% Michael Montagne
% [EMAIL PROTECTED]
% http://www.boora.com

HTH  HAND


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24788/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-26 Thread Erika Pacholleck

[25.02.02 15:39 +0100] Louis-David Mitterrand -- :
 This small-specialized-tools-are-better-than-monolithic-apps argument
 keeps coming back like a mantra. It's so tired now as to seem almost
 pre-recorded. (Where do you guys get that propaganda anyway?)
 
This kind of propaganda is unwillingly spread by *all* those products
which try to put all-in-one. The more it is in, the more you loose if
a single component does not work.

 The keyword with mutt is integration: imap and pop are integrated with
 mutt becauses it makes sense to _browse_ remote imap or pop folders (yes
 mutt can do that with pop) and save stuff to remote imap folders (try that
 with fetchmail). 

This is a very personal statement. For myself it is economical
nonsense to waste a lot of money for online browsing if I can
save the short download on my free disk space (try paying your
bill from an empty bank account).

-- 
Erika Pacholleck [EMAIL PROTECTED]
mutters: insert vowels of last name



S/MIME display bug

2002-02-26 Thread Mike Schiraldi

Looks like we've got a display-corruption bug in current CVS -- when a
message arrives whose From address doesn't match any in the S/MIME cert
(like this message), the screen gets garbled.

A warning should absolutely be displayed, but should
mutt_any_key_to_continue() be called? A previous bugfix in another part of
smime.c mentioned that this is bad, and it added a sleep(5) call whose
purpose i didn't understand -- surely there must be a more elegant way?

Looking for a primer on reporting errors in mutt and the rationale for the
sleep(). Thanks.



smime.p7s
Description: application/pkcs7-signature


Re: gpg not cleanly exiting....?

2002-02-26 Thread David T-G

Sridhar --

...and then Sridhar Srinivasan said...
% 
% hi,

Hello!


% 
% i use gpg 1.0 on Solaris 8 with the sample gpg.rc (paths modified,
% etc.). all operations work correctly, except that when gpg is done, it
% doesn't seem to return to mutt. 

First, I agree with Will: you should upgrade to a current gpg.  Drop
Steve a note and ask for a new gpg package (or, better yet, contribute
your own to him!).


% 
% For example, on an email that is signed, when i try to read the
% message, mutt prompts me to verify the sig. i hit yes, mutt prints
% Invoking PGP. and nothing else happens. if i hit Ctrl-C, i drop
% into the pager with the gpg output and the signed email displayed
% correctly, including the part about the signature being verified.

Ahhh...  Do you have the required key in your ring?  Do you have a key
server defined in your options file and is gpg trying to get a key?


% 
% this leads me to believe that the child process is not exiting cleanly
% when gpg exits. 

Pop open another window and truss the gpg process to see what it's doing;
I bet the delay is simply trying to get the key so that it can verify the
sig.


% 
% could someone point out what could be wrong?

HTH  HAND


% 
% TIA,
% sridhar
% -- 
% Sridhar Srinivasan 
% You cannot kill time without injuring eternity.


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24791/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-26 Thread Louis-David Mitterrand

On Mon, Feb 25, 2002 at 07:43:58PM +0100, Erika Pacholleck wrote:
 [25.02.02 15:39 +0100] Louis-David Mitterrand -- :
  This small-specialized-tools-are-better-than-monolithic-apps argument
  keeps coming back like a mantra. It's so tired now as to seem almost
  pre-recorded. (Where do you guys get that propaganda anyway?)
  
 This kind of propaganda is unwillingly spread by *all* those products
 which try to put all-in-one. The more it is in, the more you loose if
 a single component does not work.

Oh? Will you fare any better if a _separately_ misonfigured procmail,
fetchmail or postfix starts eating your mail _separately_? Guess what,
if one, only one, of your dear small components start loosing mail the
next small component will never see it anyway ;-) 

  The keyword with mutt is integration: imap and pop are integrated with
  mutt becauses it makes sense to _browse_ remote imap or pop folders (yes
  mutt can do that with pop) and save stuff to remote imap folders (try that
  with fetchmail). 
 
 This is a very personal statement. For myself it is economical
 nonsense to waste a lot of money for online browsing if I can
 save the short download on my free disk space (try paying your
 bill from an empty bank account).

It makes a lot of sense to _leave_ your mail on a server you trust and
that has a real backup policy. My mail archive is too valuable to keep
on a workstation, be it a laptop or a PeeCee.

-- 
PHEDRE: C'est moi qui sur ce fils chaste et respectueux
Osai jeter un oeil profane, incestueux.
  (Phèdre, J-B Racine, acte 5, scène 7)



Re: S/MIME display bug

2002-02-26 Thread Oliver Ehli

On Mon, Feb 25, 2002 at 02:24:27PM -0500, Mike Schiraldi wrote:
 Looks like we've got a display-corruption bug in current CVS -- when a
 message arrives whose From address doesn't match any in the S/MIME cert
 (like this message), the screen gets garbled.
 
 A warning should absolutely be displayed, but should
 mutt_any_key_to_continue() be called? A previous bugfix in another part of
 smime.c mentioned that this is bad, and it added a sleep(5) call whose
 purpose i didn't understand -- surely there must be a more elegant way?


the following fixes the error. it again introduces some sleep (who
included the first one ?) that is needed here to display both error
messages. we could drop one of them, and thus get rid of it. the
(obviously not so) elegant solution was calling any_key

alternatively, we could just printf() the first (ie _not_ use
mutt_error), wait for any_key, and then mutt_error() the second/final
warning.


diff -u smime.c~ smime.c
--- smime.c~Wed Feb 13 15:05:49 2002
+++ smime.c Tue Feb 26 12:11:33 2002
@@ -915,15 +915,16 @@
 
   if (ret == -1)
   {
-mutt_copy_stream (fperr, stdout);
 mutt_endwin(NULL);
-mutt_error (_(Alert: No mailbox specified in certificate.\n));
+mutt_copy_stream (fperr, stdout);
+mutt_any_key_to_continue (_(Error: unable to create OpenSSL subprocess!));
+mutt_error (_(Alert: No mailbox specified in certificate.\n));
 ret = 1;
   }
   else if (!ret)
   {
-mutt_endwin(NULL);
+/* mutt_endwin(NULL); */
 mutt_error (_(Alert: Certificate does *NOT* belong to \%s\.\n), mailbox);
+mutt_sleep(5);
 ret = 1;
   }
   else ret = 0;
@@ -1455,7 +1456,10 @@
 {
   mutt_unlink(tempfname);
   if (smime_handle_cert_email (certfile, mbox, 0, NULL, NULL))
-   mutt_any_key_to_continue(NULL);
+  {
+   if(isendwin())
+ mutt_any_key_to_continue(NULL);
+  }
   else
retval = 0;
   mutt_unlink(certfile);




msg24793/pgp0.pgp
Description: PGP signature


compose/toggle-unlink documented

2002-02-26 Thread Hanspeter Roth

  On Feb 25 at 23:42, Adam Byrtek spoke:

 On Sat, Feb 23, 2002 at 11:10:17PM +0100, Hanspeter Roth wrote:
  And I think people don't want to read the _whole_ manual before start
  using Mutt.
 
 Hey, I've read the whole manual, but I still missed it :)

Wow. Congratulations. I still have some chapters left to read.

I have a 1.3.16i-71 installation.
In manual.txt.gz (in /usr/share/doc/packages/mutt) I can

- search for `unlink'
  If you know what to look for it isn't that hard.

- jump to ` 5.1.3.  The Compose Menu'


-Hanspeter



Re: How to avoid and handle looong lines

2002-02-26 Thread Joel Hammer

I never heard of gq before.
On Mon, Feb 25, 2002 at 11:02:27PM -0500, parv wrote:
 in message [EMAIL PROTECTED], 
 wrote Joel Hammer thusly...
 
  I don't have a mutt solution. You can just hit the reply button
  and get the letter in vim. Then, in the command mode, you can
  reformat it easily with:
  !}fmt
  You can map this sequence to a key. I use g.
 
 hi joel, i am curious as to why would you prefer 'fmt' than vim's
 built in 'gq' command?
 
  - parv
 
 



Re: S/MIME display bug

2002-02-26 Thread Luke Ross

Hi,

On Mon, Feb 25, 2002 at 02:24:27PM -0500, Mike Schiraldi wrote:
 Looks like we've got a display-corruption bug in current CVS -- when a
 message arrives whose From address doesn't match any in the S/MIME cert
 (like this message), the screen gets garbled.
 
 A warning should absolutely be displayed, but should
 mutt_any_key_to_continue() be called? A previous bugfix in another part of
 smime.c mentioned that this is bad, and it added a sleep(5) call whose
 purpose i didn't understand -- surely there must be a more elegant way?

How about a red line in the status bar?  Would be most elegent surely?

I'm still on old S/MIME mutt, and I saw:

Alert: Certificate belongs to [EMAIL PROTECTED].
   But sender was [EMAIL PROTECTED].
Press any key to continue...

What was the reason behind changing it?  No screen corruption here.

Luke




smime.p7s
Description: application/pkcs7-signature


Store and forward?

2002-02-26 Thread Thomas Baker

Dear all,

I have not had to manage my mail _primarily_ on my home computer since
1992, when I had a nice little UUCP setup using mailx with MKS Toolkit
and DOS 3.3, which worked brilliantly.

I am now trying to get set up with a Unix shell environment and Mutt on
my WIN2000 machine.  MKS Toolkit still uses mailx.exe, which is too far
out of date to be useful, and not even MKS seems to be supporting UUCP
anymore.  I have installed Cygwin plus Unixmail
(http://unixmail-w32.sourceforge.net/) -- a suite of Mutt plus
Fetchmail -- but this has not worked entirely as expected, and there
are too many gaps in the Cygwin approach; not being a programmer, I'm
not up to compiling/tweaking things like procmail, enscript, pcal,
grepmail, etc, on my own.  To (hopefully) put an end to this misery, my
local sysops are going to help me install Suse Linux within VMWare on
top of WIN2000, which will let me run the standard Linux tools.

Having gotten this far, however, I must confess I am a bit confused
about the philosophy of the current Fetchmail-type approach versus the
older UUCP approach.  With UUCP, I never had to worry whether I was
online or not -- connections would be established and mail would move
back and forth in the background.  With fetchmail, I understand the
part about fetching mail, but I do not understand what is supposed to
happen with outgoing mail.  After installing the Unixmail suite I tried
sending messages while offline and monitored changes in the filesystem
to try to understand what was happening.  As near as I can tell, I
simply got an error message in Mutt and the unsent message remained in
/tmp (without outgoing headers).  When I typed commands like cat
report.txt | mutt [EMAIL PROTECTED] the mail simply disappeared into a black
hole.

Am I missing something obvious?  What do you have to do have store and
forward functionality today?  Isn't that (in most cases) the ideal?

Tom



Dr. Thomas Baker [EMAIL PROTECTED]
Birlinghoven Library, Fraunhofer-Gesellschaft   mobile +49-171-408-5784
Institutszentrum Schloss Birlinghoven work +49-30-8109-9027
53754 Sankt Augustin, Germany  fax +49-2241-14-2619





Re: Store and forward?

2002-02-26 Thread David T-G

Tom, et al --

The short answer to your question is simply that you need to have an MTA
that will queue up your mail for shipment when you're next on line.  Just
about every *NIX comes with sendmail (for better or worse!), and qmail
and postfix are popular options as well.  Many people discover that they
simply need a smarthost relay program and are happy with something as
basic as ssmtp.  I don't know of anyone still using uucp since even
dialup connections have a tcp/ip stack (usually via ppp).

This sort of thing has been discussed on the list before, but usually
under the guise of why doesn't mutt talk directly over port 25 to
another mail server? rather than in the context of store and forward.
If nobody else starts throwing you options for a lightweight MTA, you
might check the archives.

BTW, I consider SuSE an excellent choice :-)


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg24798/pgp0.pgp
Description: PGP signature


Re: Pretty print filters

2002-02-26 Thread darren chamberlain

Quoting Thomas Baker [EMAIL PROTECTED] [26 Feb-02 02:10]:
 I had never noticed that before.  The command
 
   enscript --help-pretty-print  
   
 lists about twenty other file types that can be prettified.
 Great stuff.

Tom:

Try printing to a color printer too; it works very well.

(darren)

-- 
So far as a man thinks, he is free.



Re: Store and forward?

2002-02-26 Thread Thomas Baker

On Tue, 26 Feb 2002, David T-G wrote:
 The short answer to your question is simply that you need to have an MTA
 that will queue up your mail for shipment when you're next on line.  Just
 about every *NIX comes with sendmail (for better or worse!), and qmail

The dreaded sendmail -- I was afraid of that... ;-)

 If nobody else starts throwing you options for a lightweight MTA, you
 might check the archives.

Will do, thanks.

 BTW, I consider SuSE an excellent choice :-)

The German Bundestag decides on 28 February whether to stay with
Windows or go with IBM/Suse Linux (see http://www.bundestux.de).

Tom



Dr. Thomas Baker [EMAIL PROTECTED]
Birlinghoven Library, Fraunhofer-Gesellschaft   mobile +49-171-408-5784
Institutszentrum Schloss Birlinghoven work +49-30-8109-9027
53754 Sankt Augustin, Germany  fax +49-2241-14-2619





OT: grepm and mbox indexing (was: Re: searching across mailboxes)

2002-02-26 Thread Gregor Zattler

Hi,
* Knute [EMAIL PROTECTED] [Fre 22 Feb 2002 13:00:00 GMT]:
 On Fri, 22 Feb 2002, Thomas Baker wrote:
  On Fri, 22 Feb 2002, Adam Byrtek wrote:
   On Fri, Feb 22, 2002 at 09:43:42AM -0800, Carl B. Constantine wrote:
Is there a way in mutt to search across all my local mailboxes for a
message that is from a specific person and then display the list of
matches so I can go through and look for the message I want?
   
   You should try grepm at
   http://www.barsnick.net/sw/grepm.html
 
[...]
 grepm is a wrapper for grepmail.
 It works well, but grepm only searches one mailbox for matches.

No. grepm hands all options to grepmail and therefor is abel to
scan multiple mboxes or whole directory structures:

 Grepmail -- according to the manpage has the option for recursion
 though.
 
 When I've used grepm,  it works great, and is easier to find matches
 than searching thru the index to find it.

Yes, ist's great. Does anybody knows a mbox full text indexing
and searching package?


Ciao, Gregor



mbox-hooks and imap

2002-02-26 Thread Manuel Hendel

I'm using cyrus-imap and want to use mbox-hooks with mutt, to move
read messages to a specified folder, but this doesn't work the way I
want it to.

mbox-hook imaps://user@hostname:993/INBOX =cw

I want the read mails from INBOX to be moved to the cw folder. This
works. But this also happens with read messages in all other folders
even though I didn't configured this in my muttrc, even with the mails
in the cw folder, this is realy annoying me. What's wrong here?

Thanks,
Manuel


-- 
...you could spend *all day* customizing the title bar. Believe me. I speak 
from experience. 
-Matt Welsh 



mbox-hooks and dates

2002-02-26 Thread Knute

I have some mbox-hooks set up that move read mail into archive files.
What I wanted to do was to leave messages that I've read from the past
few days in the current mailbox, and have them moved after a certain
amount of time.  I tried setting it up, but they aren't working.

One of the hooks is:
mbox-hook '=mutt ~r2d' ~/Mail/mutt.gz

They all follow this same pattern.  What am I doing wrong?

Thanks in advance.

-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg24803/pgp0.pgp
Description: PGP signature


Re: S/MIME display bug

2002-02-26 Thread David Collantes

On Tue, Feb 26, 2002 at 12:20:33PM +0100, Oliver Ehli wrote:

  A warning should absolutely be displayed, but should
  mutt_any_key_to_continue() be called? A previous bugfix in another part of
  smime.c mentioned that this is bad, and it added a sleep(5) call whose
  purpose i didn't understand -- surely there must be a more elegant way?
 
 the following fixes the error. it again introduces some sleep (who
 included the first one ?) that is needed here to display both error
 messages. we could drop one of them, and thus get rid of it. the
 (obviously not so) elegant solution was calling any_key
[... SNIP ..]

Was the diff checked out on CVS? I just got the latest CVS and it seems
not to be there?

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
Sometimes one pays most for the things one gets for nothing.




smime.p7s
Description: application/pkcs7-signature


Re: S/MIME display bug

2002-02-26 Thread David Collantes

On Tue, Feb 26, 2002 at 12:20:33PM +0100, Oliver Ehli wrote:

 alternatively, we could just printf() the first (ie _not_ use
 mutt_error), wait for any_key, and then mutt_error() the second/final
 warning.

What about only the sleep? The continue garbles my screen here, for some
reason. I just patched with your diff, which got some rejection, btw. I
would make it sleep for, lets say, 3 seconds and then to the mutt_error().

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
Great spirits have often encountered violent opposition from weak minds.




smime.p7s
Description: application/pkcs7-signature


Re: S/MIME display bug

2002-02-26 Thread Oliver Ehli

On Tue, Feb 26, 2002 at 11:24:56AM -0500, David Collantes wrote:
 What about only the sleep? The continue garbles my screen here, for some
 reason. I just patched with your diff, which got some rejection, btw. I
 would make it sleep for, lets say, 3 seconds and then to the mutt_error().

i think the reject comes from that stupid long line (wherever it
came from; cut-n-paste) where it reads 'unable to create OpenSSL
subprocess!' you have to cut everything beyont the ';' sorry. :-}
once there are no rejects, its actually supposed to work...

i dislike that sleep very much and i guess i'd rather drop one
of the messages. hmm...


oliver



Using scoring to delete old mailing list messages

2002-02-26 Thread Philip Mak

I configured mutt to automatically delete messages from mailing lists
that are older than 21 days, provided that the message is not flagged
or addressed to me. Here's what I came up with, in case it's useful to
anyone else:

my_hdr From: Philip Mak [EMAIL PROTECTED]
# alternate e-mail addresses
set 
alternates=pmak@animeglobe\.com|pmak@animelyrics\.com|pmak@trapezoid\.interserver\.net

set score # set scoring on   
score ~A 5000 # default score is 5000
set score_threshold_delete=0 # Delete messages with score = 0
score ~F +1000 # Increase score of flagged messages
score ~p +1000 # Increase score of messages addressed directly to me

# Decrease score of messages from mailing lists older than 21 days
score ~e [EMAIL PROTECTED] ~r 21d -5000
score ~e [EMAIL PROTECTED] ~r 21d -5000
score ~e [EMAIL PROTECTED] ~r 21d -5000
score ~e [EMAIL PROTECTED] ~r 21d -5000
score ~C vim@vim\.org ~r 21d -5000
score ~C mysql@lists\.mysql\.com ~r 21d -5000
score ~C online-ads@o-a\.com ~r 21d -5000



decode-save strips header

2002-02-26 Thread Emil

If you have ignore  Message-ID: In-Reply-To: in your muttrc
(because you don't want to see those fields while reading your
emails) then a decode-save command will strip them from the header
and all threading info is lost.

-- 
Regards,
Emil
--
On the other hand, you have different fingers.



Re: S/MIME display bug

2002-02-26 Thread Oliver Ehli

On Tue, Feb 26, 2002 at 11:52:49AM +, Luke Ross wrote:
 How about a red line in the status bar?  Would be most elegent surely?

that's what mutt_error does.


 I'm still on old S/MIME mutt, and I saw:
[ ... something ... ]
 What was the reason behind changing it?  No screen corruption here.

because now certificates issued for multiple addresses are supported
as well, so the check has changed. if the printf-solution will be
the prefered one, it should not be too hard to dump all of them,
though. still, it would be a good idea to review the cert in that
case anyways ...


oliver



Re: SMTP Authorization

2002-02-26 Thread Erika Pacholleck

[26.02.02 12:11 +0100] Louis-David Mitterrand -- :
 On Mon, Feb 25, 2002 at 07:43:58PM +0100, Erika Pacholleck wrote:
  [25.02.02 15:39 +0100] Louis-David Mitterrand -- :
   This small-specialized-tools-are-better-than-monolithic-apps argument
   keeps coming back like a mantra. It's so tired now as to seem almost
   pre-recorded. (Where do you guys get that propaganda anyway?)
   
  This kind of propaganda is unwillingly spread by *all* those products
  which try to put all-in-one. The more it is in, the more you loose if
  a single component does not work.
 
 Oh? Will you fare any better if a _separately_ misonfigured procmail,
 fetchmail or postfix starts eating your mail _separately_? Guess what,
 if one, only one, of your dear small components start loosing mail the
 next small component will never see it anyway ;-) 

I am confident I would be able to misconfigure any of those one-in-all
so that they loose your mail, too. But that's not what I ment.
If your one-in-all-idiot-secure-configurable application hits only one
bad block, you are lost. I just get ppp, fetchmail and vim running and
that's it.

   The keyword with mutt is integration: imap and pop are integrated with
   mutt becauses it makes sense to _browse_ remote imap or pop folders (yes
   mutt can do that with pop) and save stuff to remote imap folders (try that
   with fetchmail). 
  
  This is a very personal statement. For myself it is economical
  nonsense to waste a lot of money for online browsing if I can
  save the short download on my free disk space (try paying your
  bill from an empty bank account).
 
 It makes a lot of sense to _leave_ your mail on a server you trust and
 that has a real backup policy. My mail archive is too valuable to keep
 on a workstation, be it a laptop or a PeeCee.
 
The point is the *remote* which for me as a private person with only a
standalone machine and modem dialup is my ISP. This means, if I leave all
my mail there, during browsing and reading I am online - the whole time,
and this costs me a damned lot of money. So why the hell should I do it.
Download is just a few minutes.
And, generally, I only trust my own machine. Valuable data don't belong
onto the machine you trust but the one you control (that's why).

-- 
Erika Pacholleck [EMAIL PROTECTED]
mutters: insert vowels of last name



Re: SMTP Authorization

2002-02-26 Thread Knute

I've been following this thread, and I thought I sent a message in, but
apparently it never made it.

On Fri, 22 Feb 2002, Jerry Van Brimmer wrote:

 Newbie to Mutt here. I'm just getting started, and I'm trying to get a working
 rc file set up. I think I have all the basics except that my ISP requires me to
 login with username and password to read my mail. I can't get Mutt to login.
 Here's a copy of my POP section:

 # POP #
 set pop_user = [EMAIL PROTECTED]

Comment this entry out.

 set pop_pass = password

Comment this one out as well.

 set pop_delete = no
 set pop_host = pop3.ispwest.com

This line needs to be modified as follows:
set pop_host = jerryvb:[EMAIL PROTECTED]

It's the same format that I have mine set to and it works just fine, at
least it did, till I started using fetchmail to get my mail.

 #set pop_port = 110
 #set pop_last = no


 Every time I try to read my mail Mutt says that login failed:

 Login failed. USER: unknown or invalid command in this state [USER]

 What do I have to set to get this to work?


 Thanks

You're welcome.
-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg24811/pgp0.pgp
Description: PGP signature


Re: SMTP Authorization

2002-02-26 Thread Knute

On Tue, 26 Feb 2002, Knute wrote:

 I've been following this thread, and I thought I sent a message in, but
 apparently it never made it.

 On Fri, 22 Feb 2002, Jerry Van Brimmer wrote:

  Newbie to Mutt here. I'm just getting started, and I'm trying to get a working
  rc file set up. I think I have all the basics except that my ISP requires me to
  login with username and password to read my mail. I can't get Mutt to login.
  Here's a copy of my POP section:

  set pop_host = pop3.ispwest.com

 This line needs to be modified as follows:
   set pop_host = jerryvb:[EMAIL PROTECTED]

That should be @pop3.ispwest.com!  Sorry need to proofread before I send
again!



msg24812/pgp0.pgp
Description: PGP signature


Re: mbox-hooks and dates

2002-02-26 Thread Michael Tatge

Knute muttered:
 I have some mbox-hooks set up that move read mail into archive files.
 What I wanted to do was to leave messages that I've read from the past
 few days in the current mailbox, and have them moved after a certain
 amount of time.  I tried setting it up, but they aren't working.
 
 One of the hooks is:
   mbox-hook '=mutt ~r2d' ~/Mail/mutt.gz

3.10 Using Multiple spool mailboxes
Usage: mbox-hook [!]pattern mailbox

[...] pattern is a regular expression specifying the mailbox to treat as
a ``spool'' mailbox

So the answer is: You can't do that, well not with mbox-hooks at least.
folder-hooks or a macro might work.

macro index f2 tag-pattern~r2dentertag-prefix\
 save-message~/Mail/mutt.gzentersync-mailbox

This is untested but should work.

HTH,

Michael
-- 

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



Re: mbox-hooks and dates

2002-02-26 Thread Knute

On Tue, 26 Feb 2002, Michael Tatge wrote:

 Knute muttered:
  I have some mbox-hooks set up that move read mail into archive files.
  What I wanted to do was to leave messages that I've read from the past
  few days in the current mailbox, and have them moved after a certain
  amount of time.  I tried setting it up, but they aren't working.
  
  One of the hooks is:
  mbox-hook '=mutt ~r2d' ~/Mail/mutt.gz

 3.10 Using Multiple spool mailboxes
 Usage: mbox-hook [!]pattern mailbox

 [...] pattern is a regular expression specifying the mailbox to treat as
 a ``spool'' mailbox

 So the answer is: You can't do that, well not with mbox-hooks at least.
 folder-hooks or a macro might work.

 macro index f2 tag-pattern~r2dentertag-prefix\
  save-message~/Mail/mutt.gzentersync-mailbox

So a folder-hook would be set up almost the same way then?

 This is untested but should work.

 HTH,
Thanks

 Michael



msg24814/pgp0.pgp
Description: PGP signature


Re: gpg not cleanly exiting....?

2002-02-26 Thread Sridhar Srinivasan

David T-G [EMAIL PROTECTED] may have typed [02/02/26 06:06]:
 
 % 
 % For example, on an email that is signed, when i try to read the
 % message, mutt prompts me to verify the sig. i hit yes, mutt prints
 % Invoking PGP. and nothing else happens. if i hit Ctrl-C, i drop
 % into the pager with the gpg output and the signed email displayed
 % correctly, including the part about the signature being verified.
^
it does get verified.

 
 Ahhh...  Do you have the required key in your ring?  Do you have a key
 server defined in your options file and is gpg trying to get a key?
 
 
 % 
 % this leads me to believe that the child process is not exiting cleanly
 % when gpg exits. 
 
 Pop open another window and truss the gpg process to see what it's doing;
 I bet the delay is simply trying to get the key so that it can verify the
 sig.

for example, the output from verifying your signature is:

[-- PGP output follows (current time: Tue Feb 26 18:08:18 2002) --]
23 sources found
forking into background...
gpg: Signature made Tue Feb 26 06:02:11 2002 EST using DSA key ID 7B9F4700
gpg: Good signature from David T-G [EMAIL PROTECTED]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.
gpg: Fingerprint: D8F0 A85C 1B88 1EBD 5155  8606 19BE EE09 7B9F 4700
[-- End of PGP output --]

[-- The following data is signed --]

( i had to hit Ctrl-C on this one too..)

i think i will just go with the upgrade suggestion.

thanks for all the replies.

sridhar
-- 
Sridhar Srinivasan 
You cannot kill time without injuring eternity.




Re: Store and forward?

2002-02-26 Thread MuttER

* Thomas Baker [EMAIL PROTECTED] [02-26-02 08:32] crowed:
 On Tue, 26 Feb 2002, David T-G wrote:
  The short answer to your question is simply that you need to have an MTA
  that will queue up your mail for shipment when you're next on line.  Just
  about every *NIX comes with sendmail (for better or worse!), and qmail
 
 The dreaded sendmail -- I was afraid of that... ;-)

Postfix is easier ..
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: Store and forward?

2002-02-26 Thread David Champion

On 2002.02.26, in [EMAIL PROTECTED],
MuttER [EMAIL PROTECTED] wrote:
 * Thomas Baker [EMAIL PROTECTED] [02-26-02 08:32] crowed:
  On Tue, 26 Feb 2002, David T-G wrote:
   The short answer to your question is simply that you need to have an MTA
   that will queue up your mail for shipment when you're next on line.  Just
   about every *NIX comes with sendmail (for better or worse!), and qmail
  
  The dreaded sendmail -- I was afraid of that... ;-)
 
 Postfix is easier ..

Not really. Sendmail is much easier to set up than it used to be. But
the point is that any of the major MTAs can be configured to queue
outbound mail.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Hooks order of precedence

2002-02-26 Thread Erik Rothwell

I've run into problem where I've got folder-hooks  send-hooks, but, I
can't make them play nicely together.

In my main muttrc, I've got:

source ~/.mutt/default-hooks.muttrc
source ~/.mutt/folder-hooks.muttrc
source ~/.mutt/send-hooks.muttrc

default-hooks.muttrc resets headers, From: line, and signature to
defaults. Folder hooks, then, override the defaults on a per-folder
basis (I use some mailing lists from a particular From: or with a
particular sig)... send-hooks are meant to override the folder hook
defaults for particular addresses (For instance, everyone in my
company's domain gets my company's signature, despite the folder I'm in)

However, the default-hooks.muttrc does not properly reset my signature
(nor message headers) to the default...

If I use only folder-hooks, I put the content of default-hooks.muttrc
into a file called ~/.mutt/hooks/defaults.global which gets sourced
before every other folder hook... this works as expected...

However, this falls apart if I go to use a send-hook, in which case, the
send hook's last defaults get used the next time around. It's very
frustrating. If I reset the defaults for both folder hooks *and* send
hooks, no hooks can be used at all, of course...

So what's a proper order of precedence for something like this?

Erik.

-- 
...ironically, perhaps, the best organised dissenters in the world today
are anarchists, who are busily undermining capitalism while the rest of
the left is still trying to form committees. Jeremy Hardy, The Guardian.



Re: Store and forward?

2002-02-26 Thread Thomas Baker

On Tue, 26 Feb 2002, David Champion wrote:
 On 2002.02.26, in [EMAIL PROTECTED],
   MuttER [EMAIL PROTECTED] wrote:
  * Thomas Baker [EMAIL PROTECTED] [02-26-02 08:32] crowed:
   On Tue, 26 Feb 2002, David T-G wrote:
The short answer to your question is simply that you need to have an MTA
that will queue up your mail for shipment when you're next on line.  Just
about every *NIX comes with sendmail (for better or worse!), and qmail
   
   The dreaded sendmail -- I was afraid of that... ;-)
  
  Postfix is easier ..
 
 Not really. Sendmail is much easier to set up than it used to be. But
 the point is that any of the major MTAs can be configured to queue
 outbound mail.

I just came across the useful overview
http://www.suse.de/us/support/howto/mailhandling.  It discusses mutt
(as the client) and sendmail (as the MTA, which is configured by Yast,
the Suse configuration program), but mentions exim, smail, and postfix
as worthy alternatives.

Tom



Dr. Thomas Baker [EMAIL PROTECTED]
Birlinghoven Library, Fraunhofer-Gesellschaft   mobile +49-171-408-5784
Institutszentrum Schloss Birlinghoven work +49-30-8109-9027
53754 Sankt Augustin, Germany  fax +49-2241-14-2619





Re: mbox-hooks and dates

2002-02-26 Thread Nicolas Rachinsky

* On Tue, Feb 26, 2002 at 11:54:50PM +0100,
* Michael Tatge [EMAIL PROTECTED] wrote:
 Knute muttered:
  I have some mbox-hooks set up that move read mail into archive files.
  What I wanted to do was to leave messages that I've read from the past
  few days in the current mailbox, and have them moved after a certain
  amount of time.  I tried setting it up, but they aren't working.
[...]
 So the answer is: You can't do that, well not with mbox-hooks at least.
 folder-hooks or a macro might work.
 
 macro index f2 tag-pattern~r2dentertag-prefix\
  save-message~/Mail/mutt.gzentersync-mailbox
 
 This is untested but should work.

If there are no messages matching your pattern, then another mail (the
one with the cursor on it) will be saved to your archive folder.

Nicolas

PS: I solved the problem for me with my tag-prefix-cond patch. You
find it on my homepage.



Re: mailboxes list

2002-02-26 Thread Nicolas Rachinsky

Replying to myself

* On Fri, Feb 22, 2002 at 11:24:57AM +0100,
* Nicolas Rachinsky [EMAIL PROTECTED] wrote:
 I just created a patch to address the problem, you may try it, but be
 warned: it's nearly untested.
 
 I attach it, I will run my mutt here with it some time, and if it
 works well, I will add some documentation and put it on my homepage.
 
 If you can try it now, you're welcome. If someone uses it, I would be glad
 if he/she can send me suggestions for the docupatch.
 
 The patch adds a new command unmailboxes. It should behave exactly
 the same as mailboxes, and just remove the parameters from the
 mailboxes-list. Parameters not on this list are silently ignored.

I completed a new version of my patch, now umaliboxes * does work,
and the manual is updated. 

I want to thank Cedric Duval, he suggested a way to improve the patch.

You can find the patch on my homepage (see the header).

Nicolas