Convert from Pine to Mutt, howto

2001-08-23 Thread Rune Mossige

I have been using Pine for the last 6-8 years, and have come to
be used to the way Pine works.

However, over the last few months, I have heard more and more
good things about mutt, and have decided to switch over.

In this switchover process, there is still some things that
I was used to in pine, that I am not able to do as easy as
in pine. I'll try to summarize them:

1) How do I set up mutt to cycle all the mailfolders where I
   have procmail store new messages inside? Pine had an
   'incoming-folders' setting, where I set the folder names,
   and the order to look in them. How do I do that in mutt?

2) When I do 'c' to change folder, is it possible to get a
   selection box, where I can scroll with the cursor, and select
   a folder by hitting return, instead of typing in the name
   of the folder I want to change to?

3) How do I set up a distributionlist using mutt's aliases?

4) When I have marked several messages for deletion, and scroll
   the index of messages, the cursor jumps over the messages
   marked for deleting. This is fine, but sometimes I do not
   want this...I want to scroll to a deleted message, and then
   undelete it. How do I do that? Do I have to 'jump' to that
   message number?

5) How do I 'expunge' all messages marked for deletion, similar
   to pine's 'eXpunge' command? I do not want to have to quit
   mutt, or change to a new folder, just to expunge a number
   of messages.

6) How do I make mutt display norwegian characters? I have set
   set charset=iso-8859-1
   set allow_8bit=yes
   but I still get emails where the sender have that special
   character listed as '?'. I am using a Sun workstation,
   Solaris2.6, with a US keyboard, so I can not type these
   characters myself, but it would be nice to be able to
   display them.


I have now been playing around with mutt for some 2+ weeks, and
have read most of the manual.txt, but there is still some
items that I do not fully understand. I might ask more questions,
as I discover new unknown stuff.

-- 
---
   (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost  Pick any two.
---
Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
Tel: (+47)51946869 Mobile:(+47)90871024



Re: Convert from Pine to Mutt, howto

2001-08-23 Thread Suresh Ramasubramanian

Rune Mossige mutt [23/08/01 09:10 +0200]:
 1) How do I set up mutt to cycle all the mailfolders where I
have procmail store new messages inside? Pine had an
'incoming-folders' setting, where I set the folder names,
and the order to look in them. How do I do that in mutt?

mailboxes `echo $HOME/Mail/*`

 2) When I do 'c' to change folder, is it possible to get a
selection box, where I can scroll with the cursor, and select
a folder by hitting return, instead of typing in the name
of the folder I want to change to?
 
Hit tab once or twice.

 3) How do I set up a distributionlist using mutt's aliases?
 
That's for sendmail's /etc/aliases, ideally.  Or just separate the addresses
with commas.

 4) When I have marked several messages for deletion, and scroll
the index of messages, the cursor jumps over the messages
marked for deleting. This is fine, but sometimes I do not
want this...I want to scroll to a deleted message, and then
undelete it. How do I do that? Do I have to 'jump' to that
message number?
 
j and k for moving up and down non deleted messages.  To move across deleted
messages J and K (capitals)

 5) How do I 'expunge' all messages marked for deletion, similar
to pine's 'eXpunge' command? I do not want to have to quit
mutt, or change to a new folder, just to expunge a number
of messages.
 
$ (synchronize mailbox)

 6) How do I make mutt display norwegian characters? I have set
set charset=iso-8859-1
set allow_8bit=yes

Use the LC_CTYPE environment variable most appropriate to your setting.

-suresh



Re: Convert from Pine to Mutt, howto

2001-08-23 Thread Suresh Ramasubramanian

Rune Mossige mutt [23/08/01 09:10 +0200]:
 I have been using Pine for the last 6-8 years, and have come to
 be used to the way Pine works.
 
 I think Sven Guckes and Robin Socha have quite good howtos at
 http://www.socha.net re pine - mutt conversion.

-suresh



Re: Convert from Pine to Mutt, howto

2001-08-23 Thread David

On Thu, 23 Aug 2001, Rune Mossige wrote:
 1) How do I set up mutt to cycle all the mailfolders where I
have procmail store new messages inside? Pine had an

man muttrc, then look at mailboxes. I use :
mailboxes `echo $HOME/Mail/Mailinglists/*`

All of the mailing list stuff goes into mboxes inside that dir, so that
just tells mutt to use them as maildirs, plus another line for my
ordinary mail mbox
 
 2) When I do 'c' to change folder, is it possible to get a
