Re: Three newbie questions

2016-07-07 Thread Erik Christiansen
On 08.07.16 00:46, Alasdair McAndrew wrote:
> 1. When I send an email, no matter from what account, a copy always
> ends up in the Inbox of my default account.  How can I ensure such a
> mail ends up in the Sent folder of its account?

I'd look for a "set record" statement in .muttrc, and replace it
with:

set record="~/mail/Sent"

or whatever the path to yours is.

Several questions in one mail is fine, so long as readers are curious
enough to delve past the non-specific subject line, which admittedly
does tempt with the prospect of low-hanging fruit, and so may work well.
Heck, some respondents may even have time/experience to answer more than
one of them. ;-)

Erik


Three newbie questions

2016-07-07 Thread Alasdair McAndrew
I have spent much of the last week (when I should have been doing other 
things) getting to grips with mutt.  My setup consists of three mail 
accounts: two gmail, and one MS Exchange which I access using davmail 
(I'm using Linux) so that localhost is my server.


Since I was having problems downloading headers and bodies - mutt would 
freeze - I'm using mbsync to sync my mails locally, and msmtp as a 
sender.


All this has required a great deal of configuring, and copying bits and 
pieces of other people's config files.


Anyway, it mostly works, but I still have a few things I can't (easily) 
do:


1. When I send an email, no matter from what account, a copy always ends 
up in the Inbox of my default account.  How can I ensure such a mail 
ends up in the Sent folder of its account?


2. Can I open up a mailbox so that the current highlighted message is 
the first one received since my last visit to this account?


3. How can I trawl through a Maildir folder and extract all the 
addresses into an alias file?  There is a Perl script to do that, but I 
can't get it to work on my system - the libraries are incompatible.


4. When I run mbsync, it seems very very slow, and takes a long time to 
do its stuff, and invariably it finishes with an error message:


"Socket error from imap.gmail.com (64.233.188.108:993): Connection timed 
out"


What I don't understand is that this happens when syncing messages from 
my work account, which simply uses localhost as the server.  As well, I 
get an error message saying that "slave Trash cannot be opened." which 
is mystifying, as the Trash directory is there.


--

Whew!  So many queries...

If I have flouted protocol in asking too many questions in one email, do 
let me know, and I'll restrict my questioning.  But I still have even 
more questions!


Thanks very much,
Alasdair



a number of newbie questions

2002-08-29 Thread krjw

Greetings, mutts.  I am new to mutt but old to linux; I've made the
mistake of using pine up till now (past, oh, 8 years).  Ug.  Mutt has
shown me the light.  Just for the record, I despise pine because of
their lack of willingness to support the Maildir format.  Slackers, I
say, slackers.  Anyway, I now have a sane and powerful MUA :) combined
with qmail  maildrop and all is mostly well.  As with any newbie,
questions loom so bear with me.  (Yes, I've poked around in the list
archives; they've helped a couple of times already).

1) Firstly, does mutt support or will mutt ever support extended
maildirs?  I've never seen extended maildirs 'till I started using
maildrop, but they're kinky.  They allow for folders-within-folders
which is very handy.

2) Replying and forwarding messages that have text/plain attachments
(possibly others?) does not behave in a desirable manner.  a) I do not
want attachments of any sort to be part of a reply (whether text/plain
or not).  b) when forwarding, I'd like all attachments to be forwarded
as just that: attachments.  Not inline.

3) [this is a vim question; don't shoot me :)]  I've seen mutts start up
vim as their editor like vim -c ':0;/^$' which I understand puts the
cursor on the first empty line.  Any way to place it at the end of the
file (eg, last line)?

This is all for now.  Thanks for any and all feedback.

krjw



Re: a number of newbie questions

2002-08-29 Thread darren chamberlain

* krjw [EMAIL PROTECTED] [2002-08-29 11:57]:
 Greetings, mutts.

Yo.

 1) Firstly, does mutt support or will mutt ever support extended
 maildirs?  I've never seen extended maildirs 'till I started using
 maildrop, but they're kinky.  They allow for folders-within-folders
 which is very handy.

I don't know, but have you tried it?  It seems like it would work.

 3) [this is a vim question; don't shoot me :)]  I've seen mutts start up
 vim as their editor like vim -c ':0;/^$' which I understand puts the
 cursor on the first empty line.  Any way to place it at the end of the
 file (eg, last line)?

set editor=vim +$ works for me, although that feels not right.

(darren)

-- 
I'm astounded by people who want to 'know' the universe when it's
hard enough to find your way around Chinatown.
-- Woody Allen



Re: a number of newbie questions

2002-08-29 Thread krjw

+-- On 29082002 12:16:11 +, darren chamberlain uttered:
| * krjw [EMAIL PROTECTED] [2002-08-29 11:57]:
| 
|  1) Firstly, does mutt support or will mutt ever support extended
|  maildirs?  I've never seen extended maildirs 'till I started using
|  maildrop, but they're kinky.  They allow for folders-within-folders
|  which is very handy.
| 
| I don't know, but have you tried it?  It seems like it would work.

Ya.  I have a test maildir FOO, with a 'folder' bar, and bar has yet
another 'folder' called blah.  The structure looks like this (as created
with the maildirmake prog that comes with maildrop):

FOO
FOO/tmp
FOO/new
FOO/cur
FOO/.bar
FOO/.bar/tmp
FOO/.bar/new
FOO/.bar/cur
FOO/.bar/maildirfolder
FOO/.bar.blah
FOO/.bar.blah/tmp
FOO/.bar.blah/new
FOO/.bar.blah/cur
FOO/.bar.blah/maildirfolder

(maildirfolder is a regular file.)

mutt sees FOO but has zero knowledge of bar or blah AFAICT.

Thanks for the vim tip.

krjw.

| 
| (darren)



Re: a number of newbie questions

2002-08-29 Thread Will Yardley

krjw wrote:
 +-- On 29082002 12:16:11 +, darren chamberlain uttered:
 | * krjw [EMAIL PROTECTED] [2002-08-29 11:57]:

 1) Firstly, does mutt support or will mutt ever support extended
 maildirs?  I've never seen extended maildirs 'till I started using
 maildrop, but they're kinky.  They allow for folders-within-folders
 which is very handy.

 I don't know, but have you tried it?  It seems like it would work.

 Ya.  I have a test maildir FOO, with a 'folder' bar, and bar has yet
 another 'folder' called blah.  The structure looks like this (as created
 with the maildirmake prog that comes with maildrop):
 
 FOO
 FOO/tmp
 FOO/new
 FOO/cur
 FOO/.bar
 FOO/.bar/tmp
 FOO/.bar/new
 FOO/.bar/cur
 FOO/.bar/maildirfolder
 FOO/.bar.blah
 FOO/.bar.blah/tmp
 FOO/.bar.blah/new
 FOO/.bar.blah/cur
 FOO/.bar.blah/maildirfolder
 
 (maildirfolder is a regular file.)
 
 mutt sees FOO but has zero knowledge of bar or blah AFAICT.

