Subscriber address change, was Re: Folder_Format Question?

2001-09-09 Thread Ailbhe Leamy

FYI, mutt-user-people. . .

- Forwarded message from Josh Meekhof [EMAIL PROTECTED] -

 To: Ailbhe Leamy [EMAIL PROTECTED] 
 From: Josh Meekhof [EMAIL PROTECTED]
 Subject: Re: Folder_Format Question?

 Josh Meekhof is no longer with Techniki Informatica.

- End forwarded message -

-- 
Homepage: http://ailbhe.ossifrage.net/



Scoring .. what is it's purpose

2001-09-09 Thread Cliff Sarginson

After a long time using mutt I am trying to understand
more of it's features.
- What is the purpose/use of scoring of mail messages?
- Can i mark a message as undeletable (and reverse that)
-- 

Regards
Cliff



sendmail_wait_docs cosmetic patch

2001-09-09 Thread David T-G

Hi, all --

A while ago there was much confusion on the proper value for
$sendmail_wait, with some users setting it to 0 or 0 literally rather
than to some number greater or less than zero.  I did a doc patch for 1.2,
and here it is for 1.3.22.1 in anticipation of 1.4 coming out.

It would be nice to not have so many questions after the next release :-)


:-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!



diff -urN mutt-1.3.22.1-orig/Muttrc mutt-1.3.22.1/Muttrc
--- mutt-1.3.22.1-orig/Muttrc   Thu Aug 30 17:28:49 2001
+++ mutt-1.3.22.1/MuttrcSat Sep  8 08:40:10 2001
@@ -2648,9 +2648,11 @@
 # to finish before giving up and putting delivery in the background.
 # 
 # Mutt interprets the value of this variable as follows:
-# 0  number of seconds to wait for sendmail to finish before continuing
-# 0   wait forever for sendmail to finish
-# 0  always put sendmail in the background without waiting
+#less than 0  number of seconds to wait for sendmail to 
+# finish before continuing
+#  0  wait forever for sendmail to finish
+# greater than 0  always put sendmail in the background 
+# without waiting
 # 
 # 
 # Note that if you specify a value other than 0, the output of the child
diff -urN mutt-1.3.22.1-orig/doc/manual-6.html mutt-1.3.22.1/doc/manual-6.html
--- mutt-1.3.22.1-orig/doc/manual-6.htmlThu Aug 30 17:29:00 2001
+++ mutt-1.3.22.1/doc/manual-6.html Sat Sep  8 08:41:00 2001
@@ -2459,9 +2459,9 @@
 PMutt interprets the value of this variable as follows:
 P
 DL
-DTBgt;0 /BDDPnumber of seconds to wait for sendmail to finish before 
continuing
+DTBgreater than 0 /BDDPnumber of seconds to wait for sendmail to finish 
+before continuing
 DTB0  /BDDPwait forever for sendmail to finish
-DTBlt;0 /BDDPalways put sendmail in the background without waiting
+DTBless than 0 /BDDPalways put sendmail in the background without waiting
 /DL
 P
 PNote that if you specify a value other than 0, the output of the child
diff -urN mutt-1.3.22.1-orig/doc/manual.sgml mutt-1.3.22.1/doc/manual.sgml
--- mutt-1.3.22.1-orig/doc/manual.sgml  Thu Aug 30 17:28:49 2001
+++ mutt-1.3.22.1/doc/manual.sgml   Sun Sep  9 07:04:55 2001
@@ -5377,9 +5377,9 @@
 Mutt interprets the value of this variable as follows:
 
 descrip
-taggt;0 /tagnumber of seconds to wait for sendmail to finish before continuing
+taggreater than 0 /tagnumber of seconds to wait for sendmail to finish before 
+continuing
 tag0  /tagwait forever for sendmail to finish
-taglt;0 /tagalways put sendmail in the background without waiting
+tagless than 0 /tagalways put sendmail in the background without waiting
 /descrip
 
 p