selection box, where I can scroll with the cursor, and select

Yes, press c, then tab twice, or c then '?' once mailboxes are set up
 
 3) How do I set up a distributionlist using mutt's aliases?

Sorry not entirely sure what you want.
 
 4) When I have marked several messages for deletion, and scroll
the index of messages, the cursor jumps over the messages
marked for deleting. This is fine, but sometimes I do not

Use J and K, must be capitals.  Or rebind up and down to what J and K
are set to.
 
 5) How do I 'expunge' all messages marked for deletion, similar

Dont Know
 
 6) How do I make mutt display norwegian characters? I have set

I had a similar problem and solved it by setting LC_CTYPE to en_AU, but
I'm not sure if this sort of thing works in solaris. 

Hope this helps.

-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
David Clarke [EMAIL PROTECTED] | David Clarke s3353950
GPG Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723

 PGP signature


Re: Convert from Pine to Mutt, howto

2001-08-23 Thread Dave Pearson

On Thu, Aug 23, 2001 at 09:10:41AM +0200, Rune Mossige wrote:

 1) How do I set up mutt to cycle all the mailfolders where I
have procmail store new messages inside? Pine had an
'incoming-folders' setting, where I set the folder names,
and the order to look in them. How do I do that in mutt?

See section 3.11 of the manual.

 2) When I do 'c' to change folder, is it possible to get a
selection box, where I can scroll with the cursor, and select
a folder by hitting return, instead of typing in the name
of the folder I want to change to?

Look at what the prompt says when you hit c.

 3) How do I set up a distributionlist using mutt's aliases?

See section 3.2 of the manual.

 4) When I have marked several messages for deletion, and scroll
the index of messages, the cursor jumps over the messages
marked for deleting. This is fine, but sometimes I do not
want this...I want to scroll to a deleted message, and then
undelete it. How do I do that? Do I have to 'jump' to that
message number?

Use previous-entry and next-entry to move the cursor. See the key
binding help screen to see what they are bound to (usually K and J by
default).

 5) How do I 'expunge' all messages marked for deletion, similar
to pine's 'eXpunge' command? I do not want to have to quit
mutt, or change to a new folder, just to expunge a number
of messages.

Use sync-mailbox. See the key binding help screen to see what it is bound
to (usually bound to $ by default).

-- 
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: Convert from Pine to Mutt, howto

2001-08-23 Thread Danny O'Brien

On Thu, Aug 23, 2001 at 09:10:41AM +0200, Rune Mossige wrote:
 I have been using Pine for the last 6-8 years, and have come to
 be used to the way Pine works.
 
 However, over the last few months, I have heard more and more
 good things about mutt, and have decided to switch over.
 

Have you seen the Pine.rc file in your mutt distribution? This may make
your migration easier.

Also, Pine2mutt http://www.icewalk.com/softlib/app/app_01285.html may
be useful to you.

 In this switchover process, there is still some things that
 I was used to in pine, that I am not able to do as easy as
 in pine. I'll try to summarize them:
 
 1) How do I set up mutt to cycle all the mailfolders where I
have procmail store new messages inside? Pine had an
'incoming-folders' setting, where I set the folder names,
and the order to look in them. How do I do that in mutt?

In .muttrc, put a line like

mailboxes ! =in.mbx =friends.mbx =boring.mbx =spam.mbx

The ! is your mailspool (/var/spool/mail/rune , or whatever) --
the = signs signify your root mailfolder. I have

set folder=~/Mail/current

in my .muttrc to point to my mailboxes. Note that you can also use
backquotes to generate your list of mailboxes. I use this:

mailboxes ! =tips.mbx =haddock.mbx =out.mbx  `ls -D1 ~/Mail/current | sed 's/^[ 
*]*/=/g' | xargs echo`

Which shows me my mailspool, tips , haddock and out mailbox first, then
a full list of all the other directories in my mailbox directory (I use
maildir). The stuff in the backquote is a set of shell commands that
output the list of mailboxes.

 
 2) When I do 'c' to change folder, is it possible to get a
selection box, where I can scroll with the cursor, and select
a folder by hitting return, instead of typing in the name
of the folder I want to change to?

When you hit 'c' you should see this prompt:

Open mailbox ('?' for list):

Just hit '?' for the selection box!

 
 3) How do I set up a distributionlist using mutt's aliases?
 