What if you change folders to .bar or .bar.blah/ ?
I'm pretty sure that should work fine.

There are a few approaches to the (annoying, IMHO) maildir++ approach of
courier.

1) there is a patch for maildir++ support in the archives. the author
says it's a total hack, but it should work.

2) make symlinks from ~/Mail/ or whatever to the courier folders (it
Mail/bar/blah is a link to ~/Maildir/.bar.blah/ (or do it the other way
around).

3) Use mutt via IMAP (folders will be in INBOX.)

4) call them by their regular name, but set mask=^\\. so that you see
them in the browser.

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




Re: a number of newbie questions

2002-08-29 Thread John P Verel


On 08/29/02 12:16 -0400, darren chamberlain wrote:
 
  3) [this is a vim question; don't shoot me :)]  I've seen mutts start up
  vim as their editor like vim -c ':0;/^$' which I understand puts the
  cursor on the first empty line.  Any way to place it at the end of the
  file (eg, last line)?
 
 set editor=vim +$ works for me, although that feels not right.
 

I start vim thusly:
set editor =vim +/^$ +'set nobackup' -c 'normal o' -c startinsert This
puts me at a new line below the first non blank line, in insert mode.
If you like, simply change 'normal o' to 'normal i' to omit the
additional blank line.  I use the blank line to make it easier when I
need to reformat the first paragraph.  That way, the headers don't get
mangled when I execute gqip.  The use of 'set nobackup' above is
obvious.  

Also, while we're talking editors, I use:

set tmpdir=~/tmp

to ensure privacy of my temp files.  Otherwise, they get written to
/tmp, which is world readable.

And,welcome to Mutt, krjw :)

John



Re: a number of newbie questions

2002-08-29 Thread krjw

+-- On 29082002 12:04:04 +, Will Yardley uttered:
| krjw wrote:
|  +-- On 29082002 12:16:11 +, darren chamberlain uttered:
|  | * krjw [EMAIL PROTECTED] [2002-08-29 11:57]:
|
|  1) Firstly, does mutt support or will mutt ever support extended
|  maildirs?  I've never seen extended maildirs 'till I started using
|  maildrop, but they're kinky.  They allow for
| folders-within-folders
|  which is very handy.
|
|  I don't know, but have you tried it?  It seems like it would work.
|
|  Ya.  I have a test maildir FOO, with a 'folder' bar, and bar has yet
|  another 'folder' called blah.  The structure looks like this (as
| created
|  with the maildirmake prog that comes with maildrop):
| 
|
| What if you change folders to .bar or .bar.blah/ ?
| I'm pretty sure that should work fine.

I can get into FOO/ but when attempting to get into .bar or .bar.blah
via the change-folder function, mutt declares it's not a mailbox.

|
| There are a few approaches to the (annoying, IMHO) maildir++ approach
| of
| courier.
|

I'll look into your suggestions.  No big issue.  More of a luxury than
anything to be able to nest maildirs.

Thanks again,
krjw.




Re: a number of newbie questions

2002-08-29 Thread krjw

+-- On 29082002 16:54:29 +, John P Verel uttered:
| 
| I start vim thusly: set editor =vim +/^$ +'set nobackup' -c 'normal
| o' -c startinsert This puts me at a new line below the first non
| blank line, in insert mode.  If you like, simply change 'normal o' to
| 'normal i' to omit the additional blank line.  I use the blank line to
| make it easier when I need to reformat the first paragraph.  That way,
| the headers don't get mangled when I execute gqip.  The use of 'set
| nobackup' above is obvious.  

Ah yes that works quite well.  Now all that's left is to get vim to
sanely re-format quoted text (where the quoting text is an arbitrary N
quote levels deep).:)  I saw a thread somewhere about fiddling with
vim's 'comments' setting, combind with gqap, but have yet to make sense
of it.

| Also, while we're talking editors, I use:
| 
| set tmpdir=~/tmp
| 
| to ensure privacy of my temp files.  Otherwise, they get written to
| /tmp, which is world readable.

Yes, a good idea indeed.  Although vim is smart enough to honor the
TMPDIR environment variable (which I have set to ~/tmp as well), and so
I wasn't concerned about setting it via mutt.

| And,welcome to Mutt, krjw :)

Thanks.  The 'k' is for Keith, although many people insist my
name's Kevin.  hrmph.

OT: I see you're an optonline user.  So what do you think of Jimmy
Dolan?  If you're a Yanks fan you probably hate his guts.  Anyway check
out fuckedcompany.com and you'll see that ol' Jimmy and Cablevision
aren't doing so hot.

Cheers,
krjw.

| John



Re: a number of newbie questions

2002-08-29 Thread Will Yardley

krjw wrote:
 On 29082002 12:04:04 +, Will Yardley uttered:
 krjw wrote:
 On 29082002 12:16:11 +, darren chamberlain uttered:
  * krjw [EMAIL PROTECTED] [2002-08-29 11:57]:

 1) Firstly, does mutt support or will mutt ever support extended
 maildirs?  I've never seen extended maildirs 'till I started using
 maildrop, but they're kinky.  They allow for
 folders-within-folders which is very handy.

 I don't know, but have you tried it?  It seems like it would work.

 Ya.  I have a test maildir FOO, with a 'folder' bar, and bar has yet
 another 'folder' called blah.  The structure looks like this (as
 created with the maildirmake prog that comes with maildrop):

 What if you change folders to .bar or .bar.blah/ ?  I'm pretty sure
 that should work fine.

 I can get into FOO/ but when attempting to get into .bar or .bar.blah
 via the change-folder function, mutt declares it's not a mailbox.

What if you set folder to FOO?

ie:
set spoolfile=~/FOO/
set folder=~/FOO/

However, i think 'baz' (in FOO/bar.baz/) will show up as FOO/bar.baz/
rather than as a subfolder of bar.

Perhaps you'd rather use IMAP, although this probably has its own set of
problems.

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




Re: a number of newbie questions

2002-08-29 Thread Peter T. Abplanalp

On Thu, Aug 29, 2002 at 02:00:30PM -0400, krjw wrote:
 +-- On 29082002 12:16:11 +, darren chamberlain uttered:
 | * krjw [EMAIL PROTECTED] [2002-08-29 11:57]:
 | 
 |  1) Firstly, does mutt support or will mutt ever support extended
 |  maildirs?  I've never seen extended maildirs 'till I started using
 |  maildrop, but they're kinky.  They allow for folders-within-folders
 |  which is very handy.

this works.  as a matter of fact i use it.  i think iirc it works as
far back as version 1.3.  i use 1.5 now.