diff -urN mutt-1.3.22.1-orig/doc/manual.txt mutt-1.3.22.1/doc/manual.txt
--- mutt-1.3.22.1-orig/doc/manual.txt   Thu Aug 30 17:28:55 2001
+++ mutt-1.3.22.1/doc/manual.txtSun Sep  9 07:13:07 2001
@@ -5271,12 +5271,12 @@
 
   Mutt interprets the value of this variable as follows:
 
- 00 number of seconds to wait for sendmail to finish before
-continuing
+ ggrreeaatteerr tthhaann 00 number of seconds to wait for sendmail to 
+finish 
+before continuing
 
- 00  wait forever for sendmail to finish
+ 00  wait forever for sendmail to finish
 
- 00 always put sendmail in the background without waiting
+ lleessss tthhaann 00always put sendmail in the background without 
+waiting
 
   Note that if you specify a value other than 0, the output of the child
   process will be put in a temporary file.  If there is some error, you
diff -urN mutt-1.3.22.1-orig/doc/muttrc.man mutt-1.3.22.1/doc/muttrc.man
--- mutt-1.3.22.1-orig/doc/muttrc.man   Thu Aug 30 17:28:49 2001
+++ mutt-1.3.22.1/doc/muttrc.manSun Sep  9 07:20:41 2001
@@ -3281,20 +3281,21 @@
 Mutt interprets the value of this variable as follows:
 
 .RS
-.IP 0 
+.IP 
+\fBgreater than 0\fP
 number of seconds to wait for sendmail to finish before continuing
 
-.IP 0  
+\fB0\fP
 wait forever for sendmail to finish
 
-.IP 0 
+\fBless than 0\fP
 always put sendmail in the background without waiting
 
-.RE
-.IP
 Note that if you specify a value other than 0, the output of the child
 process will be put in a temporary file.  If there is some error, you
 will be informed as to where to find the output.
+.TP
+.RE
 
 
 .TP

 PGP signature


mutt-1.3.22.1 build fails on RHL 5.2

2001-09-09 Thread Thomas Ribbrock

Hi folks,

I'm currently dabbling with mutt 1.3.22.1 on Red Hat Linux 5.2 in
preparation for the RPM team and I ran into build problems.

mutt builds fine if configured with no options, but it fails if I
add --enable-pop:

[...]
gcc -DPKGDATADIR=\/usr/local/share/mutt\
-DSYSCONFDIR=\/usr/local/etc\ -DBINDIR=\/usr/local/bin\
-DMUTTLOCALEDIR=\/usr/local/share/locale\  -DHAVE_CONFIG_H=1 -I. -I.
-Iintl  -I/usr/include/ncurses -I./intl -I/usr/local/include  -Wall
-pedantic -g -O2 -c mutt_socket.c
In file included from mutt.h:39,
 from mutt_socket.c:21:
/usr/include/wctype.h:83: warning: ANSI C restricts enumerator values
to range of `int'
In file included from /usr/include/sys/socket.h:34,
 from /usr/include/netinet/in.h:24,
 from mutt_socket.c:30:
/usr/include/socketbits.h:173: warning: ANSI C forbids zero-size array
`__cmsg_data'
mutt_socket.c: In function `socket_connect':
mutt_socket.c:309: sizeof applied to an incomplete type
make[2]: *** [mutt_socket.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/mutt-1.3.22.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/mutt-1.3.22.1'
make: *** [all-recursive-am] Error 2

I do actually get a *LOT* of those warnings about wctype.h, BTW.

Any idea what's going on here? This is a fresh install of Red Hat
Linux 5.2 (kernel 2.0.36, glibc 2.0.7), with all current updates applied,
libiconv 1.7 installed and automake updated to 1.4/autoconf to 2.13.
I can't see anything unusual in the configure run.
As another data point: On RHL 6.2, there're no problems with the
build.

Thanks in advance,

Thomas
-- 
-
Thomas Ribbrock   http://mutt.linuxatwork.at (mutt RPMs)
  http://www.ribbrock.orgICQ#: 15839919
   You have to live on the edge of reality - to make your dreams come true!



mutt finding mailboxes problem

2001-09-09 Thread Cliff Sarginson

Hello,
A problem. My users mailboxes are in ~/Mail, as per default.
However if i do a c to change mailbox folder mutt does not
find it unless I am either in ~/Mail or I type in ~/Mail/folder.
However if I use ? to see the list of mail folders, it shows
them in ~/Mail without a problem.
I think my enviornment etc is ok.
Is there some setting I am missing ?
Thanks
-- 

Regards
Cliff



Re: sendmail_wait_docs cosmetic patch

2001-09-09 Thread David T-G

Hi again --

...and then David T-G said...
% 
% than to some number greater or less than zero.  I did a doc patch for 1.2,
% and here it is for 1.3.22.1 in anticipation of 1.4 coming out.

D'oh -- thanks to Cedric for noticing my little error.  Here's version 2.


:-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!



diff -urN mutt-1.3.22.1-orig/Muttrc mutt-1.3.22.1/Muttrc
--- mutt-1.3.22.1-orig/Muttrc   Thu Aug 30 17:28:49 2001
+++ mutt-1.3.22.1/MuttrcSun Sep  9 14:32:03 2001
@@ -2648,9 +2648,11 @@
 # to finish before giving up and putting delivery in the background.
 # 
 # Mutt interprets the value of this variable as follows:
-# 0  number of seconds to wait for sendmail to finish before continuing
-# 0   wait forever for sendmail to finish
-# 0  always put sendmail in the background without waiting
+# greater than 0  number of seconds to wait for sendmail to 
+# finish before continuing
+#  0  wait forever for sendmail to finish
+#less than 0  always put sendmail in the background 
+# without waiting
 # 
 # 
 # Note that if you specify a value other than 0, the output of the child
diff -urN mutt-1.3.22.1-orig/doc/manual-6.html mutt-1.3.22.1/doc/manual-6.html
--- mutt-1.3.22.1-orig/doc/manual-6.htmlThu Aug 30 17:29:00 2001
+++ mutt-1.3.22.1/doc/manual-6.html Sat Sep  8 08:41:00 2001
@@ -2459,9 +2459,9 @@
 PMutt interprets the value of this variable as follows:
 P
 DL
-DTBgt;0 /BDDPnumber of seconds to wait for sendmail to finish before 
continuing
+DTBgreater than 0 /BDDPnumber of seconds to wait for sendmail to finish 
+before continuing
 DTB0  /BDDPwait forever for sendmail to finish
-DTBlt;0 /BDDPalways put sendmail in the background without waiting
+DTBless than 0 /BDDPalways put sendmail in the background without waiting
 /DL
 P
 PNote that if you specify a value other than 0, the output of the child
diff -urN mutt-1.3.22.1-orig/doc/manual.sgml mutt-1.3.22.1/doc/manual.sgml
--- mutt-1.3.22.1-orig/doc/manual.sgml  Thu Aug 30 17:28:49 2001
+++ mutt-1.3.22.1/doc/manual.sgml   Sun Sep  9 07:04:55 2001
@@ -5377,9 +5377,9 @@
 Mutt interprets the value of this variable as follows:
 
 descrip
-taggt;0 /tagnumber of seconds to wait for sendmail to finish before continuing
+taggreater than 0 /tagnumber of seconds to wait for sendmail to finish before 
+continuing
 tag0  /tagwait forever for sendmail to finish
-taglt;0 /tagalways put sendmail in the background without waiting
+tagless than 0 /tagalways put sendmail in the background without waiting
 /descrip
 
 p
diff -urN mutt-1.3.22.1-orig/doc/manual.txt mutt-1.3.22.1/doc/manual.txt
--- mutt-1.3.22.1-orig/doc/manual.txt   Thu Aug 30 17:28:55 2001
+++ mutt-1.3.22.1/doc/manual.txtSun Sep  9 07:13:07 2001
@@ -5271,12 +5271,12 @@
 
   Mutt interprets the value of this variable as follows:
 
- 00 number of seconds to wait for sendmail to finish before
-continuing
+ ggrreeaatteerr tthhaann 00 number of seconds to wait for sendmail to 
+finish 
+before continuing
 
- 00  wait forever for sendmail to finish
+ 00  wait forever for sendmail to finish
 
- 00 always put sendmail in the background without waiting
+ lleessss tthhaann 00always put sendmail in the background without 
+waiting
 
   Note that if you specify a value other than 0, the output of the child
   process will be put in a temporary file.  If there is some error, you
diff -urN mutt-1.3.22.1-orig/doc/muttrc.man mutt-1.3.22.1/doc/muttrc.man
--- mutt-1.3.22.1-orig/doc/muttrc.man   Thu Aug 30 17:28:49 2001
+++ mutt-1.3.22.1/doc/muttrc.manSun Sep  9 07:20:41 2001
@@ -3281,20 +3281,21 @@
 Mutt interprets the value of this variable as follows:
 
 .RS
-.IP 0 
+.IP 
+\fBgreater than 0\fP
 number of seconds to wait for sendmail to finish before continuing
 
-.IP 0  
+\fB0\fP
 wait forever for sendmail to finish
 
-.IP 0 
+\fBless than 0\fP
 always put sendmail in the background without waiting
 
-.RE
-.IP
 Note that if you specify a value other than 0, the output of the child
 process will be put in a temporary file.  If there is some error, you
 will be informed as to where to find the output.
+.TP
+.RE
 
 
 .TP

 PGP signature


Re: Using PGP signature with mutt ..problem

2001-09-09 Thread Piet Delport

On Sun, 09 Sep 2001 at 00:25:11 +0200, Cliff Sarginson wrote:
 Hello
 I am trying to use pgp (and or gpg) signatures with mutt.
 I have set up the keys and directories etc.
 When I try to sign the message with the option from the
 p command I get an errno(2) ..no such file or directory.
 pgp and gpg are both on the PATH.
 Clues ?

Have you set the various pgp_*_command options correctly (most likely by
sourcing gpg.rc or one of the pgp.rc files (that are included in the
mutt distribution) from your .muttrc)?

-- 
Piet Delport [EMAIL PROTECTED]
Today's subliminal thought is:



Re: vim / ispell

2001-09-09 Thread Eric Smith

According to Will Yardley on Thu, Sep 06, 2001 at 02:09:55AM -0700:
| so this is a bit off topic, but does anyone have a simple set of vim
| macros to interface with ispell (or an easy way to spellcheck a file
| after editing without leaving mutt)?  i'm usually a decent speller but
| it is annoying not to be able to check a particular word or paragraph.
| 

My way.


 macro compose return :set ispell=newsbody-ispell\nispellsend-message 

---
#!/bin/bash
## /usr/home/eric/bin/newsbody-ispell
newsbody -k from -k subject -hs -q -n $2 -p ispell -- -x %f
--

The above omits headers (except subject - at least I hope it checks
spelling on my subjects).

So when I wish to send the mail form the compose window without
checking spelling, I press the default `y', otherwise I hit enter
and usually save embarrassment.