How about
alias friends [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

in the .mail_aliases file. Is this what you mean?

 4) When I have marked several messages for deletion, and scroll
the index of messages, the cursor jumps over the messages
marked for deleting. This is fine, but sometimes I do not
want this...I want to scroll to a deleted message, and then
undelete it. How do I do that? Do I have to 'jump' to that
message number?

You know, I've always wondered that myself.

 
 5) How do I 'expunge' all messages marked for deletion, similar
to pine's 'eXpunge' command? I do not want to have to quit
mutt, or change to a new folder, just to expunge a number
of messages.

The sync-mailbox command (bound to the '$' key) does this.

Hit '?' at any point to see a list of other commands.


 
 6) How do I make mutt display norwegian characters? I have set
set charset=iso-8859-1
set allow_8bit=yes
but I still get emails where the sender have that special
character listed as '?'. I am using a Sun workstation,
Solaris2.6, with a US keyboard, so I can not type these
characters myself, but it would be nice to be able to
display them.

Not sure about this one. 




Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-23 Thread Thomas Roessler

On 2001-08-22 17:01:40 +0200, Alexander Skwar wrote:

Also the load when opening the Maildir is WAY higher compared to 
the mbox file.  Load when opening the mbox is about 2, Maildir is 
about 6. Okay, I've got setiathome running, so one may substract 1 
(? right?).

Ouch.  PLEASE make sure that (1) swapping isn't necessary, (2) your 
CPU is mostly idle when you do measurements, (3) mutt (or, for that 
matter, evolution) is the only process which competes for disk 
access.

Opening the Maildir took close to 5 minutes (the first time), but 
at least the load only went up to 5 and the system also felt more 
responsible.  

That's interesting - seems to translate to less disk accesses per 
unit time, which could mean that evolution is a bit slower at 
opening maildir folders.

(Bad enough, I can't make any reasonable measurements myself - I 
don't have Evolution installed, it's not available as a package for 
the distribution I use, and, finally, maildir is mostly kernel-bound 
here - at a certain point, ext2 eats most of the CPU.)

The 2nd time it took 15 seconds (!!).  I don't know, but judging 
this tremendous speedup, I suppose Evolution is keeping a cache 
of somesorts which causes it not to read the whole directory. 
That's just too much of a speedup, I'd say.

Seems so.

Now, such a cache will have to introduce explicit locking with 
maildir folders.  But the entire point with this folder format is 
that you do not have to lock explicitly, because the locking which 
is needed happens in the filesystem, when it guarantees that 
directories are consistent.

In mutt, changing from the default date/date sort to subject/date 
takes, uhm, 1 second.  But enabling threads (thread/date) takes 
MUCH longer, to be exact, it took about 2 minutes 30 seconds.

Try a newer version. Someone has contributed a patch which improves 
mutt's threading algorithm to O( n log n ); it is in mutt-1.3.21.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-23 Thread alexander . skwar


On 23.08.2001 10:45:25 Thomas Roessler wrote:

 Ouch.  PLEASE make sure that (1) swapping isn't necessary, (2) your
 CPU is mostly idle when you do measurements, (3) mutt (or, for that
 matter, evolution) is the only process which competes for disk
 access.

Yes, I do know this.  But, the system wasn't really busy, and those huge
differences which I found cannot be due to some other process running.  Maybe if
I had tested it only once or twice - but I didn't.  It was constantly in same
area like I listed.

 That's interesting - seems to translate to less disk accesses per
 unit time, which could mean that evolution is a bit slower at
 opening maildir folders.

Yes, that's right, and yes, Evolution is slower at the very first time.

 Now, such a cache will have to introduce explicit locking with
 maildir folders.  But the entire point with this folder format is

Yep, I don't understand this either.

 Try a newer version. Someone has contributed a patch which improves
 mutt's threading algorithm to O( n log n ); it is in mutt-1.3.21.

I will!  Thanks!





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


A script to fix mailboxes access and modify times

2001-08-23 Thread Enrico Zini

Hello!

After a little bit of thinking and coding I came up with this perl script
to solve the problems I raised on mailbox access times, and some other
more.

I've been using this thing from a couple of days and it seems to get the
job done, but I'd like some peer review.

The script addresses two problems:

 1) If some non-mail-aware utility like grep, glimpse or whatever is used
