Re: vi - undo and redo (elvis,nvi,vile,vim)

2002-05-30 Thread Dave Pearson

* Cameron Simpson [EMAIL PROTECTED] [2002-05-30 14:20:15 +1000]:

 | PS:  this *is* the vi mailing list, right?
 
 Of course. We're at least safe from Emacs users - all the hard core ones
 read their email inside emacs.

It's possible to be a hard core emacs user and read your email in mutt, in
emacs.

. o O ( M-x term RET is your friend. )

-- 
Dave Pearson:   | lbdb.el - LBDB interface.
http://www.davep.org/   |  sawfish.el - Sawfish mode.
Emacs:  |  uptimes.el - Record emacs uptimes.
http://www.davep.org/emacs/ | quickurl.el - Recall lists of URLs.



Re: [Announce] mutt-1.4 is out.

2002-05-30 Thread Dave Pearson

* Edmund GRIMLEY EVANS [EMAIL PROTECTED] [2002-05-30 10:27:39 +0100]:

 The problem you describe is more likely caused by a bad locale or charset
 setting.

That's it. On this box I've not got anything special set regarding locale:

,
| davep@hagbard:/usr/local/src/mutt-1.4$ locale
| LANG=POSIX
| LC_CTYPE=POSIX
| LC_NUMERIC=POSIX
| LC_TIME=POSIX
| LC_COLLATE=POSIX
| LC_MONETARY=POSIX
| LC_MESSAGES=POSIX
| LC_ALL=
`

if I prefix the call to mutt with something like LANG=en_GB mutt correctly
displays the GBP signs.

Thanks for the pointer.

 The problem with ICONV_CONST might be solved by Lars Hecking's noiconv
 patch.

It did.

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: installing mutt from source - hints

2002-05-30 Thread Sven Guckes

* David Thorburn-Gundlach [EMAIL PROTECTED] [2002-05-29]:
 Fergit RPMs (though our RPM team is starting to build them now) and
 just build your own from source like a real man.  Heck, surf over to 
   http://mutt.justpickone.org/mutt-build-cocktail/
 and see how a *real* mess of a mutt is made :-)

http://mutt.justpickone.org/mutt-build-cocktail/mutt-1.4i.patched-05.tar
12.9MB?  ohmygod..

 Seriously, though, building the source from
 scratch is pretty simple if you keep it stock.

exactly.  and here's what I do to install mutt:
http://www.math.fu-berlin.de/~guckes/mutt/install.html
yes, pretty simple. :-)

Sven

-- 
Sven Guckes  http://www.math.fu-berlin.de/~guckes/mutt/setup.html
Mutt setup from scratch, Sven's sample setup; attribution, limit, list
vs subscribe, histories, mailcap, POP, hooks, use of external pagers,
troubleshooting, adding header lines, from Mozilla to Mutt.



Re: to save tagged messages

2002-05-30 Thread Mads Martin Joergensen

* David T-G [EMAIL PROTECTED] [May 30. 2002 00:13]:
 Fergit RPMs (though our RPM team is starting to build them now) and just
 build your own from source like a real man.  Heck, surf over to 

Mutt for SuSE Linux 7.3 and 8.0:

ftp://ftp.suse.com/pub/people/mmj/{7.3,8.0}/mutt-1.4i-0.i386.rpm

-- 
Mads Martin Jørgensen, http://mmj.dk
Why make things difficult, when it is possible to make them cryptic
 and totally illogic, with just a little bit more effort?
-- A. P. J.



aliases and address book

2002-05-30 Thread Mike Arrison

Hi Mutters,
I'm curious if anyone has a good solution for using Mutt's
aliasing feature as a good address book (email addr only).  The problem
I'm running into is that I couldn't possibly come up with a one word
nickname for all 100 or so people I know.  So instead of saying:

  alias Adam Smith, Adam [EMAIL PROTECTED]
  alias Bob Jones, Bob [EMAIL PROTECTED]
  alias Chuck Jackson, Chuck [EMAIL PROTECTED]
  ...

I would like to to have to specify a nickname, such as:

  alias Smith, Adam [EMAIL PROTECTED]
  alias Jones, Bob [EMAIL PROTECTED]
  alias Jackson, Chuck [EMAIL PROTECTED]
  ...

I'm willing to type in their full names, but I don't want to have to
remember full email addresses.  Is that legal?

  -Mike Arrison



Re: aliases and address book

2002-05-30 Thread Dave Smith

On Thu, May 30, 2002 at 08:50:28AM -0400, [EMAIL PROTECTED] wrote:
 I would like to to have to specify a nickname, such as:
 
   alias Smith, Adam [EMAIL PROTECTED]
   alias Jones, Bob [EMAIL PROTECTED]
   alias Jackson, Chuck [EMAIL PROTECTED]
   ...
 
 I'm willing to type in their full names, but I don't want to have to
 remember full email addresses.  Is that legal?

You might run into problems with spaces, since the list of email addresses
is separated by spaces.  You could always do

  alias Adam_Smith [EMAIL PROTECTED]

or something similar.

HTH...

-- 
David SmithWork Email: [EMAIL PROTECTED]
STMicroelectronics Home Email: [EMAIL PROTECTED]
Bristol, England



Re: aliases and address book

2002-05-30 Thread Dave Pearson

* Mike Arrison [EMAIL PROTECTED] [2002-05-30 08:50:28 -0400]:

 I'm curious if anyone has a good solution for using Mutt's
 aliasing feature as a good address book (email addr only). The problem I'm
 running into is that I couldn't possibly come up with a one word nickname
 for all 100 or so people I know. [SNIP]

How about, instead of using aliases, you use mutt's address query facility
(see section 4.5 of the manual)? Then, all you need do is type in the part
of their name that you can remember and hit the query key.

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: installing mutt from source - hints

2002-05-30 Thread David T-G

Sven --

...and then Sven Guckes said...
% 
% * David Thorburn-Gundlach [EMAIL PROTECTED] [2002-05-29]:
%  Fergit RPMs (though our RPM team is starting to build them now) and
%  just build your own from source like a real man.  Heck, surf over to 
%http://mutt.justpickone.org/mutt-build-cocktail/
%  and see how a *real* mess of a mutt is made :-)
% 
% http://mutt.justpickone.org/mutt-build-cocktail/mutt-1.4i.patched-05.tar
% 12.9MB?  ohmygod..

Now, be fair...  That's a completely-patched source tree that hasn't been
compressed; even the stock mutt tarball is nearly 9M when unzipped.

With this version, I'll be compressing the tarballs that go into the
Clean directory and I expect they'll be under 3M.


% 
%  Seriously, though, building the source from
%  scratch is pretty simple if you keep it stock.
% 
% exactly.  and here's what I do to install mutt:
% http://www.math.fu-berlin.de/~guckes/mutt/install.html
% yes, pretty simple. :-)

My no-patch version looks about like that, except that I store all of the
configure stuff in a separate script because I'm lazy.


% 
% Sven
% 
% -- 
% Sven Guckes  http://www.math.fu-berlin.de/~guckes/mutt/setup.html
% Mutt setup from scratch, Sven's sample setup; attribution, limit, list
% vs subscribe, histories, mailcap, POP, hooks, use of external pagers,
% troubleshooting, adding header lines, from Mozilla to Mutt.


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!




msg28393/pgp0.pgp
Description: PGP signature


SuSE RPMs (was Re: to save tagged messages)

2002-05-30 Thread David T-G

Mads --

...and then Mads Martin Joergensen said...
% 
% * David T-G [EMAIL PROTECTED] [May 30. 2002 00:13]:
%  Fergit RPMs (though our RPM team is starting to build them now) and just
%  build your own from source like a real man.  Heck, surf over to 
% 
% Mutt for SuSE Linux 7.3 and 8.0:
% 
% ftp://ftp.suse.com/pub/people/mmj/{7.3,8.0}/mutt-1.4i-0.i386.rpm

Hey, awesome!  Would you care to be part of the mutt RPM team?  Drop a
note to [EMAIL PROTECTED] if you can contribute.  We have one
SuSE guy but I don't know that he has more than 6.x...


% 
% -- 
% Mads Martin Jørgensen, http://mmj.dk
% Why make things difficult, when it is possible to make them cryptic
%  and totally illogic, with just a little bit more effort?
% -- A. P. J.


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!




msg28394/pgp0.pgp
Description: PGP signature


mutt+exim+avmailgate

2002-05-30 Thread Elimar Riesebieter
---BeginMessage---

I switched the server in my local network to Debian Woody. There
runs Exim version 3.35 #1 built 04-Mar-2002 23:05:40.  At least I
installed avmailgate from http://www.hbedv.com/.  Avmailgate is
listening at port 25 and does a smtp forward to port 825. In
exim.conf daemon_smtp_port = smtp-backdoor is configured, where
smtp-backdoor is 825/tcp in the /etc/services. Now every mail
fetched by fetchmail and relayed from a client is scanned by
avmailgate. But when I send an email logged on the server itself,
the mail is directly forwarded to exim without scanning through port
25.

I am using mutt with set sendmail=sendmail -oi -oem configured. I
am not shure, but this transports the mail indepentend from the
listening port directly to exim (vs sendmail)?

So how do I have to configure mutt's set sendmail to go through port
25 (AvMailgate)?

Thanks in advance!

Ciao

Elimar

-- 
  It's a good thing we don't get all 
  the government we pay for.
--

---End Message---


Re: aliases and address book

2002-05-30 Thread David T-G

Mike --

...and then Mike Arrison said...
% 
% Hi Mutters,
% I'm curious if anyone has a good solution for using Mutt's
% aliasing feature as a good address book (email addr only).  The problem

So you're specifically not interested in abook or another add-on?  No
problem, but there are some that are highly recommended (see the
archives).


% I'm running into is that I couldn't possibly come up with a one word
% nickname for all 100 or so people I know.  So instead of saying:

Ahhh...  Yes, that's a problem, especially when Adam has both a home and
a work address.


% 
%   alias Adam Smith, Adam [EMAIL PROTECTED]
...
% 
% I would like to to have to specify a nickname, such as:
% 
%   alias Smith, Adam [EMAIL PROTECTED]
...
% 
% I'm willing to type in their full names, but I don't want to have to
% remember full email addresses.  Is that legal?

No, you have to have some alias name.  In addition to the complete-query
suggestion already posted (which will work well with lbdb even if you
don't need a separate address book, since it can be rigged to capture
every email address that ever comes in), you might find it helpful to
name your aliases like fullnames, as

  alias adam.smith [EMAIL PROTECTED] (Adam Smith)
  alias adam.smith-work [EMAIL PROTECTED] (Adam at work)

and so on.  This, including the -* designation for various work, home,
hotmail vs msn vs other mails and then an actual fname.lname alias which
simply points the the alias of the account that the person wants to use
this week, works quite well for me and my 1228 single aliases (as well as
32 group aliases, some nested).


% 
%   -Mike Arrison


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!




msg28396/pgp0.pgp
Description: PGP signature


Managing multiple IMAP accounts

2002-05-30 Thread jennyw

I'm having trouble trying to access two IMAP accounts on the same server. 
I'm trying to do it using account-hook.

my .muttrc looks like:

set record=imap://jennyw@localhost/INBOX.Sent
set imap_pass=password
set spoolfile=imap://jennyw@localhost/INBOX
set folder=imap://jennyw@localhost/
account-hook imap://jennyw2@localhost 'set imap_pass=password2'

I also tried adding:

account-hook . 'unset imap_pass'

since it was in the manual, even though I'm not really sure when it's 
invoked (I figured it was used as an example because it referred to the 
local Maildir?).

Anyway, thanks in advance!

Jen



evim and encoding

2002-05-30 Thread Andre Berger

Hi!

set editor=evim # simple mode of vim 6.1 on linux 
set abort_unmodified=no # because mutt doesn't acknowledge the
  # changes and I don't want confusing
  # messages

With this setup, I'm asked if I want to update encoding of each
message I'm about to send. Is there a way around this question, can I
make mutt (1.3.28) default to yes, update the encoding? 

-Andre



msg28402/pgp0.pgp
Description: PGP signature


Re: evim and encoding

2002-05-30 Thread Andre Berger

* David T-G [EMAIL PROTECTED], 2002-05-30 15:54 -0400:
 Andre --
 
 ...and then Andre Berger said...
 % 
 % Hi!
 
 Hello!
 
 
 % 
 % set editor=evim # simple mode of vim 6.1 on linux 
 % set abort_unmodified=no # because mutt doesn't acknowledge the
 %   # changes and I don't want confusing
 %   # messages
 % 
 % With this setup, I'm asked if I want to update encoding of each
 
 Hmmm...  Before you go blaming your setup, you might check the most
 common source of this problem: clock drift between your workstation and
 your NFS server.  The reason you're asked about the encoding is because
 the file's timestamp is newer than mutt expects and so it figures that
 something has touched it and so it wants to know if it should peek at
 the file to see if it's should still be QP or base64 or whatever.

Yes, it thinks the file is newer (and it is). I guess the problem is
evim (a gui program) is not running on the same terminal as mutt, in
fact in no terminal.  

 % message I'm about to send. Is there a way around this question, can I
 % make mutt (1.3.28) default to yes, update the encoding? 
 
 I don't think so, but you might check the archives for how other people
 have taken care of this if not through clock syncing.

All mails are on the same local ext2 partition, so I don't think that
should be the problem.

-Andre



msg28405/pgp0.pgp
Description: PGP signature


Re: evim and encoding

2002-05-30 Thread David T-G

Andre --

...and then Andre Berger said...
% 
% * David T-G [EMAIL PROTECTED], 2002-05-30 15:54 -0400:
%  
%  ...and then Andre Berger said...
%  % 
...
%  % set editor=evim # simple mode of vim 6.1 on linux 
...
%  % With this setup, I'm asked if I want to update encoding of each
%  
%  Hmmm...  Before you go blaming your setup, you might check the most
...
% 
% Yes, it thinks the file is newer (and it is). I guess the problem is

So it *is* your setup :-)


% evim (a gui program) is not running on the same terminal as mutt, in
% fact in no terminal.  

OK.  So when evim fires off, does mutt return immediately, or does it
wait for evim to finish?  In the case of the former, can you tell evim
not to fork but to instead remain in the foreground for as long as the
window is open and *then* exit and return?  That will get mutt to wait
until the update is done (and should take care of the abort_unmodified
bit since mutt won't look to the message file until it *has* been
modified) and should take care of your needs.


% 
...
% All mails are on the same local ext2 partition, so I don't think that
% should be the problem.

Right; you've pinned it down above.  Good enough.


% 
% -Andre


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!




msg28406/pgp0.pgp
Description: PGP signature


Re: evim and encoding

2002-05-30 Thread Andre Berger


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* David T-G [EMAIL PROTECTED], 2002-05-30 16:23 -0400:
 Andre --
=20
 ...and then Andre Berger said...
 %=20
 % * David T-G [EMAIL PROTECTED], 2002-05-30 15:54 -0400:
 % =20
 %  ...and then Andre Berger said...
 %  %=20
 ...
 %  % set editor=3Devim # simple mode of vim 6.1 on linux=20
 ...
 %  % With this setup, I'm asked if I want to update encoding of each
 % =20
 %  Hmmm...  Before you go blaming your setup, you might check the most
 ...
 %=20
 % Yes, it thinks the file is newer (and it is). I guess the problem is
=20
 So it *is* your setup :-)

Yeah!=20

 % evim (a gui program) is not running on the same terminal as mutt, in
 % fact in no terminal. =20
=20
 OK.  So when evim fires off, does mutt return immediately, or does it
 wait for evim to finish?  In the case of the former, can you tell evim
 not to fork but to instead remain in the foreground for as long as the

Bingo! -f does the trick!

 window is open and *then* exit and return?  That will get mutt to wait
 until the update is done (and should take care of the abort_unmodified
 bit since mutt won't look to the message file until it *has* been
 modified) and should take care of your needs.
=20
=20
 %=20
 ...
 % All mails are on the same local ext2 partition, so I don't think that
 % should be the problem.
=20
 Right; you've pinned it down above.  Good enough.

Thank you very much, David.

-Andre

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE89p2xWkhBtALlJZ0RAvIsAKCuIEBIkUjM98RIxYPQU4+7hul+gQCfT4O9
GLsNxce2ydIOAF3aP3J83Qg=
=cm7v
-END PGP SIGNATURE-

--GvXjxJ+pjyke8COw--



some mail not reaching it's destination

2002-05-30 Thread Nick Stewart

Hello,

Firstly I'm using sendmail and fetchmail to do the obvious. I seem to be receiving
all the mail that's sent to me. The problem is that certain mail (ie. mail that is 
sent to 
friends addresses at work) does not arrive. I can send mail to myself and to a friends 
two-way pager, I've also subscribed and unsubscribed to lists such as this. 

Must be my setup, right? 

Nick

 
 



 
 
 




Re: some mail not reaching it's destination

2002-05-30 Thread Michael Tatge

Nick Stewart ([EMAIL PROTECTED]) muttered:
 Firstly I'm using sendmail to do the obvious.
 The problem is that certain mail does not arrive.
 
 Must be my setup, right? 

Most likely. Did you set $envelope_from?

HTH,

Michael
-- 

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



Re: some mail not reaching it's destination

2002-05-30 Thread Nick Stewart

On 05/31@02:13, Michael Tatge wrote:
 Nick Stewart ([EMAIL PROTECTED]) muttered:
  Firstly I'm using sendmail to do the obvious.
  The problem is that certain mail does not arrive.
  
  Must be my setup, right? 
 
 Most likely. Did you set $envelope_from?

Thanks for the advice. Should I set envelope from to yes or no?
What will this do?

Best,
Nick

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



Re: some mail not reaching it's destination

2002-05-30 Thread Will Yardley

Nick Stewart wrote:
 On 05/31@02:13, Michael Tatge wrote:
 Nick Stewart ([EMAIL PROTECTED]) muttered:

 Firstly I'm using sendmail to do the obvious.
 The problem is that certain mail does not arrive.
 
 Must be my setup, right? 

 Most likely. Did you set $envelope_from?
 
 Thanks for the advice. Should I set envelope from to yes or no?
 What will this do?

RTFM.  basically it sets the envelope sender (ie the Return-Path) of the
email.

this isn't the default because sendmail won't let all users set this
header - usually they have to be a trusted user (or sendmail will set
the headers but add 'X-Authentication-Warning' headers).

generally you want to set this.

of course there are plenty of other reasons mail might not be getting
sent.  generally your *logs* are a good place to check; saying 'certain
mail does not arrive' is pretty much the same thing as saying 'it
doesn't work'.

-- 
Will Yardley
input: william  @ hq . newdream . net . 




Migrating from Sylpheed

2002-05-30 Thread Michael Herman

Lo, All.

I am interested in trying to convert from Sylpheed to Mutt.  I have
read the manual and am having success with a variety of things but
have a couple of questions.

1.  Even though my $MAIL is set correctly, I don't seem to be pulling
mail from my spool, through procmail and into my various mail
folders.  

2.  Is there a way to easily move an e-mail from one folder to
another?  I see a copy option but not move.

Thanks for the help.

-- 
Michael Herman



Re: Migrating from Sylpheed

2002-05-30 Thread Rocco Rutte

Hi,

* Michael Herman [05/31/02 06:39:48 CEST] wrote:
 I am interested in trying to convert from Sylpheed to Mutt.  I have
 read the manual and am having success with a variety of things but
 have a couple of questions.

 1.  Even though my $MAIL is set correctly, I don't seem to be pulling
 mail from my spool, through procmail and into my various mail
 folders.  

That is not mutt's job. Your local MTA should be set up to
use procmail for final delivery. Procmail will then sort
into different folders.

 2.  Is there a way to easily move an e-mail from one folder to
 another?  I see a copy option but not move.

You can either copy or save the message to another folder.
If you save it (usually bound to 's') mutt will mark the
original mail as deleted upon success - copying a message
does copy only.

HTH,
Cheers, Rocco



Re: Migrating from Sylpheed

2002-05-30 Thread Michael Herman

On Fri, May 31, 2002 at 06:55:06AM +0200, Rocco Rutte wrote:
 Hi,
 
 * Michael Herman [05/31/02 06:39:48 CEST] wrote:
  I am interested in trying to convert from Sylpheed to Mutt.  I have
  read the manual and am having success with a variety of things but
  have a couple of questions.
 
  1.  Even though my $MAIL is set correctly, I don't seem to be pulling
  mail from my spool, through procmail and into my various mail
  folders.  
 
 That is not mutt's job. Your local MTA should be set up to
 use procmail for final delivery. Procmail will then sort
 into different folders.

I'm using fetchmail to retrieve the mail from my ISP account.  I don't
have a .forward file but when I seem to remember that procmail doesn't
need one these days.  

 
  2.  Is there a way to easily move an e-mail from one folder to
  another?  I see a copy option but not move.
 
 You can either copy or save the message to another folder.
 If you save it (usually bound to 's') mutt will mark the
 original mail as deleted upon success - copying a message
 does copy only.
 

Thanks.


-- 
Michael Herman



Re: Migrating from Sylpheed

2002-05-30 Thread Rocco Rutte

Hi,

* Michael Herman [05/31/02 07:09:45 CEST] wrote:
 On Fri, May 31, 2002 at 06:55:06AM +0200, Rocco Rutte wrote:
  * Michael Herman [05/31/02 06:39:48 CEST] wrote:

   1.  Even though my $MAIL is set correctly, I don't seem to be pulling
   mail from my spool, through procmail and into my various mail
   folders.  

  That is not mutt's job. Your local MTA should be set up to
  use procmail for final delivery. Procmail will then sort
  into different folders.

 I'm using fetchmail to retrieve the mail from my ISP account.  I don't
 have a .forward file but when I seem to remember that procmail doesn't
 need one these days.  

Your MTA (the one fetchmail delivers mail to) has to support
a per user forward file. If your MTA delivers directly to
the user's spoolfile then you need a ~/.forward in order to
make procmail work[1]. You don't need one if your MTA uses
procmail for final delivery -- or you advice fetchmail to
use procmail as your MDA (see fetchmail(1), option '-m').

If you're not really familar with changing the config of
your MTA then you may want to use ~/.forward or set up
fetchmail to deliver directly via procmail.

Cheers, Rocco

[1] You can also run formail with option '-s' to call
procmail.