Only ugliness is, once you are in spell check you have to kill the
mutt process if you wish to abort the sending of the mail.


Sometimes in vim you want to do a spell check interactively, I go

nmap =s :!ispell -S %cr:e %cr

next challenge, is to have the spell check and the auto-sending of
mail automatically executed when I quit vim - tricky.

Hope this helps

--
Eric Smith



Moving messages

2001-09-09 Thread Cliff Sarginson

mmm
Well I looked and looked but I see only a message to
copy a mail message to another folder, not one to move it
(i.e. copy then delete it from source folder).
Am I going blind ?
-- 

Regards
Cliff



Re: Moving messages

2001-09-09 Thread Will Yardley

Cliff Sarginson wrote:
 Well I looked and looked but I see only a message to
 copy a mail message to another folder, not one to move it
 (i.e. copy then delete it from source folder).
 Am I going blind ?

type 's' (to save message).  when you save the message in the target
folder it will be deleted from the source folder.

w

-- 
Sintax error in config file! (line 378)
aborted!

PGP Public Key:
http://infinitejazz.net/will/pgp/



Re: Moving messages

2001-09-09 Thread Ken Weingold

On Sun, Sep  9, 2001, Cliff Sarginson wrote:
 mmm
 Well I looked and looked but I see only a message to
 copy a mail message to another folder, not one to move it
 (i.e. copy then delete it from source folder).
 Am I going blind ?