on the mailboxes, access times are altered and mutt looses informations
about what mail is new, and if there is new mail at all.
The script preserves this information between mutt runs, so that
useful utilities can be used on the mailboxes.

 2) When a mailbox is modified my mutt (for example when setting some
messages as 'read'), its modification time is not changed.  This gives
some problem to file synchronization programs like unison, that fail
to see the file as changed.
The script can detect if a mailbox has been changed by mutt after it
has run, and alter its mtime to notify synchrony and backup software
about the changes.  That mtime is then restored to the value wanted
by mutt during the next mutt invocations.

Being it smaller, I attach it to this e-mail.  I ask to the people with
the same problems that I have to please have a look at it.

The script can do many actions on the mailboxes (most of them were testing
features), but the two useful ones are the 'before' and 'after' ones, to
be used as in this script I'm now using to run mutt:

#!/bin/sh
cd ~/Mail
./.fixtimes -a before *
cd -
mutt
cd ~/Mail
./.fixtimes -a after *

(I prepended a dot to the script to avoid mutt considering it a mailbox)

fixtimes stores the data it uses in files in the form:
.mailbox-name.{atime,ft}
so don't be scared if you find lots of them scattered in your mailbox
after you run the script.

Little warning: fixtimes does not change the contents of the mailboxes at
all, just their atime and mtime.  However, there was the possibility that
at the first run the atimes and mtimes were reset, losing informations
about the new mail (but not losing the new mail).  I fixed this, but I did
not test well enough the fix, so you may find yourself in mutt with all
mailboxes marked 'N' the first time you use it.

Right now, I'm pretty fine with the script and I thought I'd share it.

If the ideas in it are valid, perhaps something could be integrated in
mutt (especially the detection of changed mailboxes, that mutt can do
more efficiently being the one who changes them).

I'm at your disposal for help, improvements, and hearing criticisms and
feedback.

Ah, yes, I nearly forgot to say that this is of course a bad and crude
hack.


Bye, Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini (Unibo) [EMAIL PROTECTED]

 fixtimes.gz


various sort and procmail Q's

2001-08-23 Thread Carl B . Constantine

I'm using procmail to make sure list mail goes into the appropriate
folder like this:

:0:
* ^Sender: [EMAIL PROTECTED]
lists/mutt-users

Then in my .muttrc I want to know which folders received mail, so I do
this:

## mailboxes defines the list of folders to be checked for new mail
## Mutt both can show the number of mailboxes with new mail in the index
and
## you can cycle through these after giving the change-folder command.
:-)
mailboxes ! +lists
mailboxes `for file in ~/Mail/lists/*; do echo -n +lists/$(basename
$file) ; done`

but when I use the change folder command, I see nothing that indicates
that a mailbox has received mail. also, hitting space bar (as the man
page suggests) does nothing.

Also, when I go to that mailbox that I know should have received mail,
how I can I tell mutt to ONLY show me the new mail, not any other mail?
I currently have it sorted by thread.

In case it helps, heres a listing of my ~/Mail and ~/Mail/lists dirs:

(cconstan@viper): ~%  ls -l Mail/
total 14010
-rw---   1 cconstan   188137 Jun 25 16:28 CSCconsult
-rw---   1 cconstan81226 Aug  9 08:46 Coops
-rw---   1 cconstan61721 Aug 22 08:15 DeptMeet
-rw---   1 cconstan80518 Aug 22 15:45 Solaris
-rw---   1 cconstan   290073 Jun 13 16:02 SpringSurvey01
-rw---   1 cconstan   154914 Aug 16 12:21 acctsystem
-rw---   1 cconstan   323536 Aug 22 09:39 admin
-rw---   1 cconstan 4765 Jun 25 15:07 apache
-rw---   1 cconstan 5713 Aug 14 12:22 backups
-rw---   1 cconstan12605 Jun 21 08:52 conflicts
-rw---   1 cconstan29934 Aug 16 11:52 courseacct
-rw---   1 cconstan 2026 May 29 20:23 develop
-rw---   1 cconstan 8550 Aug 21 08:11 diskdumps
-rw---   1 cconstan  6031970 Jun 27 08:43 dumps
-rw---   1 cconstan  5182173 Aug 13 08:27 dumpweekly
-rw---   1 cconstan   101973 Aug 21 14:19 elwmeet
-rw---   1 cconstan   139734 Aug 10 07:56 fulldumps
-rw---   1 cconstan   147259 Aug 22 16:38 grads
-rw---   1 cconstan 3270 Jul 27 09:39 labs
drwx--S---   2 cconstan  512 Aug 23 08:10 lists
-rw---   1 cconstan15225 Aug 20 09:32 maildumps
-rw---   1 cconstan69397 Aug 22 15:10 misc
-rw---   1 cconstan   253514 Aug 21 10:06 netissues
-rw---   1 cconstan   132043 Aug 20 13:51 personal
-rw---   1 cconstan90500 Aug 22 15:22 printing
-rw---   1 cconstan 5687 Jul  5 10:02 restores
-rw---   1 cconstan 2662 Aug  3 13:56 security
-rw---   1 cconstan   195327 Aug 22 09:46 sent
-rw---   1 cconstan   118041 Aug 21 11:05 software
-rw---   1 cconstan23465 Jun 21 13:41 spam
-rw---   1 cconstan   100083 Aug  7 15:50 staffers
-rw---   1 cconstan32697 Aug 22 10:19 systems
-rw---   1 cconstan29712 Jul 20 15:58 tic
-rw---   1 cconstan   189963 Aug 21 11:05 users
-rw---   1 cconstan30075 Aug  7 15:52 virusinfo
-rw---   1 cconstan 9631 Jul 16 08:54 waitlists
-rw---   1 cconstan 5497 Aug 15 11:23 web

