Even in the latest (beta) version, mutt displays the size of all messages
as "0" if they are in a Maildir.
I looked at the FAQ and it has a workaround that uses procmail to insert a
"Lines:" header, but I'm wondering if there's a less kludgy way to do
this.
Wouldn't it be relatively easy to patc
[Summary: Is there a simple mbox->Maildir conversion tool that preserves
the "Replied", "Seen", "Trashed" and old/new status of the messages?]
---
I've looked through 3 different mbox->Maildir conversion tools
(http://www.qmail.org/top.html#maildir), but none of them seem to address
the problem o
On Tue, 25 Dec 2001, Jeremy Blosser wrote:
> > [Summary: Is there a simple mbox->Maildir conversion tool that preserves
> > the "Replied", "Seen", "Trashed" and old/new status of the messages?]
> > ---
>
> Yes, use mutt itself.
>
> 1) mutt -f
> 2) tag all
> 3) tag copy/save to new maildir
Nice.
On Tue, 25 Dec 2001, Philip Mak wrote:
> Wouldn't it be relatively easy to patch mutt so that it displays bytes
> instead of lines? In a Maildir, it only takes a simple stat() operation to
> find the size of a message. I'm more used to seeing bytes anyway since I
> come fro
dir ~$x/Maildir < $x
chown -R $x ~$x/Maildir
chgrp -R mail ~$x/Maildir
done
#!/usr/bin/perl
# "Simple but Perfect" mbox to Maildir converter v0.1
# by Philip Mak <[EMAIL PROTECTED]>
# Usage: perfect_maildir ~/Maildir < mbox
# Simple - only converts one mbox (can use
I'm used to using pine's editor, which handles filling of paragraphs (even
if they start with "> " due to quoting) fairly nicely.
How can I achieve the same thing in vi? I'd like to be able to bind a key
such that when I press it, it automatically refills the current paragraph
smartly. Some autom
I did some digging around Google and came up with this:
[pmak@lina pmak]$ cat .muttvimrc
map {gq} # Ctrl+J rejustifies current paragraph
set formatoptions=tcroqv# see :help formatoptions
set comments=nb:> # rejustify quoted text correctly
set tw=75
I tinkered around a bit more and came up with this code for making Ctrl+J
(justify paragraph) work, even with quoted text.
It assumes that ^[> ]*$ is the paragraph separator, meaning that any line
which is blank or only contains '>' and ' ' separates a paragraph. Here is
the full code for making
On Wed, 26 Dec 2001, Charles Jie wrote:
> In my .mailcap:
>
> text/html; mozilla -remote openurl\(file:%s\)
>
> always fails because %s is expanded as ''
>
> The quotes are the problem because they mix up in the URL.
How about this?
text/html; mozilla -remote openurl\(file:`echo %
I had an interesting little idea on how to view HTML files on my desktop
web browser, even though I'm running mutt through SSH!
I put this in my .mailcap:
text/html; opera %s
"opera" is a simple perl script to rename the attachment to a value that
is guaranteed to be unique (_.html), invoke "sz
Regarding the "From [EMAIL PROTECTED] Wed Jun 06 18:44:53
2001" lines in an mbox file...
What is the regular expression for matching whether the line in an mbox
file is the beginning of a new message?
What is the regular expression for matching lines like ">From" that should
have the ">" removed
On Wed, 26 Dec 2001, David T-G wrote:
> Your MDA will also escape any ^From_ in the body to avoid confusion with
> a message separator line -- if it's delivering to an mbox file.
That doesn't seem to be true. For example, in one of my sent-mail files
from pine, I saw this line (there was no ">"
Someone sent me an attachment called "designview.jpg" with MIME type of
"application/octet-stream". Since it wasn't "image/jpg" or "image/jpeg",
mutt didn't know how to view it correctly.
How could I have made mutt treat that as image/jpg (by making it look at
the filename extension, perhaps) des
Here's a beta version of code that I made for myself. My desktop is a
Windows system, but I run mutt through SSH. I'd like to be able to have
HTML and image attachments come up directly on my web browser, so I made
this code.
Prerequisites:
- mutt (of course!)
- SecureCRT SSH client (or other SSH
Is there a way to make it so that when I use the "c" command to change to
a different folder, the original one remains open?
My ~/Maildir/ folder has 1 messages, and my =sent folder has 6000
messages, so it's slow to switch between them if they get closed each time
I switch.
BTW, I just noti
* Cleber S. Mori <[EMAIL PROTECTED]> [011207 22:32]:
> Mutt have just one "problem". It is slow to open folders, because
> it does not cache them. Pine did it, and it feels much more fast.
> I don't know if there is a option for that, but I believe not.
mutt takes 7 seconds to open my 1 messa
t;From [EMAIL PROTECTED] Sat Nov 10 03:17:28 2001 -0500
Date: Sat, 10 Nov 2001 03:17:28 -0500 (EST)
From: Philip Mak <[EMAIL PROTECTED]>
X-Sender: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
cc: James Ventrillo <[EMAIL PROTECTED]>,
Mike Little <[EMAIL PROTECTED]>
Su
On Thu, 27 Dec 2001, [iso-8859-1] René Clerc wrote:
> * Skylar Thompson <[EMAIL PROTECTED]> [27-12-2001 14:10]:
>
> | (1) Vim no longer does syntax highlighting. It isn't major, but it did look
> | nice.
>
> set editor="vim -u ~/.muttvimrc +/^$"
It looks like you're using the code that I posted
On Thu, 27 Dec 2001, Ivan Castillo Escobar wrote:
> Somebody can tell me how to write the exact command to send a mail with
> an attachment using the command line (mutt), without the need to enter
> the vi editor to write the message body???. I need to use a mutt command
> to be executed in a UNI
Scenario: When I press "$" to purge the deleted messages in my mailbox,
and it asks me:
Purge 8 deleted messages? ([yes]/no):
and I answer "yes", if new mail has arrived that mutt didn't see yet, it
will show the new mail and *abort* the purge operation. Is this a bug/is
there a workaround for t
On Thu, 27 Dec 2001, Brian Clark wrote:
> > if new mail has arrived that mutt didn't see yet, it
> > will show the new mail and *abort* the purge operation. Is this a bug/is
> > there a workaround for this?
>
> If you don't want to be asked, I think you want this:
>
> ### delete
> ### Type: quado
On Thu, 27 Dec 2001, Benjamin Smith wrote:
> > That's not what I was talking about, actually. I was saying that when it
> > asks me "Purge 8 deleted messages? ([yes]/no):" and I answer yes, it DOES
> > NOT purge the messages if new mail has just arrived.
>
> I've found this irritating too, but si
Does anyone have a vim configuration to make writing bullets/lists easier?
e.g. when I'm writing something like this:
--- begin example ---
1. Pick one of the RaQs to be the DNS server.
2. E-mail [EMAIL PROTECTED] and ask him for an additional IP for
that RaQ.
3. When you get the IP, tell me a
I was thinking about the merits of keeping one large mailbox, versus
keeping a mailbox that's rotated monthly/quarterly/yearly. Some people
prefer to keep one huge mailbox, and some other people prefer to rotate
it. I'd like to explore the reasons why people do it one way and not the
other.
Reaso
On Thu, 27 Dec 2001, Benjamin Smith wrote:
> > I was thinking of that too, but since mutt still knows how to mark the
> > messages to be deleted after the purge, why not delete them after the
> > check... ?
>
> Good question... Currently the code just does this (in
> mbox_sync_mailbox):
>
> /* Ch
I think I did something recently (it had to do with answering "no" when
mutt asked me whether I wanted to purge deleted messages) that caused mutt
to lose track of which messages had "D" (Deleted) flags on them.
Does anyone know what I did, and how to avoid doing it again? I think
someone recentl
On Sat, 29 Dec 2001, Andy Spiegl wrote:
> > I hope I can make this clear, when mutt modifies a file (mbox) it
> > doesn't update the timestamps.
> Sure, I know this problem very well and started a long thread about this,
> but in the end I was told that it's not a bug, but a feature. I still
> d
On Mon, 31 Dec 2001, Benjamin Michotte wrote:
> just to say that I finally win :)
> I convert 3 friends to use mutt and they're really happy now ;)
>
> On Tue, Dec 11, 2001 at 10:18:50PM, Benjamin Michotte wrote:
> > Is it possible to ask mutt sending signed messages "in line" or must I
> > force
Is it possible to see the SMTP "MAIL FROM" line of a message in my
mailbox, or does Maildir format strip that information out before storing
it?
I just had another thought: Might it make sense to store sent mail
together with normal messages?
A fundamental problem is that mutt's "Search" feature cannot search over
multiple mailboxes. Thus, if I want to review a series of e-mails that I
exchanged with someone about a specific topic, then i
27;s not the ^From: line. For example, when I send e-mail to
[EMAIL PROTECTED], I think the SMTP transaction goes something like
this:
$ telnet localhost 25
HELO localhost
MAIL FROM:[EMAIL PROTECTED]
RCPT TO:[EMAIL PROTECTED]
DATA
From: Philip Mak <[EMAIL PROTECTED]>
To: Mutt Users' List <
On Tue, 1 Jan 2002, Sudhir Kumar wrote:
> We have qmail installed in our system and the default delivery mechanism
> is Maildir.How can I configure mutt to read mails from Maildir.
Put this in /etc/profile (or equivalent file if your system use something
else):
MAIL="$HOME/Maildir/"
> Does mut
On Wed, 2 Jan 2002, Charles Jie wrote:
> Is it possible to have mutt record the time I use to read or write a
> mail? I hope to know how much time I spend in a folder (a kind of info).
>
> Further, I want a timer to alert me when I'm going to run out of the
> pre-set time for reading or writing a
I figured it out. It had to do with my MDA (Mail Delivery Agent).
qmail sets environment variables that tells the MDA what the "MAIL FROM"
line was. But, my MDA (maildrop) does not read the environment variables,
so that the data doesn't get saved in my Maildir.
It was a matter of changing my .q
On Wed, 2 Jan 2002, Thorsten Haude wrote:
> >I've just got used to the built-in pager and thought their combination
> >is not bad. Thus I might not plan to replace it with 'less'.
> You might try $display_filter.
I was thinking about $display_filter... that command is indeed executed
when the us
On Fri, Jan 04, 2002 at 12:37:03PM +0800, Charles Jie wrote:
> I didn't find suitable setting to make mutt not to abandon composing a
> mail without content. Help, please.
>
> charlie
set abort_nosubject=no # allow sending messages without subject
set abort_unmodified=no # allow sending messages
How can I make mutt able to display text/html attachments inline, WITHOUT
making it pick text/html (instead of text/plain) when the original message
was sent as multipart/alternative? I find the text/html versions to be
formatted worse.
This is my .mailcap for text/html:
text/html; lynx %s; name
On Sun, Jan 06, 2002 at 09:21:25PM +0700, budsz wrote:
> >How can I make mutt able to display text/html attachments inline, WITHOUT
> >making it pick text/html (instead of text/plain) when the original message
> >was sent as multipart/alternative? I find the text/html versions to be
> >formatted w
"set mail_check" configures how often (in seconds) mutt should look
for new mail. I have it set to 5, but new e-mail that I receive does
*not* show up within 5 seconds.
It seems that it only shows up if I press a key in mutt.
Does anyone have any ideas?
On Mon, Jan 07, 2002 at 11:18:06AM +0100, René Clerc wrote:
> | "set mail_check" configures how often (in seconds) mutt should look
> | for new mail. I have it set to 5, but new e-mail that I receive does
> | *not* show up within 5 seconds.
> |
> | It seems that it only shows up if I press a key
On Mon, Jan 07, 2002 at 01:13:59PM +0100, Michael Tatge wrote:
> Philip Mak muttered:
> > "set mail_check" configures how often (in seconds) mutt should look
> > for new mail. I have it set to 5, but new e-mail that I receive does
> > *not* show up within 5 seconds.
set tw=70
" Redefine the { (previous paragraph) key to use my function.
map { :call PrevPara()
# Redefine the } (next paragraph) key to use my function.
map } :call NextPara()
# Make Ctrl-J rejustify the current paragraph (in both insert mode and
# command mode).
map {gq}j
imap {gq}j
# Make \ key (in command mode) toggle line wrapping mode.
map \ :call WrapMode()
# Make Ctrl-K delete the current line like in pine.
imap dd
# I put my name and e-mail address here, since my server hosts
# multiple domain names.
my_hdr From: Philip Mak <[EMAIL PROTECTED]>
# List e-mail addresses being received by this mailbox, separated by a
# pipe (|).
set [EMAIL PROTECTED]
On Mon, Jan 07, 2002 at 08:50:16PM +0100, Michael Wagner wrote:
> I have this in my mailcap file:
>
> text/html; html2text %s; copiousoutput; nametemplate=%s.html
>
> because the output is much better than this lynx or w3m. Try it.
The problem that I see with lynx, w3m and links is that the -du
On Mon, Jan 07, 2002 at 08:59:04PM -0500, Derek D. Martin wrote:
> > > Mike L, if you have tricks for figuring out WHICH mozilla window the
> > > page will pop up in, I'd like to see that.
>
> Yeah, that'd do it, but I'd rather just leave one up and have it use
> the same one all the time. No
On Tue, Jan 08, 2002 at 02:06:37PM -0600, David wrote:
> I did a quick check for maildir in the manual as well as a quick archive
> search but couldn't hit what I wanted. I just switched a couple of my
> boxes to maildir to deal with NFS not setting mtime and atime properly.
> Only trouble so far
I think that it would be nice to have the ability to move (not [S]ave)
a message to another folder in a single atomic operation, without
having to [$]Synchronize. (Assuming that the current folder is a
Maildir, where moving a message is just moving a file.)
In my conceptual model of e-mail, I vie
On Thu, Jan 31, 2002 at 07:25:41PM +0100, Adam Byrtek wrote:
> On Thu, Jan 31, 2002 at 01:03:32PM -0500, Philip Mak wrote:
> > So, it makes sense for me to keep my inbox clean so that it only
> > contains messages that I still have to "do something" about. Any
> > m
On Thu, Jan 31, 2002 at 12:46:03PM -0600, Knute wrote:
> > Right now, in order to make the moved message disappear immediately
> > from the message listing, I would have to synchronize, which would
> > also delete any messages (and also takes a second or two; synchronize
> > is not instantaneous).
I made a patch to command.c which changes the operation of the "Save"
command if the current mailbox is a Maildir and maildir_trash is set
to "no".
It will cause the saved message to be immediately unlink()ed and
removed from the screen. The rationale for doing this is that since
the message was
How do I save a message to a file (like the [E]xport command in pine)
such that all text attachments are included, as well as the headers of
the message?
The best way I've found is to press [e]dit, then use the :w command in
"vi" to write it out to a file. That takes a few more keystrokes than
it
On Thu, Jan 31, 2002 at 11:29:57PM -0800, Michael Elkins wrote:
> > How do I save a message to a file (like the [E]xport command in pine)
> > such that all text attachments are included, as well as the headers of
> > the message?
>
> If your $mbox_type is set to mbox, then a simple C (copy-message
I have the following lines in my .muttrc file:
set mail_check=5 # check for new mail every 5 seconds
set timeout=10 # if no keypress in 10 seconds, check for new mail
It doesn't seem to work correctly always, though. What's been
happening is that I run screen and I leave multiple instances of mu
When I use the [e]dit command in mutt to edit a message in my folder
(e.g. to add my own annotations to it), it deletes the old message and
delivers the message I just edited as a new message into my mailbox.
Wouldn't it make more sense for mutt to just apply the edit to the
message without havin
On Tue, Feb 05, 2002 at 12:46:17AM +0800, Charles Jie wrote:
> 2. The 'ls' don't group directories/files into two part.
>- If you code something to achieve it, you lose the COLORs.
Try typing this and see if it does what you want:
ls -d `find * -type d -maxdepth 0`; ls `find * -type f -maxde
I'm having trouble reading messages from people who don't wrap their
lines. They have it so that one paragraph is a very long line, but it
seems to cut off after about 255 characters, i.e. I can only see the
first 255 characters of each line in the pager.
I can't reproduce this always, though. If
One thing that I've always missed since I switched from pine to mutt
was pine's more verbose e-mail notification. Instead of just saying
"New mail in this mailbox." it would say something like:
[New mail from Philip Mak re New mail notification ideas]
Also, pine chec
On Tue, Feb 12, 2002 at 09:05:37AM -0800, Carl B. Constantine wrote:
> Wrong. It's actually part of one of the internet RFC's. MUTT is not the
> only client that does this. All E-mail programs place a "quoted" symbol
> '>' for most people by the word From if it's the first word in a
> paragraph.
I couldn't find the answer in the manual, so I'm asking it here:
How do I make mutt not bother checking PGP signatures on messages
(since I don't have anyone's PGP keys anyway)?
I'm a bit confused about how to use maildir_trash.
If maildir_trash is off, then when I quit mutt, if I answer "no" to
purging the messages, then it will lose all the "Deleted" flags.
If maildir_trash is on, then that works. However, then it doesn't seem
to be possible to purge deleted messages
When I press 'q' to abort a message being composed, is there a way to
make it ask:
Abort this message? (y/N)
(answering y will exit the message composing screen and throw away the
message; answering n will do nothing, i.e. don't postpone it, but
don't throw it away either)
instead of asking me
Does anyone know of a program that I can set as a cron job to go
through an mbox file, and delete all messages that are from a mailing
list and are 21 days old?
When I reply to a message that was composed without line wrapping
(i.e. each paragraph is one long line), how can I make mutt wrap it
before inserting "> "? e.g. instead of:
> You know I have a question...is anyone else besides me and Erica looking at these
>vids? Just checking, because if no on
On Thu, Feb 21, 2002 at 05:26:19PM -0800, Will Yardley wrote:
> > I suppose I could code some sort of startup code in 'vi' to find and
> > wrap long lines, but how would I make it only trigger when 'vi' is
> > being started on composing a new reply (and not any other time, e.g.
> > editing an exis
On Sat, Feb 23, 2002 at 12:27:15PM +0100, Martin Karlsson wrote:
> The 'USER: unknown' bit makes me think you should try just:
>
> set pop_user = "jerryvb"
>
> Otherwise the POP-server thinks you're trying to log in as
> [EMAIL PROTECTED]@pop3.ispwest.com.
I don't think that's the problem. I tr
In the Reference section of the manual, I recommend adding a warning
at the place where it describes imap_pass and pop_pass:
mutt's bug reporting program will send the user's .muttrc file to
everyone on the development list, so imap_pass and pop_pass should
really be put in a separate file source
I configured mutt to automatically delete messages from mailing lists
that are older than 21 days, provided that the message is not flagged
or addressed to me. Here's what I came up with, in case it's useful to
anyone else:
my_hdr From: Philip Mak <[EMAIL PROTECTED]>
# alternate
On Wed, Mar 06, 2002 at 09:01:09AM -0500, Ben Logan wrote:
> > Yes, it doesn't have nice and point-and-clicky interface, but I don't like
> > them, anyway.
>
> Like many of you on this list probably do, I get several hundred
> messages a day (up to 600). I almost hyperventilate at the thought of
Scenario: I want to write a memo to myself that appears in my inbox.
What's the easiest/fastest way to do this?
Right now I'm doing "m", "pmak", "" and then
typing it. A side effect of this is that the memo ends up in my
sent-mail folder too.
Oh, is it a bug that when I press "y" to send a messa
On Sat, May 11, 2002 at 07:30:20PM +0200, Marco Fioretti wrote:
> On Sat, May 11, 2002 16:25:27 at 04:25:27PM +0200, Rocco Rutte wrote:
> > Basically, yes. But note: emails do also contain a header
> > which, in html mails, is before the initial statement.
> > So, browsers will have problems with
On Mon, May 13, 2002 at 09:59:40AM -0500, David T-G wrote:
> % I'm trying to get a new message flag to display in front of my
> % folder name in the folder index view. So I'm doing the following:
> %
> %set folder_format="%2C %N %8s %d %f"
>
> % I'm seeing:
> %
> %10 66442
I just received a message with this header:
Content-Type: text/plain; charset="us-ascii"
It contained the following line:
Since you<92>re a WebPosition customer,
where <92> is how it looks when I "less" the Maildir file.
But when I use the mutt pager to view the message (and e
I just got this e-mail message, and when I looked at it in the pager,
all I saw was this:
Date: Tue, 4 Jun 2002 02:40:08
From: Ryan Edwards <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Classic Cars or parts for sale
[-- text/plain, is unsuppor
I don't like the user interface for the [a]lias command.
When I add an alias, it prompts me through a series of one-line
prompts in the status bar. If I make a mistake, I have to press Ctrl+G
and start the whole series of prompts over. And, it asks me at the end
where I want to save the alias (I'
An off-topic query concerning spamassassin:
Can it be set to delete spam automatically (I'm not so interested in
just *marking* spam, because if it only marks spam I still have to
sift through it), without getting too many false positives?
I'm thinking of doing something about the 20+ spam messa
74 matches
Mail list logo