T. Andrew Lorenzen | 3 Sep 08:20 2009
Picon

Move false positive spam to multiple folders

Hello fellow mutt users,
I am currently setting up my environment to use SpamAssassin. I currently have procmail filtering all
messages above a certain threshold to SPAM folder. Also, I have a script that is set to run on everything in
SPAM-learnSPAM and SPAM-learnHAM. While false negatives are easy to handle, I simply move them to
SPAM-learnSPAM, false positives are proving to be trickier. Since the script that I am running to train
SpamAssassin deletes messages after it has processed them, I want to move false positives to the
SPAM-learnHAM folder and also to a HAM folder. 
How would I go about moving a message to two different folders in a macro? Or, copying to one folder and then
moving to another folder?
Thanks for taking a look at this problem,
Andrew

brownh | 3 Sep 19:19 2009

keyboard paste address in compose, To: line

Often, when composing a message, I want to past an address in the To: 
line without using my mouse. However, the usual C-y or C-v keyboard 
commands don't work. Any suggestions?

If I may, a minor secondary question. When I type in an address on the 
To: line, the insertion point is not visible. This is annoying when I 
need to go back to correct a typo. I don't know where I am so that I 
can do a DEL or type at the right place. Can I change this behavior?

Haines Brown

Dan Ritter | 3 Sep 19:38 2009
Picon

Re: keyboard paste address in compose, To: line

On Thu, Sep 03, 2009 at 01:19:43PM -0400, brownh wrote:
> Often, when composing a message, I want to past an address in the To: 
> line without using my mouse. However, the usual C-y or C-v keyboard 
> commands don't work. Any suggestions?

Entirely dependent on your terminal program, not Mutt. Mutt
doesn't know you're running in a graphical environment.

If you say what terminal program you're using, or what's
available to you, people may be able to help.

> If I may, a minor secondary question. When I type in an address on the 
> To: line, the insertion point is not visible. This is annoying when I 
> need to go back to correct a typo. I don't know where I am so that I 
> can do a DEL or type at the right place. Can I change this behavior?

Probably terminal program dependent as well.

-dsr-

--

-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.

Tim Tebbit | 3 Sep 19:49 2009
Picon

Selecting INBOX...gdbm fatal: lseek error

Subject says it all.  Debian Sid. I have purged and reinstalled
everything except my .muttrc file, which works under Lenny and Squeeze.

Any ideas?

$ mutt -v
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.30-1-686 (i686)
ncurses: ncurses 5.7.20090803 (compiled with 5.7)
libidn: 1.15 (compiled with 1.15)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Aug 13 2009 22:25:33)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL
-USE_FLOCK
+USE_POP  +USE_IMAP  +USE_SMTP
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
+CRYPT_BACKEND_GPGME
-EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
(Continue reading)

Tim Tebbit | 3 Sep 20:04 2009
Picon

[solved] Re: Selecting INBOX...gdbm fatal: lseek error

Tim Tebbit wrote:

> set header_cache=~/.mutt/cache/headers
> set message_cachedir=~/.mutt/cache/bodies
> set certificate_file=~/.mutt/certificates

After reviewing my post I saw this. And decided to try rm -r .mutt which
worked like a charm.

I still have no idea the why behind this. Could someone fill me in?

Patrick Gen-Paul | 3 Sep 20:07 2009
Picon

Re: keyboard paste address in compose, To: line

brownh wrote:
> Often, when composing a message, I want to past an address in the To: 
> line without using my mouse. However, the usual C-y or C-v keyboard 
> commands don't work. Any suggestions?

What terminal are you running mutt in?

How do you select the address you want to paste?

Where are you copying from - same mutt session, an address book running 
in another terminal?

Are you running a "Desktop environment"?

I run mutt under gnu/screen, a terminal multiplexer that provides a 
powerful copy/paste mechanism between "windows".

You may want to read this:

http://www.kuro5hin.org/story/2004/3/9/16838/14935

> If I may, a minor secondary question. When I type in an address on the 
> To: line, the insertion point is not visible. This is annoying when I 
> need to go back to correct a typo. I don't know where I am so that I 
> can do a DEL or type at the right place. Can I change this behavior?

Does not happen here in an xterm.

If the "To:" line is at the bottom of the screen, I have seen something 
similar on the linux (framebuffer) console. In the case of a bash shell, 
(Continue reading)

Gary Johnson | 3 Sep 20:18 2009

Re: keyboard paste address in compose, To: line

On 2009-09-03, brownh <brownh <at> historicalmaterialism.info> wrote:
> Often, when composing a message, I want to past an address in the To: 
> line without using my mouse. However, the usual C-y or C-v keyboard 
> commands don't work. Any suggestions?