(cconstan@viper): ~%  ls -l Mail/lists
total 5475
-rw---   1 cconstan  5553800 Aug 23 06:56 mutt-users
-rw---   1 cconstan43549 Aug 17 10:12 uvsubnet

On a similar note, how can I tell mutt to only show me mail from a
certain date? Limit doesn't seem to work for this.

Finally, How can I dynamically resort a mailbox. For example, mutt-users
is sorted by thread. Say I wanted to sort by date for a second or sort
by user while I look for something but the default should still be
thread. How can I do that?

I'm using Mutt 1.2.5i on solaris 8.

advTHANKSance.

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]



Re: GPG / PGP verification problem

2001-08-23 Thread Brendan Cully

On Thursday, 23 August 2001 at 18:24, Ailbhe Leamy wrote:
 On (22/08/01 19:03), Justin R. Miller wrote:
 
  Thus spake Ailbhe Leamy ([EMAIL PROTECTED]):
 
   Is this a wetware error, or a Real Bug?
 
  If you're using 1.3.18 as your mail headers say, then I'd recommend
  you try 1.3.20 or 1.3.21, it seems to have fixed misc. things like
  this.
 
 # apt-get install mutt
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following extra packages will be installed:
   abiword bonobo cpp cpp-2.95 defoma e2fsprogs esound esound-common fbset fetchmail 
g++ gdk-imlib1 gnome-bin gnome-card-games gnome-games-locale gnome-gnomine gnumeric 
imlib-base libaudiofile-dev libaudiofile0 libbonobo2 libc6 libc6-dev libdbi-perl 
libefs1 libelfg0 libesd0 libgal9 libgnomesupport0 libgnorbagtk0 libguile9 
libmysqlclient10 liboaf0 libperl5.6 libpng2 libpng2-dev libquicktime4linux0 libsane 
liburi-perl libxaw7 libxml1 locales mesag3+ggi mysql-client oaf perl perl-base 
perl-modules python2-base rsh-server scantv ssh vgagamespack xawtv xchat xchat-common 
xlibs xpilot-server xscreensaver 
 
 The following packages will be REMOVED:
   at libesd0-dev task-games 
 The following NEW packages will be installed: bonobo libbonobo2 libefs1 libgal9 
liboaf0 oaf scantv 
 53 packages upgraded, 7 newly installed, 3 to remove and 214  not upgraded.
 Need to get 34.2MB of archives. After unpacking 4414kB will be used.
 Do you want to continue? [Y/n] 

Hmmm?

Version: 1.3.20-1
Replaces: mutt-i
Provides: mail-reader
Depends: libc6 (= 2.2.3-7), libncurses5 (= 5.2.20010310-1),
libsasl7, exim | mail-transport-agent
Recommends: mime-support
Suggests: i18ndata, urlview, ispell, gnupg | pgp | pgp5i
Conflicts: mutt-i, suidmanager ( 0.50)
Filename: pool/main/m/mutt/mutt_1.3.20-1_i386.deb

-Brendan



Re: making personal mailing lists

2001-08-23 Thread Ailbhe Leamy

