Re: creating folders in mutt

2001-04-10 Thread Christian R Molls

* Sam Rosenfeld [EMAIL PROTECTED] [010410 21:57]:

 I don't see any obvious way of creating folders, and then filtering
 the index so that messages will be easily shipped to the appropriate
 folder.  Where I can find the way?

Please check out procmail from http://www.procmail.org/

-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: SCO Installation

2001-03-14 Thread Christian R Molls

* Dave Hodgson [EMAIL PROTECTED] [010314 21:31]:

 Thanks in advance for any assistance you can provide.

 David A. Hodgson
 Perry's Ice Cream Company, Inc.
 One Ice Cream Plaza

Kiddin'?

 Akron, NY 14001-0328

-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Pager binding to advance to next-new in thread

2001-03-07 Thread Christian R Molls

Hi,

is it possible to make the tab key advance to the next-new message
in the current thread, if any, and return to the index if the last new
message in the current thread has been reached?

-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: Replying to From: address

2001-03-01 Thread Christian R Molls

* Dirk Laurie [EMAIL PROTECTED] [010301 09:43]:

 Very properly, mutt replies to the "Reply-To" address if one is set.
 I belong to some mailing lists where "Reply-To" is set to the list.
 This is OK if I wish to send to the sender and the list ("g") or to
 the list only ("r") but not if I wish to reply to the sender only.
 E.g. "Listen old chap, I don't want to be nasty but this sort of
 drivel really makes you look a fool" and "Why don't the pair of us get
 together at Luciano's tonight?" fall into that category.

 Is there a mutt function that lest me reply to the "From" address even
 when "Reply-To" is provided?

Make sure $reply_to is set to ask-yes in your .muttrc.