what do you have setup for your spoolfile, mbox, mbox_type, folder?
do you have bar and bar.blah set up as mailboxes?

 FOO
 FOO/tmp
 FOO/new
 FOO/cur
 FOO/.bar
 FOO/.bar/tmp
 FOO/.bar/new
 FOO/.bar/cur
 FOO/.bar/maildirfolder
 FOO/.bar.blah
 FOO/.bar.blah/tmp
 FOO/.bar.blah/new
 FOO/.bar.blah/cur
 FOO/.bar.blah/maildirfolder

what happens if you use c and then type an absolute path to .bar or
.bar.blah?  a la /path/to/FOO/.bar

 (maildirfolder is a regular file.)

perhaps the existance of this file is what is throwing mutt off.  have
you tried removing it?  what is it there for?

 mutt sees FOO but has zero knowledge of bar or blah AFAICT.

what do you mean, exactly?  you can tell mutt that these are mailboxes
by using the mailboxes command in your muttrc.  a la

mailboxes = /path/to/FOO
mailboxes = /path/to/FOO/.bar
mailboxes = /path/to/FOO/.bar.blah

if you do this, you can use c and if there is new email in any of them
mutt will automagically give it as the next choice.

hth

-- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu



msg30519/pgp0.pgp
Description: PGP signature


Re: a number of newbie questions

2002-08-29 Thread krjw


Doh again.  Geeze this is two doh's in one day.  Yes you are correct.
It does work.  I didn't realize that mutt had to be told explicitly
about each of the sub-maildirs.

*sigh*  is it friday yet?

Thanks again.

krjw.


+-- On 29082002 16:20:55 +, Peter T. Abplanalp uttered:
| On Thu, Aug 29, 2002 at 02:00:30PM -0400, krjw wrote:
|  +-- On 29082002 12:16:11 +, darren chamberlain uttered:
|  | * krjw [EMAIL PROTECTED] [2002-08-29 11:57]:
|  | 
|  |  1) Firstly, does mutt support or will mutt ever support extended
|  |  maildirs?  I've never seen extended maildirs 'till I started using
|  |  maildrop, but they're kinky.  They allow for folders-within-folders
|  |  which is very handy.
| 
| this works.  as a matter of fact i use it.  i think iirc it works as
| far back as version 1.3.  i use 1.5 now.
| 
| what do you have setup for your spoolfile, mbox, mbox_type, folder?
| do you have bar and bar.blah set up as mailboxes?
| 
|  FOO
|  FOO/tmp
|  FOO/new
|  FOO/cur
|  FOO/.bar
|  FOO/.bar/tmp
|  FOO/.bar/new
|  FOO/.bar/cur
|  FOO/.bar/maildirfolder
|  FOO/.bar.blah
|  FOO/.bar.blah/tmp
|  FOO/.bar.blah/new
|  FOO/.bar.blah/cur
|  FOO/.bar.blah/maildirfolder
| 
| what happens if you use c and then type an absolute path to .bar or
| .bar.blah?  a la /path/to/FOO/.bar
| 
|  (maildirfolder is a regular file.)
| 
| perhaps the existance of this file is what is throwing mutt off.  have
| you tried removing it?  what is it there for?
| 
|  mutt sees FOO but has zero knowledge of bar or blah AFAICT.
| 
| what do you mean, exactly?  you can tell mutt that these are mailboxes
| by using the mailboxes command in your muttrc.  a la
| 
| mailboxes = /path/to/FOO
| mailboxes = /path/to/FOO/.bar
| mailboxes = /path/to/FOO/.bar.blah
| 
| if you do this, you can use c and if there is new email in any of them
| mutt will automagically give it as the next choice.
| 
| hth
| 
| -- 
| Peter Abplanalp
| 
| Email:   [EMAIL PROTECTED]
| PGP: pgp.mit.edu





Re: a bunch of newbie questions

2001-12-05 Thread David T-G

Rene, et al --

...and then Ren? Clerc said...
% * Nicolas Rachinsky [EMAIL PROTECTED] [05-12-2001 00:05]:
% 
% | mark_old unset, new messages stay new (until read), and messages
% | marked_old become new when you leave the mailbox (just try it).
% 
% Aha! I didn't know this; this explains a lot! I wasn't familiar with
% this behaviour, and even think it can be considered a bug.

Worse yet, it's not when you leave the mailbox but when you enter it
again, and then manually setting mark_old on does nothing.  I didn't
figure this out until I tried writing the mailbox with some 'O'ld
messages over and over and over again and then finally got back in with

  mutt -F /dev/null -f =boxname

and found them 'O'ld as I expected but as they never were upon re-entry.


% 
% | The
% | patch changes the behaviour in respect with old messages and unset
% | mark_old, the messages stay old (and new messages stay new).
% 
% I see! Like I said, I would've already expected this behaviour.

Yep.  This is another patch that will go into my cocktail.


% 
% Excusez-moi!
% 
% -- 
% René Clerc  - ([EMAIL PROTECTED])
% 
% It's not the fall that kills you. It's the sudden stop at the end.
% -Douglas Adams


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




msg21082/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-05 Thread René Clerc

* David T-G [EMAIL PROTECTED] [05-12-2001 14:34]:

| % | The
| % | patch changes the behaviour in respect with old messages and unset
| % | mark_old, the messages stay old (and new messages stay new).
| % 
| % I see! Like I said, I would've already expected this behaviour.
| 
| Yep.  This is another patch that will go into my cocktail.

Watch it, or you'll get drunk ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

About the use of language: it is impossible to sharpen a pencil with a
blunt ax. It is equally vain to try to do it with ten blunt axes instead.
-Edsger Dijkstra



msg21083/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-04 Thread René Clerc

* David T-G [EMAIL PROTECTED] [04-12-2001 01:26]:

[context]

| Rene, since starting to use mutt I've never wished delete was set to
| ask-yes, but I sure hated mark_old (though I want stuff marked old at
| times) :-)

That was actually the first option I unset ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

Q: What is the burning question on the mind of every dyslexic
existentialist?
A: Is there a dog?



msg21012/pgp0.pgp
Description: PGP signature


locking solved (was Re: a bunch of newbie questions)

2001-12-04 Thread Paul Brannan

On Mon, Dec 03, 2001 at 08:30:27PM -0600, David wrote:
 I think that this is exactly the problem... I dont know if you are on
 linux, but in my mounts through NIS to an HPUX machine from linux, I use
 a 'nolock' option that disables attempting to lock over NFS, and I just
 use dotlocking.  I don't know where to point you for documentation on
 this (perhaps `man mount`?), because I just guessed at what was
 happening and the options, and it worked.  
 
 This way I can still use FCNTL on my local machine (spool file), but
 mutt doesn't try to specially lock my NFS folders.  

Well, this was a tough one (short answer: nolock worked).