On (16/08/01 16:55), Eric Cheney wrote:

 Hello.  I'm kind of new to mutt after coming from years of using pine.
 I like mutt very much but one thing I can't find documentation for
 (probably my bad) is how to create a personal mailing list.  I have
 mailing lists that reside on a machine other than mine written in
 .muttrc---for example, I have lists mutt-users among others.  But
 how can I make a my own mailing list that's not run by some majordomo
 on some external box?

If you want to automatically have an alias expand to a list of people,
then use alias MyPals [EMAIL PROTECTED], [EMAIL PROTECTED] etc.

If you want a mailing list, you need something like Mailman, which I
found idiotishly easy to set up, customise and use.

Ailbhe

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



Re: Indent_string..

2001-08-23 Thread Ailbhe Leamy

On (18/08/01 18:57), David Röhr wrote:

 When I answer a mail mutt always put   as quote on the last mail
 according to the indent_string in my .muttrc.

 I want   only when no other has replyed, but if there already is a
   then i want it to become just 

 How do I fix this?

I don't know, but if you find out, tell me.

It hasn't been a problem for me since I started using par, but it's a
reason I started using par.

Ailbhe

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



Re: GPG / PGP verification problem

2001-08-23 Thread Suresh Ramasubramanian

Ailbhe Leamy mutt [23/08/01 18:24 +0100]:
 # apt-get install mutt
 Reading Package Lists... Done

cd /usr/ports/mail/mutt-devel
make install clean

Less than ten minutes on my (extremely thin) pipe to the 'net

hth
--suresh

[yes, you have to switch to freebsd, but that's a minor detail g]

 



Re: GPG / PGP verification problem

2001-08-23 Thread Josh Huber

Brendan Cully [EMAIL PROTECTED] writes:

 Version: 1.3.20-1
 Replaces: mutt-i
 Provides: mail-reader
 Depends: libc6 (= 2.2.3-7), libncurses5 (= 5.2.20010310-1),
  ^^

 libsasl7, exim | mail-transport-agent
 Recommends: mime-support
 Suggests: i18ndata, urlview, ispell, gnupg | pgp | pgp5i
 Conflicts: mutt-i, suidmanager ( 0.50)
 Filename: pool/main/m/mutt/mutt_1.3.20-1_i386.deb

I suspect that his version of libc wasn't new enough, so apt wants to
upgrade it, pulling in a shit ton of other upgrades.  should work fine
though :)

that's what you get for running sid (or maybe woody?)

ttyl,

-- 
Josh Huber




Re: GPG / PGP verification problem

2001-08-23 Thread Ailbhe Leamy