, [ mutt manual ]
| 6.3.171.  reply_to
|
| Type: quadoption
| Default: ask-yes
|
| If set, Mutt will ask you if you want to use the address
| listed in the Reply-To: header field when replying to a
| message.  If you answer no, it will use the address in the
| From: header field instead.  This option is useful for
| reading a mailing list that sets the Reply-To: header field
| to the list address and you want to send a private message
| to the author of a message.
`

You might also want to take a look at mutts mailing list features
(e.g.  the lists and subscribe commands).

chris
-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: Fix broken threading

2001-03-01 Thread Christian R Molls

* Jan Johansson [EMAIL PROTECTED] [010301 14:47]:

 On Thu, Mar 01, 2001 at 12:28:56AM +0100, Christian R Molls wrote:

 I usually read my mail sorted by threads. Once in a while (on some
 lists the while is pretty short), threading breaks because some
 moron hit the "Reply"-Button not to reply but to compose a message
 completely unrelated to the one he is replying to. His messages and
 the replies to it subsequently clutter the original thread.

 As I swa no replies to you inquire I have one loosy suggestion that
 works but is a PITA.

 Use the E key to edit the raw message adn delete the lines.

Actually, I got a private response from Ulf Erikson [0]. He made a
pretty nifty macro for that matter. It uses formail as editor for the
edit command.

I added "change-folder^Enter", which re-reads the folder after the
message has been edited. You'll need Byrial Jensen's current shortcut
patch for that to work. It can be found on his homepage [1].  Although
written for mutt 1.2, it works for later versions without problems.

Regards,
chris

macro   index   ,U "enter-commandset editor=\
'formail -R References Old-References -R In-Reply-To Old-In-Reply-To\
  %s  /tmp/mutt-fix.$$;mv /tmp/mutt-fix.$$ %s; sleep 1; touch %s'enter\
 editenter-commandset editor=vimenterchange-folder^Enter" \
  "remove current message's \"References:\" header"


[0] [EMAIL PROTECTED]
[1] http://home.worldonline.dk/~byrial/mutt/patches/

-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: How to read mutt-users-digest

2001-03-01 Thread Christian R Molls

* [EMAIL PROTECTED] [EMAIL PROTECTED] [010301 21:44]:

 I have a question about your formail suggestion.  The individual
 messages that make up the digest only have 2 headers: "From" and
 "Subject".  So when I run formail, the resulting messages don't have
 anything unique that procmail can use to identify them as being from
 mutt-users.  Other list's digests typically do one of two things:
 
 * Include other headers in the individual messages, such as "To" or
   "Cc", or
 
 * Prepend something to the subject, like "[wm-users] Original subject
   here".
 
 How do you handle this when using formail to split the mutt-users
 digest?

The trick is to run formail from your .procmailrc. I'll post the
example from the procmailex manpage:

:0:
* ^Subject:.*surfing.*Digest
| formail +1 -ds surfing

All messages containing "surfing" and "Digest" in the Subject: header
(that condition should match the surfing list digests) are piped
to formail which splits them, skipping what it considers the first
message. The output, ie the separate messages, are appended to folder
"surfing". So all the messages from one digest go into one mailbox. No
more filtering is necessary.

For mutt-users you would use something like:

:0:
* ^Subject:.*mutt-users-digest
| formail +1 -ds mutt-users

chris
-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: Changing Index Colors

2001-03-01 Thread Christian R Molls

* Murray Maxwell Dancey [EMAIL PROTECTED] [010301 23:51]:

 How can I make new messages to me one color, and new messages in
 general another color?  I also want old messages to me to be yet
 another color.

# messages to me (requires $alternates)
color index cyan default ~p

# new messages
color index red default ~N

# old messages to me
color index green default "~p ~O"

chris
-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: hilite new msgs to me?

2001-02-28 Thread Christian R Molls

* Zach Thompson [EMAIL PROTECTED] [010228 21:45]:

 Does anyone know of a way to hilite rows in the message index that
 correspond to messages that are addressed to me, and are new?  In
 other words, I'm always looking for "N +" in %Z (the message status
 flags), and I'd like to make that visual search easier.  I don't
 filter my email, and I occasionally miss things buried in mailing
 list messages...

color index cyan default "~t zach@mthoodmedia\\.com ~N"

chris



Re: hilite new msgs to me?

2001-02-28 Thread Christian R Molls

* Christian R Molls [EMAIL PROTECTED] [010228 22:04]:

...talking to myself...

 * Zach Thompson [EMAIL PROTECTED] [010228 21:45]:

  Does anyone know of a way to hilite rows in the message index that
  correspond to messages that are addressed to me, and are new?  In
  other words, I'm always looking for "N +" in %Z (the message status
  flags), and I'd like to make that visual search easier.  I don't
  filter my email, and I occasionally miss things buried in mailing
  list messages...

 color index cyan default "~t zach@mthoodmedia\\.com ~N"


Better still: tell mutt what your e-mail addresses are:

  set alternates="(zach@mthoodmedia\\.com)|(zach@home\\.com)"

Then use

  color index cyan default "(~p | ~P) ~N"

to highlight new messages to and from you.

chris



Fix broken threading

2001-02-28 Thread Christian R Molls


I usually read my mail sorted by threads. Once in a while (on some lists
the while is pretty short), threading breaks because some moron hit
the "Reply"-Button not to reply but to compose a message completely
unrelated to the one he is replying to. His messages and the replies to
it subsequently clutter the original thread.

Example given below. "Considering Debian" is completely unrelated to the
thread "Communicator-after-Mozilla", but appears as part of the thread.

I know that I have read about this matter before, but had no luck
searching the archives: what possibilities are there to fix that
issue? Im thinking of a macro/script combination called from withing
mutt that deletes the misleading "In-Reply-To:" and "Reference" headers
in the mbox file that holds the thread, and makes mutt re-read the
folder, now with two separate threads.  Anyone done that before?

chris

, [ ascii art - plz forgive me ]
| Communicator-after-Mozilla
| I=
|I=
|   I=Considering Debian
|  I=
| I=
|I=
| I=
|  I=
|   I=
|        I=
|I=
|   I=
`

-- 
christian r. mollsthe rain descended,
[EMAIL PROTECTED]   and the floods came



Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Christian R Molls

* Johannes Zellner [EMAIL PROTECTED] [000731 11:50]:

 how can I let read some special mail configs (e.g. set tw=72) when edit
 a email/news messages?

 autocmd FileType mail set tw=72 nocin ai expandtab
 (this is what I have)

au BufNewFile,BufRead /tmp/mutt* source ~/.vim/mutt_vimrc
(this is what I have)

