folder hook for scrolling down?

2001-01-04 Thread Christoph Bugel


Hi,

When I open some mailbox I get to the index window, and the 'cursor' is
positioned on the first message (which is the oldest one). How can I tell mutt
to automatically go to the last message? (now I have to type G to do that).





Re: folder hook for scrolling down?

2001-01-04 Thread Chris Gushue

Christoph Bugel ([EMAIL PROTECTED]) wrote:
> 
> Hi,
> 
> When I open some mailbox I get to the index window, and the 'cursor' is
> positioned on the first message (which is the oldest one). How can I tell mutt
> to automatically go to the last message? (now I have to type G to do that).

This is what I am using to do that:

bind index P collapse-all
bind index \cp collapse-thread  # ctrl+p
# Collapse threads by default, and jump to the last message
folder-hook . push "P*"

I'm not sure what collapse-all is bound to by default, but I find it
easier to read mail without seeing every thread open. I think * is the
default key for jumping to the last message though. Hope that was
helpful.

I guess you could also set the default sort order to be reversed by
date, but that just looks odd.

-- 
Chris Gushue <[EMAIL PROTECTED]>
http://mutt.lazygenes.net
http://www.blackplasma.net

 PGP signature


Re: folder hook for scrolling down?

2001-01-04 Thread Christoph Bugel


Thanks for the tip. I now use the following, which works: 
folder-hook . push "G"
quite simple ;) - that's what I like about mutt.
(It is slower then pine, though, when opening folders..)


> Christoph Bugel ([EMAIL PROTECTED]) wrote:
> > 
> > Hi,
> > 
> > When I open some mailbox I get to the index window, and the 'cursor' is
> > positioned on the first message (which is the oldest one). How can I tell mutt
> > to automatically go to the last message? (now I have to type G to do that).
> 
> This is what I am using to do that:
> 
> bind index P collapse-all
> bind index \cp collapse-thread  # ctrl+p
> # Collapse threads by default, and jump to the last message
> folder-hook . push "P*"
> 
> I'm not sure what collapse-all is bound to by default, but I find it
> easier to read mail without seeing every thread open. I think * is the
> default key for jumping to the last message though. Hope that was
> helpful.
> 
> I guess you could also set the default sort order to be reversed by
> date, but that just looks odd.
> 
> -- 
> Chris Gushue <[EMAIL PROTECTED]>
> http://mutt.lazygenes.net
> http://www.blackplasma.net





Mutt 1.3.12

2001-01-04 Thread Waldemar Brodkorb

Hello Mutt-Users,

Yesterday I have installed an actual unstable Mutt release
with NNTP-Patch (from Volkov). 
Now I have two problems.

First I want to have old behavior of "i",
the Index of Newsgroups should be "F5" or so.

Second my inbox is readonly, I can't toggle it
with "%". 
My inbox-file is a symbolic link to
/var/spool/mail/waldemar

With Mutt 1.2.5i it works out of the box.

What's wrong??

Thanks for any comments.

-- 
MfG

Waldemar Brodkorb

Linux rulez!



Re: Mutt 1.3.12

2001-01-04 Thread David T-G

Waldemar --

...and then Waldemar Brodkorb said...
% 
...
% Second my inbox is readonly, I can't toggle it
% with "%". 
% My inbox-file is a symbolic link to
% /var/spool/mail/waldemar

Have you checked your mutt_dotlock program (perhaps whichever is first in
your path) to make sure it is setuid root (or perhaps setgid mail)?  It's
likely that you-the-ordinary-user cannot create a lock file in the mail
spool dir, and that's the whole reason mutt_dotlock exists but it must
have special permissions.


HTH & HNY

:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


New mail detection

2001-01-04 Thread Nikolai Prokoschenko

Hi!