The first sign of trouble was that the client is a 2.4.13 machine with a
newer version of nfs than the server, which is an old RedHat 6.0 machine
running 2.2.5-15.  We noticed that statd was not running on the nfs
server, so we started it.  This caused both mutt and the program in my
earlier mail to hang (presumably in an uninterubtible system call, since
kill -9 could not kill the process).  Perhaps this is why statd wasn't
running in the first place.

Next, after giving up on trying to get fcntl to work, we modified the
local auto.master to use the nolock option, as you suggested.  The
format of this file differs on the client side from what ypcat gives,
but after a number of reboots, we finally got nolock working.

Now, mutt doesn't give me any error messages about fcntl (which, I
suppose, means it is using dotlocking), and I can now postpone messages.
Very cool.

Thanks a bunch!

Paul




Re: a bunch of newbie questions

2001-12-04 Thread David T-G

Paul --

...and then Paul Brannan said...
% On Mon, Dec 03, 2001 at 02:59:31PM -0500, David T-G wrote:
%  ...and then Paul Brannan said...
%  %   macro index $ ':set delete=ask-yesentersync-mailbox:set delete=noenter'
%  % 
%  % All I get is a beep, and delete remains set to ask-yes.
%  
%  That makes sense.  Your macro sets it to ask-yes and then tries to sync
%  the mailbox, which will generate a y/n prompt.  Instead of passing mutt
%  an expected value, however, you try to next give it a colon, which will
%  of course cause an error.
% 
% I was thinking about this last night, and it seems that this problem
% would easily be solved if mutt had some sort of scripting.  Does it have
% this capability in 1.3.x?

In this case, scripting isn't necessary; if you want to delete and insist
on ask-yes, then just feed in an extra y in your macro.

Scripting has been discussed much but ain't here yet; perhaps in 1.5 but
probably in 1.7 (figuring that there will be a 1.6 before a 2.0).

Nicolas has posted a tag-conditional patch that will let you do a tagged
operation only when there are tagged messages, which looks to be quite
useful in macros.  I haven't tried it yet, but it will go into my 1.3.24*
build cocktail as soon as I get a chance to put that all together (hi,
Cedric!).


% 
% Paul


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




msg21031/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-04 Thread René Clerc

* Nicolas Rachinsky [EMAIL PROTECTED] [04-12-2001 19:27]:

| On Mon, Dec 03, 2001 at 07:24:00PM -0500, David T-G 
|[EMAIL PROTECTED] wrote:
|  Rene, since starting to use mutt I've never wished delete was set to
|  ask-yes, but I sure hated mark_old (though I want stuff marked old at
|  times) :-)
| 
| There is an patch which leaves messages marked old marked old
| (even if you unset mark_old).

Probably with filesize 0K?

Messages marked old stay marked old with me, I don't need no patch for
that ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

You have the capacity to learn from mistakes.  You'll learn a lot today.



msg21038/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-03 Thread Paul Brannan

On Sat, Dec 01, 2001 at 08:59:24AM +0100, Sven Guckes wrote:
 * Paul Brannan [EMAIL PROTECTED] [011130 15:42]:
  1) When I start mutt, I see this message:
   fcntl: No locks available (errno = 37)
 How can I make it go away?
 
 use the file locking that goes along with your system?!

Could you please point me to the documentation for specifying a
different form of file locking?  The mutt FAQ and mutt docs at mutt.org
do not appear to contain such information.

  2) When I go to the index, I see this message:
   /home/pbrannan/.mh_profile not found, mh format names disabled
 How can I make it go away?
 
 well - are you using mh folders?

I'm using IMAP to access my mail.  I do not know what format the IMAP
server uses to store its messages.

  3) When changing between mailboxes, I am constantly asked whether I
  want to purge deleted messages.  I can make this go away with set
  delete=no, but then when I press $ to expunge the messages, nothing
  happens.  What must I do to get rid of deleted messages when delete
  is set to no?
 
 delete=no means never delete anything.
 check your logic!
 
 you want delete=yes which means yes,
 delete those message and DONT ASK ME.

I don't want delete=yes, because I don't want my deleted messages to be
purged, except when I specifcally tell my mail client to purge messages
(that is, I do not want to change to a different mail folder, come back
the original folder, and discover that my deleted messages are gone).

Is it at all possible to purge messages when delete=no?  I tried
binding the keys such that pressing $ will temporarily set delete=yes,
but this seems to be rather tricky.

Thanks for your help!

Paul




Re: a bunch of newbie questions

2001-12-03 Thread René Clerc

* Paul Brannan [EMAIL PROTECTED] [03-12-2001 16:16]:

|  use the file locking that goes along with your system?!
| 
| Could you please point me to the documentation for specifying a
| different form of file locking?  The mutt FAQ and mutt docs at mutt.org
| do not appear to contain such information.

You should check out ./configure --help; it shows all compile time
options for specifying which locking mechanism to use!

| Is it at all possible to purge messages when delete=no?  I tried
| binding the keys such that pressing $ will temporarily set delete=yes,
| but this seems to be rather tricky.

Doesn't something like:

macro index $ enter-commandset delete=yesentersync-mailboxenter-commandset 
delete=noenter

work?

Sorry for the long line and not testing this ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

Q: What is the burning question on the mind of every dyslexic
existentialist?
A: Is there a dog?



msg20970/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-03 Thread Brendan Cully

On Monday, 03 December 2001 at 10:14, Paul Brannan wrote:
 On Sat, Dec 01, 2001 at 08:59:24AM +0100, Sven Guckes wrote:
  * Paul Brannan [EMAIL PROTECTED] [011130 15:42]:
   1) When I start mutt, I see this message:
fcntl: No locks available (errno = 37)
  How can I make it go away?
  
  use the file locking that goes along with your system?!
 
 Could you please point me to the documentation for specifying a
 different form of file locking?  The mutt FAQ and mutt docs at mutt.org
 do not appear to contain such information.
 
   2) When I go to the index, I see this message:
/home/pbrannan/.mh_profile not found, mh format names disabled
  How can I make it go away?
  
  well - are you using mh folders?
 
 I'm using IMAP to access my mail.  I do not know what format the IMAP
 server uses to store its messages.

you are talking to a chatty UW-IMAP server. That very server was the
inspiration for the $imap_servernoise variable, which you may wish to unset.
That will probably solve both 1 and 2.

 I don't want delete=yes, because I don't want my deleted messages to be
 purged, except when I specifcally tell my mail client to purge messages
 (that is, I do not want to change to a different mail folder, come back
 the original folder, and discover that my deleted messages are gone).
 
 Is it at all possible to purge messages when delete=no?  I tried
 binding the keys such that pressing $ will temporarily set delete=yes,
 but this seems to be rather tricky.

This is your best bet. what about something like:
macro index $ ':set delete=yesentersync-mailbox:set delete=noenter'

-b



Re: a bunch of newbie questions

2001-12-03 Thread Paul Brannan