The advantage of this solution is that it also works on messages which
have been postponed and are recalled (via the "R" command). My vim 5.4
fails to properly detect the syntax in those cases, and Johannes'
autocmd would not be executed.

Which leads to the question: why does syntax detection work on all
mails except that have been postponed and are recalled?

-- 
christian molls
student of laws
univ of cologne



Re: Loading mail setup at editor (vim) start

2000-07-31 Thread Christian R Molls

* Suresh Ramasubramanian [EMAIL PROTECTED] [000731 13:20]:

 Which leads to the question: why does syntax detection work on all
 mails except that have been postponed and are recalled?

 Mutt uses a totally different naming syntax (apparently a random
 string - not mutt-hostname-foo) for postponed or recalled messages.
 So that does not match the regexp being checked for.

Citing the vim manual:

 The type of highlighting will be selected using the file name
 extension, and sometimes using the first line of the file.

So it should make no difference if recalled postponed messages are
named "mutt-hostname-foo" or "mutt837rsd7348". Still, apparently it
does.

To work around the problem I put

au BufNewFile,BufRead /tmp/mutt* set syntax=mail

in my .vimrc.

-- 
christian molls
student of laws
univ of cologne



Re: expunge messages

2000-07-26 Thread Christian R Molls

* Dmitry S. Sivachenko [EMAIL PROTECTED] [000726 19:59]:

 Is it possible to delete messages marked for deletion (with 'D')
 without leaving mutt?

sync-mailbox, by default bound to the "$" key.

-- 
christian molls
student of laws
univ of cologne



Re: Digression: mutt and mixmaster

2000-07-13 Thread Christian R Molls

* Howard Arons [EMAIL PROTECTED] [000713 20:48]:

 Er, where in Mutt's documentation is there a reference to this
 "--with-mixmaster option"? I've read the INSTALL or CONFIGURE files,
 and I don't find it. What other config options have I missed?

Try ./configure --help

Christian
-- 
christian molls
student of laws
univ of cologne



Printing with only some headers

2000-03-20 Thread Christian R Molls

Hi,

how can I make mutt print only some (ie important) header lines?

Right now I use: 

set print_command='enscript -2 -r -G -i3'

which results in all headers being printed. So I piped the mail through
sed/formail before passing it to enscript, and that worked, but I wonder
if there is a nicer way to do it? Maybe with a mailcap-print setting?

Chris
-- 
christian molls
student of laws
univ of cologne



mutt and grepmail

2000-03-16 Thread Christian R Molls

Hi,

has  anybody looked  into  using  grepmail from  within
mutt? I  was thinking  of some macro/script  that reads
parameters, queries  grepmail and presents  the results
in a temporarily created  mailbox afterwards? If nobody
tried, I will.

Regards,
Chris
-- 
christian molls
student of laws
univ of cologne



Searching multiple folders

2000-03-14 Thread Christian R Molls

Hi,

I am afraid this might be a FAQ, but all I could find was a detailed
description of how to do it with pine, so here is my question:

How can you search for mails in different folders (eg search through
all the mailboxes you have in ~/Mail/)?

Regards,
Chris
-- 
christian molls
student of laws
univ of cologne



Re: alias question

2000-03-11 Thread Christian R Molls

* Shao Zhang [EMAIL PROTECTED] [000311 14:21]:

 Is it possbile in mutt, to create an alias, such that some
 addresses are displayed on the To: field, and some will be
 displayed on the Cc: filed, and other will be displayed on the
 Bcc: field?

I don't think you can do it with an alias but a kind of template mail
should do the trick:

- Create a mail containing the to, cc, and bcc lines you want. Leave
  the body empty and postpone it.

- To send such a prepared message, change to +postponed and choose
  "resend-message", usually bound to Esc-e.

- If you don't want to fill your +postponed-mailbox with such
  templates, move them to +templates for example and resend them from
  there.

Hope this helps.

-- 
christian molls
student of laws
univ of cologne