Save message will copy and mark for deletion.  I think it is bound to
's' by default, though I change it to 'S'.


-Ken



Re: mutt finding mailboxes problem

2001-09-09 Thread Rino Mardo

On Sun, Sep 09, 2001 at 07:19:32PM +0200 or thereabouts, Cliff Sarginson wrote:
 Hello,
 A problem. My users mailboxes are in ~/Mail, as per default.
 However if i do a c to change mailbox folder mutt does not
 find it unless I am either in ~/Mail or I type in ~/Mail/folder.
 However if I use ? to see the list of mail folders, it shows
 them in ~/Mail without a problem.
 I think my enviornment etc is ok.
 Is there some setting I am missing ?
 Thanks
 -- 
have you defined in your ~/.muttrc or /etc/Muttc what mailboxes you are
using?

hard to help someone with no information about the configs.

-- 
In is out and out is in.  But in is in and out is out.
-- Pumbaa

 PGP signature


Re: Moving messages

2001-09-09 Thread Cliff Sarginson

On Sun, Sep 09, 2001 at 01:39:59PM -0700, Will Yardley wrote:
 Cliff Sarginson wrote:
  Well I looked and looked but I see only a message to
  copy a mail message to another folder, not one to move it
  (i.e. copy then delete it from source folder).
  Am I going blind ?
 
 type 's' (to save message).  when you save the message in the target
 folder it will be deleted from the source folder.
 
 w
 
ahh, maybe a small tweak to the mutt manual to say save implies
delete from source folder..
Thanks !
-- 

Regards
Cliff



Re: Using PGP signature with mutt ..problem

2001-09-09 Thread Cliff Sarginson

On Sun, Sep 09, 2001 at 10:00:09PM +0200, Piet Delport wrote:
 On Sun, 09 Sep 2001 at 00:25:11 +0200, Cliff Sarginson wrote:
  Hello
  I am trying to use pgp (and or gpg) signatures with mutt.
  I have set up the keys and directories etc.
  When I try to sign the message with the option from the
  p command I get an errno(2) ..no such file or directory.
  pgp and gpg are both on the PATH.
  Clues ?
 
 Have you set the various pgp_*_command options correctly (most likely by
 sourcing gpg.rc or one of the pgp.rc files (that are included in the
 mutt distribution) from your .muttrc)?

Yes, I looked harder and realised I needed to do that.
Now works fine.
Thanks!
-- 

Regards
Cliff



Re: mutt finding mailboxes problem

2001-09-09 Thread Cliff Sarginson

On Mon, Sep 10, 2001 at 05:04:40AM +0800, Rino Mardo wrote:
 On Sun, Sep 09, 2001 at 07:19:32PM +0200 or thereabouts, Cliff Sarginson wrote:
  Hello,
  A problem. My users mailboxes are in ~/Mail, as per default.
  However if i do a c to change mailbox folder mutt does not
  find it unless I am either in ~/Mail or I type in ~/Mail/folder.
  However if I use ? to see the list of mail folders, it shows
  them in ~/Mail without a problem.
  I think my enviornment etc is ok.
  Is there some setting I am missing ?
  Thanks
  -- 
 have you defined in your ~/.muttrc or /etc/Muttc what mailboxes you are
 using?
 
 hard to help someone with no information about the configs.