On Mon, Dec 03, 2001 at 10:31:53AM -0500, Brendan Cully wrote:
   * Paul Brannan [EMAIL PROTECTED] [011130 15:42]:
1) When I start mutt, I see this message:
 fcntl: No locks available (errno = 37)
   How can I make it go away?
2) When I go to the index, I see this message:
 /home/pbrannan/.mh_profile not found, mh format names disabled

 you are talking to a chatty UW-IMAP server. That very server was the
 inspiration for the $imap_servernoise variable, which you may wish to unset.
 That will probably solve both 1 and 2.

This solves #2, but not #1 :(

 This is your best bet. what about something like:
 macro index $ ':set delete=yesentersync-mailbox:set delete=noenter'

That works really well.  However, this does not:

  macro index $ ':set delete=ask-yesentersync-mailbox:set delete=noenter'

All I get is a beep, and delete remains set to ask-yes.

Paul




Re: a bunch of newbie questions

2001-12-03 Thread David T-G

Paul --

...and then Paul Brannan said...
% On Mon, Dec 03, 2001 at 10:31:53AM -0500, Brendan Cully wrote:
%* Paul Brannan [EMAIL PROTECTED] [011130 15:42]:
% 1) When I start mutt, I see this message:
%  fcntl: No locks available (errno = 37)
%How can I make it go away?
...
%  inspiration for the $imap_servernoise variable, which you may wish to unset.
%  That will probably solve both 1 and 2.
% 
% This solves #2, but not #1 :(

Interesting.  What does

  mutt -v

show you?  Do you have dotlocking available?  It looks to me as though
mutt can only use fcntl locks but they are not supported on your system;
mutt is usually pretty good at figuring out how it should lock.


% 
%  This is your best bet. what about something like:
%  macro index $ ':set delete=yesentersync-mailbox:set delete=noenter'
% 
% That works really well.  However, this does not:
% 
%   macro index $ ':set delete=ask-yesentersync-mailbox:set delete=noenter'
% 
% All I get is a beep, and delete remains set to ask-yes.

That makes sense.  Your macro sets it to ask-yes and then tries to sync
the mailbox, which will generate a y/n prompt.  Instead of passing mutt
an expected value, however, you try to next give it a colon, which will
of course cause an error.

If you want the messages to be deleted when you sync, set it to yes in
your macro; if not, leave it at no and forget about the macro.  If you
want to be asked then just set it to ask-no and forget about the macro,
and when you usually don't want to delete (like when you change folders,
IIRC) just hit return twice (once when you find and choose your mailbox
and once to take the default no).


% 
% Paul


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




msg20984/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-03 Thread René Clerc

* Paul Brannan [EMAIL PROTECTED] [03-12-2001 21:36]:

|  If you want the messages to be deleted when you sync, set it to yes in
|  your macro; if not, leave it at no and forget about the macro.  If you
|  want to be asked then just set it to ask-no and forget about the macro,
|  and when you usually don't want to delete (like when you change folders,
|  IIRC) just hit return twice (once when you find and choose your mailbox
|  and once to take the default no).
| 
| That seems like such a hack, and is awfully inconvenient.  How do most
| other mutt users handle deleting and purging messages?  Does anyone else
| actually use delete=no?

No I don't: I have it set to ask-yes, because I don't mind hittin
another enter when it comes to deletion of mails. You mentioned you
just started to use mutt: I'm using it for a few years now (haven't
put a mark on the calendar ;), and can assure you: there will be a
time you wish you would've been prompted for the deletion!

But, of course, these are just my 2c.

-- 
René Clerc  - ([EMAIL PROTECTED])

If it's natural to kill why do men have to go into training to learn how?
-Joan Baez



msg20991/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-03 Thread Thorsten Haude

Hi,

* Paul Brannan [EMAIL PROTECTED] [01-12-03 21:34]:
 If you want the messages to be deleted when you sync, set it to yes in
 your macro; if not, leave it at no and forget about the macro.  If you
 want to be asked then just set it to ask-no and forget about the macro,
 and when you usually don't want to delete (like when you change folders,
 IIRC) just hit return twice (once when you find and choose your mailbox
 and once to take the default no).
That seems like such a hack, and is awfully inconvenient.  How do most
other mutt users handle deleting and purging messages?  Does anyone else
actually use delete=no?
I can't really see your problem, since most of the time I want to
delete mails I mark as 'to delete'. Anyway, I use a trashbox:
- - - Schnipp - - -
#   Trashcan
folder-hook . 'macro index d save-message=admin/trash\n Move mail to trashcan'
folder-hook . 'macro pager d save-message=admin/trash\n Move mail to trashcan'
folder-hook . 'macro index \cd tag-threadsave-message=admin/trash\n Move thread 
to trashcan'
folder-hook trash 'bind index d delete-message'
folder-hook trash 'bind index \cd delete-thread'
- - - Schnapp - - -

Thorsten
-- 
Denn ein Tyrann ist nicht, wenn die Masse nicht geduldig stillhält.
- Kurt Tucholsky



Re: a bunch of newbie questions

2001-12-03 Thread David T-G

Paul --

...and then Paul Brannan said...
% On Mon, Dec 03, 2001 at 02:59:31PM -0500, David T-G wrote:
%  ...and then Paul Brannan said...
%  
%mutt -v
%  
%  show you?  Do you have dotlocking available?  It looks to me as though
...
% 
% The relevant portion of mutt -v indicates:
%   -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK

Well, that makes dotlocking look good...


% 
% I tried using mutt_dotlock on a test file in my home directory (as

Right.


% suggested in the other thread), and it successfully created
% testfile.lock; mutt_dotlock -u testfile successfully removed the file as
% well.

And this was from your NFS client box?  Interesting.  I wonder why mutt
doesn't pick it up, since ...


% 
% I've never used fcntl before, but a simple test application yields:
%   fcntl: No locks available

... it looks like the problem is fcntl locking failing.


% 
% The program looks like this:
...
% This same program works in /tmp (which is non-nfs; the first run the
% program produces no output, and the second run the call to open()
% fails).

Sounds right.


% 
% Perhaps this is a problem of the client being able to lock over nfs but
% the server not?

I don't know *that* much about locking, so I don't know what works where
and what doesn't.  It sounds like the case, though.


% 
%  If you want the messages to be deleted when you sync, set it to yes in
%  your macro; if not, leave it at no and forget about the macro.  If you
%  want to be asked then just set it to ask-no and forget about the macro,
%  and when you usually don't want to delete (like when you change folders,
%  IIRC) just hit return twice (once when you find and choose your mailbox
%  and once to take the default no).
% 
% That seems like such a hack, and is awfully inconvenient.  How do most

That's funny...  Your going back and forth with $delete sounds like a
real hack to me :-)


% other mutt users handle deleting and purging messages?  Does anyone else
% actually use delete=no?