On (23/08/01 23:38), Suresh Ramasubramanian wrote:

 Ailbhe Leamy mutt [23/08/01 18:24 +0100]:
  # apt-get install mutt Reading Package Lists... Done

 cd /usr/ports/mail/mutt-devel make install clean

 [yes, you have to switch to freebsd, but that's a minor detail g]

I'm way too lazy to look after all my interdependencies myself. I just
hadn't realised how much stuff had changed since my last upgrade.

Ailbhe
Next spare box we have in the house is going to be a Windows game box.
After that, maybe FreeBSD. Or OpenBSD. I have equal numbers of
OneTrueWayists recommending both.

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



Re: Speed of opening Maildirs (was: Re: move messages at will?)

2001-08-23 Thread Alexander Skwar

So sprach »Thomas Roessler« am 2001-08-23 um 10:45:25 +0200 :
 On 2001-08-22 17:01:40 +0200, Alexander Skwar wrote:
[ mutt 1.3.19i ]
 MUCH longer, to be exact, it took about 2 minutes 30 seconds.
 
 Try a newer version. Someone has contributed a patch which improves 
 mutt's threading algorithm to O( n log n ); it is in mutt-1.3.21.

Yes, threading now is somewhat faster.  This time, it took about 1
minute 50 seconds.

Sadly, it's still a lot slower than Evolution :(

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 14 hours 43 minutes



World writable directory error with procmail

2001-08-23 Thread Joel Hammer

About two days ago procmail just stopped working.
Here is the error I see in /var/log/mail:
 sendmail[5115]: RAA05114: forward /home/jlh/.forward: World writable
directory 

I have read the sendmail book on .forward and permissions.
Here are the permissions of the various involved files (jlh is the user):
lrwxrwxrwx   1 root root   13 May  8  2000 jlh - /mnt/hda4/jlh  
drwxrwxr-x   9 root root 1024 Jul 23 21:00 hda4
drwx--  82 jlh  users   30720 Aug 23 18:07 jlh
-r--r--r--   1 jlh  users  27 Jul 23  2000 /mnt/hda4/jlh/.forward  
-rw-r--r--   1 jlh  users 391 Jul 22 08:58 /mnt/hda4/jlh/.procmailrc 

I don't see any world writeable files or directories here, except for the
link. But, that has been like that for months, I believe, and they claim
symbolic link permissions mean nothing.
Any insight appreciated.
Joel





xterm titles

2001-08-23 Thread Will Yardley

here's a version of neil townsend's xterm patch that should work with
more recent versions.  i was able to do patch -p1 patch in the
mutt-1.3.21 directory.

the only things that are really different are the line numbers.

-w

diff -u mutt-1.3.20/curs_main.c mutt-1.3.20-ro/curs_main.c
--- mutt-1.3.20/curs_main.c Thu Jul 19 07:49:51 2001
+++ mutt-1.3.20-ro/curs_main.c  Thu Aug  9 05:47:28 2001
@@ -103,6 +103,19 @@
 
 extern const char *ReleaseDate;
 
+#define ASCII_CTRL_G  0x07
+#define ASCII_CTRL_OPEN_SQUARE_BRAKET 0x1b
+ 
+static void set_xterm_title_bar(char *title)
+{
+fprintf(stderr ,%c]2;%s%c, ASCII_CTRL_OPEN_SQUARE_BRAKET, title, ASCII_CTRL_G);
+}
+
+static void set_xterm_icon_name(char *name)
+{
+fprintf(stderr, %c]1;%s%c, ASCII_CTRL_OPEN_SQUARE_BRAKET, name, ASCII_CTRL_G);
+}
+
 void index_make_entry (char *s, size_t l, MUTTMENU *menu, int num)
 {
   format_flag flag = M_FORMAT_MAKEPRINT | M_FORMAT_ARROWCURSOR | M_FORMAT_INDEX;
@@ -539,6 +552,13 @@
mutt_paddstr (COLS, buf);
SETCOLOR (MT_COLOR_NORMAL);
menu-redraw = ~REDRAW_STATUS;
+if (option(OPTXTERMSETTITLES))
+{
+  menu_status_line (buf, sizeof (buf), menu, NONULL (XtermTitle));
+  set_xterm_title_bar(buf);
+  menu_status_line (buf, sizeof (buf), menu, NONULL (XtermIcon));
+  set_xterm_icon_name(buf);
+}
   }
 
   menu-redraw = 0;
diff -u mutt-1.3.20/globals.h mutt-1.3.20-ro/globals.h
--- mutt-1.3.20/globals.h   Mon Jun 18 08:56:14 2001
+++ mutt-1.3.20-ro/globals.hThu Aug  9 05:48:00 2001
@@ -103,6 +103,9 @@
 WHERE char *Tochars;
 WHERE char *Username;
 WHERE char *Visual;
+WHERE char *XtermTitle;
+WHERE char *XtermIcon;
+
 
 WHERE char *LastFolder;
 
diff -u mutt-1.3.20/init.c mutt-1.3.20-ro/init.c
--- mutt-1.3.20/init.c  Tue Jul  3 12:31:16 2001
+++ mutt-1.3.20-ro/init.c   Thu Aug  9 05:51:02 2001
@@ -840,6 +840,16 @@
toggle_option (MuttVars[idx].data);
   else
set_option (MuttVars[idx].data);
+
+  /* sanity check for xterm */
+  if ((mutt_strcmp (MuttVars[idx].option, xterm_set_titles) == 0)  option
+ (OPTXTERMSETTITLES))
+  {
+char *ep = getenv (TERM);
+/* Make sure that the terminal can take the control codes */
+if (ep == NULL) unset_option (MuttVars[idx].data);
+else if (mutt_strcasecmp (ep, xterm) != 0) unset_option 
+(MuttVars[idx].data);
+  }
 }
 else if (DTYPE (MuttVars[idx].type) == DT_STR ||
 DTYPE (MuttVars[idx].type) == DT_PATH ||
diff -u mutt-1.3.20/init.h mutt-1.3.20-ro/init.h
--- mutt-1.3.20/init.h  Fri Jun 29 03:05:50 2001
+++ mutt-1.3.20-ro/init.h   Thu Aug  9 05:53:18 2001
@@ -2279,6 +2279,27 @@
   ** Controls whether mutt writes out the Bcc header when preparing
   ** messages to be sent.  Exim users may wish to use this.
   */
+  {xterm_icon,   DT_STR,   R_BOTH, UL XtermIcon,  UL M%?n?AILail?},
+  /*
+  ** .pp
+  ** Controls the format of the icon title, as long as xterm_set_titles
+  ** is enabled. This string is identical in formatting to the one used by
+  ** ``$$status_format''.
+  */
+  {xterm_set_titles, DT_BOOL,  R_BOTH, OPTXTERMSETTITLES, 0},
+  /*
+  ** .pp
+  ** Controls whether mutt sets the xterm title bar and icon name
+  ** (as long as you're in an appropriate terminal). The default must
+  ** be off to force in the validity checking.
+  */
+  {xterm_title,  DT_STR,   R_BOTH, UL XtermTitle, UL Mutt with %?m?%m 
+messagesno messages?%?n? [%n NEW]?},
+  /*
+  ** .pp
+  ** Controls the format of the title bar of the xterm provided that
+  ** xterm_set_titles has been set. This string is identical in formatting
+  ** to the one used by ``$$status_format''.
+  */
   /*--*/
   { NULL }
 };