Yes I have a mailboxes command in the config, and in all other contexts
it works fine. However mutt when you do a c and then enter a folder
name it looks in the current directory not in the mail directory.

-- 

Regards
Cliff



Re: mutt finding mailboxes problem

2001-09-09 Thread Ailbhe Leamy

On (09/09/01 19:19), Cliff Sarginson wrote:

 Hello, A problem. My users mailboxes are in ~/Mail, as per default.
 However if i do a c to change mailbox folder mutt does not find it
 unless I am either in ~/Mail or I type in ~/Mail/folder.  However if
 I use ? to see the list of mail folders, it shows them in ~/Mail
 without a problem.  I think my enviornment etc is ok.  Is there some
 setting I am missing ? Thanks --

set folder=~/Mail

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: mutt finding mailboxes problem

2001-09-09 Thread Cliff Sarginson

On Sun, Sep 09, 2001 at 11:06:24PM +0100, Ailbhe Leamy wrote:
 On (09/09/01 19:19), Cliff Sarginson wrote:
 
  Hello, A problem. My users mailboxes are in ~/Mail, as per default.
  However if i do a c to change mailbox folder mutt does not find it
  unless I am either in ~/Mail or I type in ~/Mail/folder.  However if
  I use ? to see the list of mail folders, it shows them in ~/Mail
  without a problem.  I think my enviornment etc is ok.  Is there some
  setting I am missing ? Thanks --
 
 set folder=~/Mail

Does not make any difference..

typing =folder

works though..I can live with that :)

-- 

Regards
Cliff



Re: Scoring .. what is it's purpose

2001-09-09 Thread David Champion

On 2001.09.09, in [EMAIL PROTECTED],
Cliff Sarginson [EMAIL PROTECTED] wrote:
 - What is the purpose/use of scoring of mail messages?

I'm sure that people use it in different ways, but fundamentally, it's
just a ratings system. You can value/devalue messages according to the
results of one or more matching operators, and then act on the message
according to the sum of those ratings. You can look at it as a way of
combining lots of different matching operations disjointly - rather than
saying

if (a and b and c) then mark as important
if (a and b and d) then mark as junk
if (a and b and e) then mark as ordinary
... plus many other combinations

you can say

if (a) then increase score by 25
if (b) then increase score by 25
if (c) then increase score by 50
if (d) then decrease score by 100
if (e) then decrease score by 5
if (score  0) then mark as junk
if (score = 100) then mark as important

You can use scoring to filter out suspected junk mail, or to prioritize
messages from co-workers over those from friends, or to make messages
from Outlook Express users disappear under a limit, all by tying rules
together rather than by writing more complex rules.

Another, simpler summary: it's a stateful property of a message that can
be manipulated by any number of successive rules.


 - Can i mark a message as undeletable (and reverse that)

As far as I know, not without some severe shenanigans.

You could bind your 'd' key to some function that deletes the message,
then filters it to a program that evaluates the message's X-No-Delete:
header, say, and copies it to a file if it's delete-locked, then appends
that file to your current folder. Other bindings would insert/remove an
X-No-Delete: header into/from the current message.

That would do it, I think, but I'd reconsider how badly you want this
functionality before trying it. Or ask someone for a patch.

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



unmapped keys

2001-09-09 Thread Steve

I'm having a problem finding the relevant entry or `how to' in the
manual on doing the following:

mapping check-mail.

I've found how to alter an already mapped entry, but not how to ceate
one. Suggestions?


-- 
Steve - Toronto ICQ 35454764
  
  /~\
'If you're not a rebel when you're 20 you've got no heart; if \ /
 you're not establishment when you're 30 you've got no brain.  X
 Join the ASCII ribbon campaign against HTML email/ \