I can't answer for anyone else, but I have delete=yes but have rebound q
to sync because I got tired of accidentally quitting (and marking old and
all of that) when I just meant to sync.  I rarely change folders but
instead have umpteen copies of mutt running in screen windows -- many of
which are started directly by screen's rc file, which means that when I
exit mutt the window dies, too, and I have to restart and retitle it and
so on.

Rene, since starting to use mutt I've never wished delete was set to
ask-yes, but I sure hated mark_old (though I want stuff marked old at
times) :-)


% 
% Paul


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




msg20996/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-01 Thread Sven Guckes

* Paul Brannan [EMAIL PROTECTED] [011130 15:42]:
 1) When I start mutt, I see this message:
  fcntl: No locks available (errno = 37)
How can I make it go away?

use the file locking that goes along with your system?!

 2) When I go to the index, I see this message:
  /home/pbrannan/.mh_profile not found, mh format names disabled
How can I make it go away?

well - are you using mh folders?

 3) When changing between mailboxes, I am constantly asked whether I
 want to purge deleted messages.  I can make this go away with set
 delete=no, but then when I press $ to expunge the messages, nothing
 happens.  What must I do to get rid of deleted messages when delete
 is set to no?

delete=no means never delete anything.
check your logic!

you want delete=yes which means yes,
delete those message and DONT ASK ME.

 4) When I go to the browser, the selected mailbox is
 always the topmost one (INBOX).  How can I make the
 selected mailbox be the current mailbox?

not possible - unless the current mailbox happens to
be the first in the current ordering of mailboxes.

 5) When displaying messages from the ruby-talk mailing list, the
subjects are always of the form:
  Re: [ruby-talk:12345] This is a subject
This makes the threaded view interesting, to say the least, whenever
someone's mail client doesn't set In-Reply-To:.  Can I change how
these messages are sorted?

no - the problem is the missing reference
which is a problem with the $@#$ mailers.
now, you *might* come up with a filter rule
to use this info to fix the references
but this won't help anyone else, will it?
i suggest to hack the host of the
offender and delete his mailer.

 6) When I try to postpone a message, I get:
  Couldn't lock /users/pbrannan/postponed.
 My home directory is on NFS, so this somewhat makes sense.
 But how can I postpone messages in this case?

fix the locking, pal!

 7) Can you point me toward any tips/tricks for using vim with mutt?
I've already got:
  au BufEnter /tmp/mutt* set ai et list tw=72
  au BufEnter /tmp/mutt* set listchars=tab:,trail:.
  au BufEnter /tmp/mutt* set comments=nb:
(stolen shamelessly from someone else's .vimrc).
Is there anything else I should add?

you can group this stuff and have it used with
all files for which filetype mail applies..
easier to type, too. ;-)

Sven

-- 
Sven [EMAIL PROTECTED]| MUTT - a UNIX mailer with support for
MUTT WOOF!,,  Usenet: comp.mail.mutt | color+threading, IMAP,MIME+PGP+POP
MUTT   (__/'. http://www.mutt.org/   | Tips on using the editor VIM:
MUTT   /| |\  http://www.math.fu-berlin.de/~guckes/mutt/and.vim.html



a bunch of newbie questions

2001-11-30 Thread Paul Brannan

1) When I start mutt, I see this message:
 fcntl: No locks available (errno = 37)
   How can I make it go away?

2) When I go to the index, I see this message:
 /home/pbrannan/.mh_profile not found, mh format names disabled
   How can I make it go away?

3) When changing between mailboxes, I am constantly asked whether I want
   to purge deleted messages.  I can make this go away with set
   delete=no, but then when I press $ to expunge the messages, nothing
   happens.  What must I do to get rid of deleted messages when delete
   is set to no?

4) When I go to the browser, the selected mailbox is always the topmost
   one (INBOX).  How can I make the selected mailbox be the current
   mailbox?

5) When displaying messages from the ruby-talk mailing list, the
   subjects are always of the form:
 Re: [ruby-talk:12345] This is a subject
   This makes the threaded view interesting, to say the least, whenever
   someone's mail client doesn't set In-Reply-To:.  Can I change how
   these messages are sorted?

6) When I try to postpone a message, I get:
 Couldn't lock /users/pbrannan/postponed.
   My home directory is on NFS, so this somewhat makes sense.  But how
   can I postpone messages in this case?

7) Can you point me toward any tips/tricks for using vim with mutt?
   I've already got:
 au BufEnter /tmp/mutt* set ai et list tw=72
 au BufEnter /tmp/mutt* set listchars=tab:,trail:.
 au BufEnter /tmp/mutt* set comments=nb:
   (stolen shamelessly from someone else's .vimrc).  Is there anything
   else I should add?

Thanks,

Paul Brannan
[EMAIL PROTECTED]




newbie questions

2001-06-12 Thread Troy Heber

I have a couple questions that I just can't seem to find answers to in
the manual, FAQ or on the web. 

How can you move messages? I would like to tag messages from my inbox
and Move them to another mailbox in a single step. Any options?

How can you forward a message and retain the attachment? If I get a
message with say a tgz attachment is there a key press that will let me
forward the message without having to save the attachment to a file,
then forward the message, then reattach the attachment? 

Thanks

Troy

-- 
___
 _/   Troy Heber 
_/Software Engineer 
   _/_/_/_/_/_/   Technical Consulting Lab 
  _/  _/_/  _/Hewlett-Packard Company 
 _/  _/_/_/_/  
  _/  Email: [EMAIL PROTECTED] 
 _/   Phone: 970.898.3240  
  i n v e n t
___





Re: newbie questions

2001-06-12 Thread Suresh Ramasubramanian


Troy Heber [mutt-users] 12/06/01 08:24 -0600: 
 
 How can you move messages? I would like to tag messages from my inbox
 and Move them to another mailbox in a single step. Any options?
 
 Tag whatever messages you want using T pattern and then ; s (to apply the
 save to all tagged messages) and then specify the folder.

 How can you forward a message and retain the attachment? If I get a
 message with say a tgz attachment is there a key press that will let me

set mime_forward=ask-yes# use message/rfc822 type to forward

 forward the message without having to save the attachment to a file,
 then forward the message, then reattach the attachment? 
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: Newbie questions

2000-10-12 Thread Perry The Cynic

On Fri, Oct 06, 2000 at 07:28:36AM +0300, Mikko Hänninen wrote:
 Perry The Cynic [EMAIL PROTECTED] wrote on Thu, 05 Oct 2000:
 [...] Is there a way to *not* have to type the initial
  "=" character? It works of course if I chdir to ~/mail before running
  mutt, but that's a wee bit lame.
 
 Well, you can make c into a macro, that will first invoke the
 change-folder function and then pre-type the = for you.
 
   macro index c change-folder=
 
 That way you don't have to type it. :-)  Of course, if you don't want it
 there for some reason sometimes, you have to then manually erase it.

Perfect. And obvious, after you pointed it out. :-)