Re: [jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-11 Thread Christian R Molls

* J McKitrick [EMAIL PROTECTED] [000311 18:00]:

 On my machine i use vim.

I have this line in my .vimrc, which sets textwidth only for mail
editing in mutt:

au BufNewFile,BufRead /tmp/mutt* set tw=70

-- 
christian molls
student of laws
univ of cologne



Strange header fields

2000-03-10 Thread Christian R Molls

Hi everybody,

I am using GMX (a German freemail service) to collect e-mail from
various accounts. Mails that have been collected with GMX have the
following header lines (the example is a mail to this list):

From [EMAIL PROTECTED]  Fri Mar 10 23:43:44 2000
Return-Path: [EMAIL PROTECTED]

Who is responsible for the garbled "From " and "Return-Path:" headers
(as I don't think these are correct)? Is it GMX or is it my MTA? If
the latter, how can I educate my sendmail? Right now I am using
formail to do the job, but that is more cosmetics than a solution.

And at last: what is the purpose of a "From " header (it doesn't even
conform to RFC822, does it?)

Christian

-- 
christian molls
student of laws
univ of cologne



Re: pop support

1999-04-05 Thread Christian R Molls


On Tue, 30 Mar 1999, rfi from Rich Roth wrote:

 On Tue, Mar 30, 1999 at 11:48:02PM +0200, Christian R Molls wrote:
 
  does mutt's internal pop-support forward mail via sendmail or via port 25?
 
 I think you have a mis-understanding of POP - pop has nothing to do with
 forwarding or, for that matter, sending email - and Mutt, does use a MTA
 (like sendmail) to send mail.

Sure, I just wondered if the mail that is fetched from the pop host wanders
through sendmail or is directly put into some folder.

Thanks for your help.

-- 
Christian Molls  [EMAIL PROTECTED]
student of laws   [EMAIL PROTECTED]
univ of cologne



Re: Installing LBDB problem

1999-04-04 Thread Christian R Molls

On Sat, 03 Apr 1999, Rejo wrote:

 When trying to get LBDB installed it tells me mutt_dotlock is not on my
 system. When i do ./configure i get

 ERROR: mutt_dotlock is required to build this package.
 ERROR: You can get it from the mutt package's source code.

 I guess this should be fixed when compiling Mutt, but i'm not able to
 find that switch. What should i do?

I've got the same problem here when compiling lbdb on a SuSE 5.2
box. On an alpha machine running Redhat 5.1 it worked right out
of the box, ie without recompiling mutt, though.

-- 
Christian Molls 
student of laws  [EMAIL PROTECTED]
univ of cologne



Re: Features

1999-03-31 Thread Christian R Molls

On Wed, 31 Mar 1999, Roland Rosenfeld wrote:

 lbdb will never be incorporated into Mutt, because it is a separate
 package which can be used by Mutt using a clear interface. So it
 shouldn't be a problem to combine Mutt and lbdb. For new versions of
 lbdb see http://www.spinnaker.de/debian/#lbdb (you'll also find system 
 independent sources there).

I actually got it there and it works great (that was the reason for
my question). As a former pine user, I missed the Take-Address
feature in mutt, and lbdb is more than a replacement for it.

 sources. I didn't hear that someone except me is using this patch, so
 I fear that nobody needs it and wants it. But maybe this only means
 that there are no problems with this patch? In the latter case the
 patch should be incorporated now. This shouldn't be a big problem,

I'm using it (ok, not for too long, but with really large folders) and
it runs very smoothly. For those archiving their mailing lists, folder
compression is -at least- nice to have.

Putting some kind of "enable at your own risk" into the sources should
be enough to keep it away from the careful.

-- 
Christian Molls  [EMAIL PROTECTED]
student of laws   [EMAIL PROTECTED]
univ of cologne



Some novice questions

1999-03-28 Thread Christian R Molls


Dear list,

after two days of hacking muttrc, mutt is pretty much doing what
I wanted it to do. Yet I've got some questions left:

(1) How can I purge messages flagged as "D" without changing the folder / 
leaving mutt?

(2) How can I make mutt execute keystrokes on startup? Putting the 
"push" command into muttrc doesn't show any effect.

(3) I can't get German "Umlaute" in mutt on my Alpha box running RedHat 5.1.
On a SuSE 5.2 Intel box things work fine with the same config file. 
Can anybody point me into the right direction?

Thanks in advance and greeting from Cologne,
Chris