Here's an idea.  Mutt has a 'query_command' variable (see the mutt
manual) that's intended to allow the user to query an external
database of addresses.  It's normally invoked by typing Ctrl-T while
entering an address at the To: or other address prompt.  You could
set this variable to "xclip -o" (I'm not sure about the options)
where xclip is a command-line program for accessing the X clipboard.

If you're already using 'query_command' to access an address
database, you could simply write a wrapper that would do something
like integrate the clipboard output with the other address choices,
or recognize an empty address line or special character on the
address line as a trigger to use xclip instead of the database.

> If I may, a minor secondary question. When I type in an address on the 
> To: line, the insertion point is not visible. This is annoying when I 
> need to go back to correct a typo. I don't know where I am so that I 
> can do a DEL or type at the right place. Can I change this behavior?

I believe this is a terminal issue.

HTH,
Gary

Morris, Patrick | 3 Sep 20:25 2009
Picon

S/MIME recipient address/key selection

I've been wrestling with this for a while, and I'm finally at the point
where I think I need help.

I've got a working S/MIME setup with mutt, and everything's great except
when it comes to selecting the right key to use when S/MIME kicks in.

For example, I have two keys: one for patrick.morris <at> hp.com and another
for anotheraddress <at> somewhereelse.com. When encrypted mail comes in to
anotheraddress <at> somewhereelse.com, what I'd really like (and what I could
swear I've had before) is for mutt to use the key that matches that
email, but it doesn't even seem to look at the "To:" address.

Instead, I get something more like the following:

Enter keyID for pmorris <at> myhostname.mydomain.com:

The above is an example... what I get is the FQDN of my local machine,
which does not appear anywhere in the email message itself.

Below are my S/MIME config settings, which I'm using on Mutt 1.5.20
(2009-06-14, Gentoo 1.5.20-r4):

set smime_is_default
set smime_timeout=7200
set smime_ask_cert_label

set smime_default_key="cf8014d7.0"      # my KeyID
unset smime_decrypt_use_default_key

set smime_ca_location="/etc/ssl/certs"
(Continue reading)

brownh | 3 Sep 21:22 2009

[pgenpaul <at> gmail.com: Re: keyboard paste address in compose, To: line]

----- Forwarded message from Patrick Gen-Paul <pgenpaul <at> gmail.com> -----

Envelope-to: brownh <at> localhost
Delivery-date: Thu, 03 Sep 2009 14:44:11 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjgCACuin0qnzgTGkWdsb2JhbACSAok7AQEBAQkLCgcTA61ykVSEGwU
X-IronPort-AV: E=Sophos;i="4.44,326,1249254000"; 
	d="scan'208";a="134970770"
From: Patrick Gen-Paul <pgenpaul <at> gmail.com>
Subject: Re: keyboard paste address in compose, To: line
To: mutt-users <at> mutt.org
List-Post: <mailto:mutt-users <at> mutt.org>
List-Unsubscribe: send mail to majordomo <at> mutt.org, body only "unsubscribe mutt-users"
X-Virus-Scanned: clamav-milter 0.95.2 at mail-hub-c.omnis.com
X-Virus-Status: Clean
X-Spam-Status: No, score=0.0 required=5.0 report=
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on postoffice.omnis.com

brownh wrote:
> Often, when composing a message, I want to past an address in the To:  
> line without using my mouse. However, the usual C-y or C-v keyboard  
> commands don't work. Any suggestions?

What terminal are you running mutt in?

How do you select the address you want to paste?

Where are you copying from - same mutt session, an address book running in 
another terminal?

(Continue reading)

Thomas Baker | 3 Sep 21:52 2009
Picon

Mail index page lines in X window (was Re: Associating..."mbox" in Firefox)

On Sun, Aug 30, 2009 at 04:22:03PM -0400, Thomas Baker wrote:
> So that when I clicked on a link such as:
> 
>     ============================================================
>     <a href="file://localhost/e:/foo/bar.mbox">Foobar</a>
>     ============================================================
> 
> in Firefox, it would run mutt, opening the mailbox bar.mbox.  It
> was fantastic!

It may interest readers of this list to know that I was able to solve
this problem by downloading and installing rxvt, then modifying mbox.bat
to execute:

    ============================================================
    C:\Cygwin\bin\rxvt.exe -fn courier -fg Black -bg Wheat -sr -e E:\mbox.sh "%1"
    ============================================================

This works great - I can open mbox files with mutt by clicking
on them in Firefox.

However, now I have a different (though minor) problem, which
may in fact be more closely related to mutt than my original
question:

When I call up mutt, the first mail line covers the help line, like this:

    q:Q1   T 2009-05-27 John Johnston    10K  RE: Metadaten
       2 r T 2009-05-27 John Johnston    10K  |=>
       3 r C 2009-05-29 Barbara Jones    13K  `->                          
(Continue reading)


Gmane