Thank you all for your advice. This is pretty cool.
  -- perry
---
Perry The Cynic [EMAIL PROTECTED]
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---



Re: Newbie questions

2000-10-06 Thread Dan Boger

On Thu, Oct 05, 2000 at 04:06:21PM -0700, Myrddin wrote:
 On Thu, Oct 05, 2000 at 03:25:41PM -0700, Perry The Cynic wrote:
  Dear Mutt experts,
  
  I'm a new mutt user (moved over from pine for the threads :-), and after
  using the program for a few weeks (and reading the manual, twice)
  am now reaching the point where I know what I don't know. :-)
  
  How do I "commit" files marked for deletion? I realize they get removed
  when I change mailboxes/folders, but isn't there a command that means
  "discard all deleted messages in the current folder NOW"? (The pine
  command I'm thinking of is 'x', which is rather unfortunate. :-)
  Alternatively, is there any way to hide (not display) deleted messages?
 
 I too was a pine refugee.
 
 I put this in my .muttrc so that 'x' does what it does in pine:
 
bind index x  sync-mailbox

the default binding for the same command is '$'

:)

Dan

 PGP signature


Re: Newbie questions

2000-10-06 Thread Michael Tatge

Perry The Cynic muttered:
 How do I "commit" files marked for deletion?

Others told you about sync-mailbox.

 For that matter, is there any way I can type a prefix (say, "ord"
 for "orders") with some kind of auto-completion of folder names?

c=mutab completes to mutt in my case ;)
Hitting TAB always autocompletes when you have to type in something.

 is there a way to write a macro-with-argument, so I could turn this
 into the sequence (bound to, say, the "C" key) CordRETURN? [The
 point being, of course, that *after* I type in the argument and hit
 return, it continues to run the macro, in that case
 RETURNRETURN.]