I'm sad - the detection of new mail is not working anymore :(( The worst thing is - I 
can't even imagine, what might have
gone wrong. Can I somehow see, which mailboxes are being watched by Mutt? I have a 
typical line "mailboxes `ls
/home/nikolai/Mail/Mails/*`" in my .muttrc, but still - new mails are not detected. 
Can someone help? Ask for further info,
if you need it...

Best regards,

Nikolai.



Re: Mutt 1.3.12

2001-01-04 Thread Waldemar Brodkorb

On Thu, Jan 04, 2001 at 11:40:05AM -0500, David T-G wrote:
> Waldemar --
> 
> ...and then Waldemar Brodkorb said...
> % 
> ...
> % Second my inbox is readonly, I can't toggle it
> % with "%". 
> % My inbox-file is a symbolic link to
> % /var/spool/mail/waldemar
> 
> Have you checked your mutt_dotlock program (perhaps whichever is first in
> your path) to make sure it is setuid root (or perhaps setgid mail)?  It's
> likely that you-the-ordinary-user cannot create a lock file in the mail
> spool dir, and that's the whole reason mutt_dotlock exists but it must
> have special permissions.

Thanks a lot. Adding the User to group mail, solve the problem. 

-- 
MfG

Waldemar Brodkorb

Every Generation got its own disease - Fury in the Slaughterhause 1993
and we got Aquired Immunodeficiency Syndrome, 
Bovine Spongiform Encephalopathy and Microsoft Windows 2000 Professional 



Re: mail archives

2001-01-04 Thread Christoph Bugel


Did you also check the mail archive link from mutt.org?
I noticed there are two: one to egroups and another on mutt.org



> Greetings mutt friends,
> 
> Can anyone help me find some mutt-user lore of old?  The egroups
> archive goes back to mid 1998, but I'm looking for some messages I
> would have sent in 1996 or 1997?
> 
> I would have copies, except I had a send-hook at the time which
> disabled my Fcc for any archived lists.
> 
> Oh the irony.
> 
> regards
> ,dunc
> 



Re: Mutt 1.3.12

2001-01-04 Thread David T-G

Waldemar --

...and then Waldemar Brodkorb said...
% On Thu, Jan 04, 2001 at 11:40:05AM -0500, David T-G wrote:
% > ...and then Waldemar Brodkorb said...
% > ...
% > % Second my inbox is readonly, I can't toggle it
...
% > 
% > Have you checked your mutt_dotlock program (perhaps whichever is first in
% > your path) to make sure it is setuid root (or perhaps setgid mail)?  It's
...
% 
% Thanks a lot. Adding the User to group mail, solve the problem. 

Well, that's one way to do it, but the generally accepted method is to
set mutt_dotlock to sgid mail.  You wouldn't want to put *everyone* into
the mail group, would you? :-)


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


sending encrypted mail from command line

2001-01-04 Thread Pedro Zorzenon Neto

Hi,

  To send a text file using mutt from a cron script, I use:
  
cat text_file.txt | mutt -s test_message user@address

  and it works fine.

  But I want to send this file encrypted...

  What do I need to do? Are there command line options to do it?


Thanks,
Pedro
  
-- 
Why don't you try 'Mutt' and 'GnuPG'?
Get my public key at http://www.keyserver.net
1024D/7274AA07 9F1F 1EBB 29A4 918D 2C5F  FB9C 39C9 7963 7274 AA07

 PGP signature


Re: Mutt 1.3.12

2001-01-04 Thread Waldemar Brodkorb

On Thu, Jan 04, 2001 at 12:54:19PM -0500, David T-G wrote:
> Waldemar --
> 
> ...and then Waldemar Brodkorb said...
> % On Thu, Jan 04, 2001 at 11:40:05AM -0500, David T-G wrote:
> % > ...and then Waldemar Brodkorb said...
> % > ...
> % > % Second my inbox is readonly, I can't toggle it
> ...
> % > 
> % > Have you checked your mutt_dotlock program (perhaps whichever is first in
> % > your path) to make sure it is setuid root (or perhaps setgid mail)?  It's
> ...
> % 
> % Thanks a lot. Adding the User to group mail, solve the problem. 
> 
> Well, that's one way to do it, but the generally accepted method is to
> set mutt_dotlock to sgid mail.  You wouldn't want to put *everyone* into
> the mail group, would you? :-)

Is this sgid?

ls -la `which mutt_dotlock`
 -rwxr-sr-x1 root mail30506 Jan  4 18:28
 /usr/bin/mutt_dotlock
 
make install made the work.
How the rights on /var/spool/mail/waldemar have to be?

-- 
MfG

Waldemar Brodkorb

Every Generation got its own disease - Fury in the Slaughterhause 1993
and we got Aquired Immunodeficiency Syndrome, 
Bovine Spongiform Encephalopathy and Microsoft Windows 2000 Professional 



Re: New mail detection

2001-01-04 Thread Conor Daly

On Tue, Jan 02, 2001 at 11:23:25PM +0100 or so it is rumoured hereabouts, 
Nikolai Prokoschenko thought:
> Hi!
> 
> I'm sad - the detection of new mail is not working anymore :(( The worst thing is - 
>I can't even imagine, what might have
> gone wrong. Can I somehow see, which mailboxes are being watched by Mutt? I have a 
>typical line "mailboxes `ls
> /home/nikolai/Mail/Mails/*`" in my .muttrc, but still - new mails are not detected. 
>Can someone help? Ask for further info,
> if you need it...
> 
> Best regards,
> 
> Nikolai.
I'm getting similar but *only* for my ~/mbox which is my default inbox
used by procmail.  my mailboxes line in .muttrc is actually a script which
outputs the following:

=Archive
=Home/Family
=Home/Self
=Lists/ILUG/Archive
=Lists/ILUG/Social
=Lists/ILUG/edu
=Lists/ILUG/main
=Lists/Mailman
=Lists/Mutt-users
=Lists/linuxchix
=Met-Eireann/MetEireann
=Met-Eireann/North
=subscriptions
~/mbox

The script sorts the folders and creates folder hooks that make the
browser select whichever mailbox I'm currently looking at rather than the
first each time which is why I have the script rather than a plain
mailboxes line.

Anyhow, ~/mbox doesn't get checked for new mail while others do.


-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)
-
  6:40pm  up 1 day,  1:48,  1 user,  load average: 0.21, 0.08, 0.02