diff -u mutt-1.3.20/mutt.h mutt-1.3.20-ro/mutt.h
--- mutt-1.3.20/mutt.h  Fri Jun 29 03:05:50 2001
+++ mutt-1.3.20-ro/mutt.h   Thu Aug  9 05:53:45 2001
@@ -399,6 +399,7 @@
   OPTWRAPSEARCH,
   OPTWRITEBCC, /* write out a bcc header? */
   OPTXMAILER,
+  OPTXTERMSETTITLES,
 
   /* PGP options */

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

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



Re: World writable directory error with procmail: Solved

2001-08-23 Thread Joel Hammer

On Thu, Aug 23, 2001 at 06:44:44PM -0400, Joel Hammer wrote:
 On Thu, Aug 23, 2001 at 06:21:57PM -0400, Joel Hammer wrote:
  About two days ago procmail just stopped working.
  Here is the error I see in /var/log/mail:
   sendmail[5115]: RAA05114: forward /home/jlh/.forward: World writable
  directory 
  
  I have read the sendmail book on .forward and permissions.
  Here are the permissions of the various involved files (jlh is the user):
  lrwxrwxrwx   1 root root   13 May  8  2000 jlh - /mnt/hda4/jlh  
  drwxrwxr-x   9 root root 1024 Jul 23 21:00 hda4
  drwx--  82 jlh  users   30720 Aug 23 18:07 jlh
  -r--r--r--   1 jlh  users  27 Jul 23  2000 /mnt/hda4/jlh/.forward  
  -rw-r--r--   1 jlh  users 391 Jul 22 08:58 /mnt/hda4/jlh/.procmailrc 
  
  I don't see any world writeable files or directories here, except for the
  link. But, that has been like that for months, I believe, and they claim
  symbolic link permissions mean nothing.
  Any insight appreciated.
  Joel
 
Aw, forget it. /home was world writeable! I forgot about that one. Sendmail 8
 is very fussy. ANY directory in the path that is world writeable makes
 .forward not function.
 Joel



Re: procmail

2001-08-23 Thread Joel Hammer

On Sat, Aug 18, 2001 at 08:26:56PM +0200, Azzazel wrote:
 Hi,
 
 Does anybody use procmail for sorting incoming mail? 
 proc won't sort messages (I've tired test explained on faq page).
 Or, maybe I shell use fetchmail for receiving messagess?
 
I rediscovered one reason why procmail won't sort. Check your /var/log/mail logs to
see if you have a World writable directory error.
If any directory in the path to ~/.forward allows users or others to write
in that path, sendmail rejects the ~/.forward file and procmail won't run.
Joel




Re: always problem with accents

2001-08-23 Thread Benjamin Michotte

hello,

On Tue, Aug 14, 2001 at 11:44:10PM, Benjamin Michotte wrote:
 is it a problem with my system ? if yes, what's the problem ?
yes... I found the problem...
it was my  locale  which are broken/older/what_you_want...

... so mutt 1.3.21 rules ;)

 
---end quoted text---

cu,
binny

-- 

cat: signature: No such file or directory

   Benjamin Michotte[EMAIL PROTECTED]
  °v°  web  : http://www.baby-linux.net
  _o_  homepage : http://www.baby-linux.net/binny
   slaktool : http://slaktool.sourceforge.net
   icq uin  : 99745024

 PGP signature