None that I know of. :(


HTH,

Michael
-- 
That does not compute.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Re: Newbie questions

2000-10-06 Thread Michael Tatge

Perry The Cynic muttered:
 Alternatively, is there any way to hide (not display) deleted messages?

You could make that into a macro:
macro index d delete-messagelimit!~Denter

This disadvantage is that you'll have to limit to all messages first if
you want to undelete something.

HTH,

Michael
-- 
Some of my readers ask me what a "Serial Port" is.
The answer is: I don't know.
Is it some kind of wine you have with breakfast?

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Newbie questions

2000-10-05 Thread Perry The Cynic

Dear Mutt experts,

I'm a new mutt user (moved over from pine for the threads :-), and after
using the program for a few weeks (and reading the manual, twice)
am now reaching the point where I know what I don't know. :-)

How do I "commit" files marked for deletion? I realize they get removed
when I change mailboxes/folders, but isn't there a command that means
"discard all deleted messages in the current folder NOW"? (The pine
command I'm thinking of is 'x', which is rather unfortunate. :-)
Alternatively, is there any way to hide (not display) deleted messages?

My mail folders are in ~/mail (lowercase), so I use the startup command
set folder=~/mail
After that, I can refer to my folders as =foldername, which is dandy, but
means I have to type a leading "=" every time I change folders with the
:change-folder command. Is there a way to *not* have to type the initial
"=" character? It works of course if I chdir to ~/mail before running
mutt, but that's a wee bit lame.

For that matter, is there any way I can type a prefix (say, "ord"
for "orders") with some kind of auto-completion of folder names?
I've figured out cTAB/ordRETURNRETURN, but that's hardly
a savings in keystrokes, though it does work with arbitrary substrings. Is
there a way to write a macro-with-argument, so I could turn this into the
sequence (bound to, say, the "C" key) CordRETURN? [The point being, of
course, that *after* I type in the argument and hit return, it continues
to run the macro, in that case RETURNRETURN.]

Oh, and thanks a lot for mutt. It feels pretty good to an old UNIX horse
like me.
  -- perry
---
Perry The Cynic [EMAIL PROTECTED]
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---



Re: Newbie questions

2000-10-05 Thread Myrddin

On Thu, Oct 05, 2000 at 03:25:41PM -0700, Perry The Cynic wrote:
 Dear Mutt experts,
 
 I'm a new mutt user (moved over from pine for the threads :-), and after
 using the program for a few weeks (and reading the manual, twice)
 am now reaching the point where I know what I don't know. :-)
 
 How do I "commit" files marked for deletion? I realize they get removed
 when I change mailboxes/folders, but isn't there a command that means
 "discard all deleted messages in the current folder NOW"? (The pine
 command I'm thinking of is 'x', which is rather unfortunate. :-)
 Alternatively, is there any way to hide (not display) deleted messages?

I too was a pine refugee.

I put this in my .muttrc so that 'x' does what it does in pine:

   bind index x  sync-mailbox

- Myrddin
--
 ICQ: 22404528   Why Vegan?   http://www.firstmagic.com/vegan
--



Fwd: Some easy newbie questions

2000-01-01 Thread Qwerty Asdfgh

I'm in the process of evaluating a MUA for one of my company's departments
to use, and so far it looks like mutt's going to be the one. This
department is going to require multiple employees to be logged into the
same mailbox simultaneously, and so far, looks like mutt's the best one at
doing that.

However, there are some other things that I'd like to know whether or not
it's possible to do these in mutt, and if so, how:

1. Forward a message with full headers (so far, the f command doesn't
include the full headers.)

2. Do a reply-to-all (tag a message pattern, then reply to each
from: address with a single message), but put the recipients in Bcc:
instead of putting them in the To: header. We don't want every recipient
of a message to have the email addresses of everyone else who we're
responding to (and anyway, 50-100 addresses in the To: header is sloppy as
hell).

3. Display the number of tagged messages (or other way of selecting all
messages in a mailbox with a pattern match).

Thanks!

-C

- End forwarded message -

-- 



Some easy newbie questions

2000-01-01 Thread Qwerty Asdfgh

I'm in the process of evaluating a MUA for one of my company's departments
to use, and so far it looks like mutt's going to be the one. This
department is going to require multiple employees to be logged into the
same mailbox simultaneously, and so far, looks like mutt's the best one at
doing that.

However, there are some other things that I'd like to know whether or not
it's possible to do these in mutt, and if so, how:

1. Forward a message with full headers (so far, the f command doesn't
include the full headers.)

2. Do a reply-to-all (tag a message pattern, then reply to each
from: address with a single message), but put the recipients in Bcc:
instead of putting them in the To: header. We don't want every recipient
of a message to have the email addresses of everyone else who we're
responding to (and anyway, 50-100 addresses in the To: header is sloppy as
hell).

3. Display the number of tagged messages (or other way of selecting all
messages in a mailbox with a pattern match).

Thanks!

-C



Re: Some easy newbie questions

2000-01-01 Thread Mikko Hänninen

Qwerty Asdfgh [EMAIL PROTECTED] wrote on Sat, 01 Jan 2000:
 1. Forward a message with full headers (so far, the f command doesn't
 include the full headers.)

If you use the "regular" forward, with the message in the body text, you
want to "set forward_weed=no".  Alternatively, if you want the forwarded
message to appear as an attachement, you should use mime_forward
("set mime_forward=yes" or possibly ask-yes), in that case full headers
will be included.

 2. Do a reply-to-all (tag a message pattern, then reply to each
 from: address with a single message), but put the recipients in Bcc:
 instead of putting them in the To: header. We don't want every recipient
 of a message to have the email addresses of everyone else who we're
 responding to (and anyway, 50-100 addresses in the To: header is sloppy as
 hell).

This isn't supported, and I don't see why it should be really?  Bcc: is
normally used only for special cases, at least for me.  But anyway, if I
needed to do the above, I'd choose group reply, and then edit the
message with headers, and change To: into Bcc: in the editor.

If you want to automate this process, it's possible too, though not
exactly simple.  First, create a script that takes an input file and
changes the To: and Cc: headers into a Bcc: one (possibly only if the
Bcc: header is empty, but that's up to you), then runs your editor on
it.  Then create a macro in Mutt that changes your $editor setting into
executing that script instead of your editor, then invokes the
group-reply function, and finally resets the $editor value.

This way you have your specialized macro which acts as
group-reply-as-bcc and still retain the old group-reply functionality
too.

 3. Display the number of tagged messages (or other way of selecting all
 messages in a mailbox with a pattern match).

I don't know about you, but I already see (eg.) "3 tag" in the status
line in the message index, when I have any tagged messages.  I use this
(should be one long line):

set status_format="Mutt: %f %r  [%?M?%M/?%m msgs, %?n?%n new, ?%?u?%u unread, ?%?d?%d 
del, ?%?F?%F flag, ?%?t?%t tag ?%l]  (%s)% [%?p?%p post, ?%b incoming]"

And yes, tagging is the method you want, for selecting multiple messages
with pattern matching...


Hope these helped,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"You don't grow by age, you grow by mind"  -- Lena Carin Molander



newbie questions

1999-08-13 Thread nall



hi there.
i have a few questions concerning mutt.

1. can i change a setting such that mutt won't prompt me to re-encode the message
 before sending it?
2. is there a way to make {server.name.com}INBOX an alias so when i want to switch
 back to my inbox from another folder i don't have to type in the whole server
 name, etc?.


thanks.
jonathan.


-- 
jonathan n. nall
[EMAIL PROTECTED]
650-853-6508
DTN: 543-6508
KF6UKP



Re: newbie questions

1999-08-13 Thread David Thorburn-Gundlach

Hi!

...and then nall said...
% 
% hi there.
% i have a few questions concerning mutt.
% 
% 1. can i change a setting such that mutt won't prompt me to re-encode the message
%  before sending it?

I'm not quite sure what you mean here, so I won't risk confusion by
trying to answer...


% 2. is there a way to make {server.name.com}INBOX an alias so when i want to switch
%  back to my inbox from another folder i don't have to type in the whole server
%  name, etc?.

There are a number of mailbox aliases, defined in section 4.7,
available within mutt.  In particular, your default spool file is '!',
and I suspect that that's the case with IMAP as well.  Thus, to chage,
you simply use ! instead of the full name.  Give it a shot.


% 
% thanks.
% jonathan.

HTH!  Meanwhile, could you try to cut your line length back to 72
characters or so?


:-D
-- 
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
"Why2k?  Well, I didn't think at the time that I could charge any more!"
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


newbie questions

1999-08-12 Thread nall


hi there.
i have a few questions concerning mutt.

1. can i change a setting such that mutt won't prompt me to re-encode the message
 before sending it?
2. is there a way to make {server.name.com}INBOX an alias so when i want to switch
 back to my inbox from another folder i don't have to type in the whole server
 name, etc?.


thanks.
jonathan.


-- 
jonathan n. nall
[EMAIL PROTECTED]
650-853-6508
DTN: 543-6508
KF6UKP




Re: Some Mutt newbie questions

1999-06-19 Thread Anonymous

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=45Z9DzgjV8m4Oswq; micalg=pgp-md5;protocol="application/pgp-signature"




Re: Some Mutt newbie questions

1999-06-19 Thread Anonymous

On Fri, Jun 18, 1999 at 08:37:39PM +, Frederic L. W. Meunier wrote:
 Hi. I have some questions about Mutt (0.96.3i compiled with Slang 1.3.7).
 1- I'm starting Mutt from an rxvt with root using rxvt -e su user, cd ~ and starting 
mutt.

maybe it is necessary to use su -l user

 In my .muttrc I have set mbox="/var/mail/$USER"
 but Mutt save the messages to /var/mail/root. And if I don't chmod /var/mail 777 I 
get an
 error 13. /var/mail have chown root.mail and chmod 777.

Of course, as far as /var/mail/root is concerned. But chmod 777 should really
be avoided. Login completely as the user and the mentioned problems will
have been vanished.


 2- I need to change the From: header when sending messages. When I press "m" I just 
get
 the To: header.


.muttrc: 

my_hdr From: Mutt User user@host
or what else you want to set.


 3- What's the cmd to expunge the messages like using Pine?

I don't know pine.
If you want to have deleted them: set delete=yes
If you want to have them moved to a different mailbox: set move=yes


 4- Mutt has a composer built-in or I need to use another editor (I use Jed)?

Yes it has, but you can set editor=whatever you want.

 5- There's a way to connect to the port 25 like in Pine when you send mail and not 
user
 /usr/lib/sendmail directly?

The latter I don't know.

Bye, Juergen.




-- 
*
* Juergen Leising, E-Mail: [EMAIL PROTECTED] *
*   http://www.stud.uni-bayreuth.de/~a0037/ *
*



Some Mutt newbie questions

1999-06-18 Thread Anonymous

Hi. I have some questions about Mutt (0.96.3i compiled with Slang 1.3.7).
1- I'm starting Mutt from an rxvt with root using rxvt -e su user, cd ~ and starting 
mutt.
In my .muttrc I have set mbox="/var/mail/$USER"
but Mutt save the messages to /var/mail/root. And if I don't chmod /var/mail 777 I get 
an
error 13. /var/mail have chown root.mail and chmod 777.
2- I need to change the From: header when sending messages. When I press "m" I just get
the To: header.
3- What's the cmd to expunge the messages like using Pine?
4- Mutt has a composer built-in or I need to use another editor (I use Jed)?
5- There's a way to connect to the port 25 like in Pine when you send mail and not user
/usr/lib/sendmail directly?
Sorry if these questions are easy for you, but i'm lost.



Essa mensagem foi enviada pelo Webmail Urbi Network
http://www.urbi.com.br/