Re: Archiving

2009-02-13 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 13 at 08:58 AM, quoth Christian Brabandt:
>> If I ever need to refer to something in deep storage, I can always 
>> go find it (using mutt) and search for it (using mutt).
>
> The last time I did that it would take an considerably amount of time, 
> whenever I opened that folder. Well admittedly, that folder containea 
> about hundreds of mails, but I didn't like it, because mutt was 
> unresponsive.

Suit yourself; I've found that, since I moved my IMAP server from the 
laggardly BincIMAP to Dovecot, my ability to search gigantic archive 
mailboxes has become, well, gigantic. Granted, Binc was simple and 
straightforward as can be, but Dovecot builds its own indexes 
(including full-text indexes), which makes searching a breeze even 
without mutt's header caching. And with the header caching? It's just 
blazing fast.

I've never used offlineimap or mairix or any of these similar tools, 
which all sound pretty neat. However, since moving to Dovecot, I 
haven't felt the need.

(for what it's worth, my archive folders are in a second namespace 
that stores things in mbox format mostly for space reasons, rather 
than speed.)

BUT, the great thing about email is: to each their own. It's all about 
what works for you. :)

~Kyle
- -- 
We must not confuse dissent with disloyalty. When the loyal opposition 
dies, I think the soul of America dies with it.
-- Edward R. Murrow
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkmVOeQACgkQBkIOoMqOI14FOQCgojkpf4BJO9Ywvizz5IKfiq8N
Ol8AoP95QzK5UlbP955Ttudthcr3Cwac
=6rYr
-END PGP SIGNATURE-


Re: Archiving

2009-02-13 Thread Andreas Kalex

* Cameron Simpson  wrote on 13.02.2009 at 12:30:
> 
> (Except for spam; that goes to bogofilter for accounting and then
> discarded.)
How do you implement it in the muttrc? Or do you use tools like procmail.


andreas


Re: Archiving

2009-02-13 Thread Nicolas Sebrecht

On Fri, Feb 13, 2009 at 03:25:04PM +0100, Andreas Kalex wrote:

> > (Except for spam; that goes to bogofilter for accounting and then
> > discarded.)
> How do you implement it in the muttrc? Or do you use tools like procmail.

I have those lines in my muttrc :
macro pager "\Cxs" "bogofilter -s && echo \"Mail registered as 
spam.\"" "Mail registered as spam"
macro index "\Cxs" "bogofilter -s && echo \"Mail registered as 
spam.\"" "Mail registered as spam"
macro pager "\Cxus" "bogofilter -Sn && echo \"Mail unregistered 
as spam.\"" "Mail unregistered as spam"
macro index "\Cxus" "bogofilter -Sn && echo \"Mail unregistered 
as spam.\"" "Mail unregistered as spam"
macro pager "\Cxg" "bogofilter -n && echo \"Mail registered as 
good.\"" "Mail registered as good"
macro index "\Cxg" "bogofilter -n && echo \"Mail registered as 
good.\"" "Mail registered as good"
macro pager "\Cxug" "bogofilter -Ns && echo \"Mail unregistered 
as good.\"" "Mail unregistered as good"
macro index "\Cxug" "bogofilter -Ns && echo \"Mail unregistered 
as good.\"" "Mail unregistered as good"
macro pager "\Cxt" "bogofilter -t" "Check"
macro index "\Cxt" "bogofilter -t" "Check"

For instance, I can tell bogofilter "this mail is a spam" by pressing :
Ctrl+x then the 's' key.

As I use a maildir, I also wrote a little wrapper of bogofilter :

$ cat bin/bogofilter-wrapper.sh
#!/bin/sh

mailbox="$1"
spambox="$2"
[[ ! -z "$2" ]] && spambox='[Gmail].Spam'

src="/home/nicolas/Mail/${mailbox}/INBOX/new/"
dest="/home/nicolas/Mail/${mailbox}/${spambox}/new/"


echo "Looking for spam."

spam=0
for mail in $(find "${src}" -type f) ; do
bogofilter -I "${mail}" && {
echo "Spam found : $mail"
spam=$((spam+1))
mv "$mail" "$dest"
}
total=$((total+1))
done

echo "Total spam found : $spam/$total"
#EOF-

I call this script like this from mutt :
macro pager "\Cwf" "bogofilter-wrapper.sh 
'nicolas_MAILBOX_gmail.com' '[Gmail].Spam'" "Filter mails"
macro index "\Cwf" "bogofilter-wrapper.sh 
'nicolas_MAILBOX_gmail.com' '[Gmail].Spam'" "Filter mails"

-- 
Nicolas Sebrecht



Re: set up multiple account

2009-02-13 Thread bill lam
On Thu, 12 Feb 2009, Ed Blackman wrote:
> `muttGmail cfoobar`
> `muttGmail ifoobar`
>
> Mutt will run muttGmail with the given argument.  muttGmail will take  
> the argument and spit out the complete folder-hook.  Mutt will then  
> interpret the output as configuration commands, and you're all set up.

I tried but failed, Apparently mutt does not execute that output as
commands.  It seems need a :source command and provide a temp file
name.  Or did I missed something?

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩109 杜甫  月夜憶舍弟
戍鼓斷人行  秋邊一雁聲  露從今夜白  月是故鄉明
有弟皆分散  無家問死生  寄書長不達  況乃未休兵


newbie install

2009-02-13 Thread James Freer
I'd be grateful if someone could just clarify a couple of things
before i do an installation.

using Ubuntu 8.04 on a standalone PC connected to broadband.
I chose Mutt as i can use vim as an editor and hopefully will be able
to reply to emails from my many yahoogroups and mail lists rather more
quickly than i have been doing.

I have three emails addresses with googlemail.com

Reading the Mutt manual and the gentoo guide; i gather that i need to
install fetchmail, procmail, mutt and one of a] nbstmp, b]ssmtp, c]
esmtp, d] mstmp as i'm not setting up an actual mail server either of
these are adequate but which should i choose.

mstmp i gather can be set up for SSL. SSL is what i have set up for
Thunderbird and had no problems.

thanks
james


Re: newbie install

2009-02-13 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 13 at 05:37 PM, quoth James Freer:
> I'd be grateful if someone could just clarify a couple of things 
> before i do an installation.

I can try! :)

> using Ubuntu 8.04 on a standalone PC connected to broadband. I chose 
> Mutt as i can use vim as an editor and hopefully will be able to 
> reply to emails from my many yahoogroups and mail lists rather more 
> quickly than i have been doing.

Sounds good.

> I have three emails addresses with googlemail.com

Ah, fun.

> Reading the Mutt manual and the gentoo guide; i gather that i need to 
> install fetchmail, procmail, mutt and one of a] nbstmp, b]ssmtp, c]
> esmtp, d] mstmp as i'm not setting up an actual mail server either of 
> these are adequate but which should i choose.

Eh? No, that must be an outdated guide.

Let's frame this in terms of tasks: you need to be able to read your 
email, and you need to be able to *send* email.

Sending email has gotten much easier; you *can* use 
nbsmtp/ssmtp/esmtp/msmtp or any of the other variants, but the 1.5.x 
versions of mutt can also simply send mail themselves, as long as you 
have a server to relay through (e.g. your ISP or google's mail 
servers). All you need to do is ensure that your version of mutt has 
been compiled with smtp support (the default Ubuntu package probably 
has) and then add the following to your muttrc:

 set smtp_url="smtp://u...@googlemail.com@smtp.gmail.com/"

(and replace "u...@googlemail.com" with one of your actual addresses)

The other task is to be able to *read* email. You can do this lots of 
different ways, but the simplest is to simply use mutt to read the 
messages via IMAP (you don't NEED fetchmail or procmail or any of the 
others, though you certainly *can* use them if you like). You DO need 
to enable IMAP on your Gmail accounts first, though (see 
http://mail.google.com/support/bin/answer.py?answer=75725&ctx=sibling). 
The appropriate mutt setting would be something like this:

 set folder="imaps://u...@googlemail.com@imap.gmail.com/"
 set spoolfile="=INBOX"

There's more work to be done to efficiently handle all three accounts 
at the same time, and a lot of it depends on how exactly you want mutt 
to behave.

Does that help?

~Kyle
- -- 
Many who claim to have been transformed by Christ's love are deeply, 
even murderously, intolerant of criticism.
  -- Sam Harris
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkmVtAgACgkQBkIOoMqOI15xWgCdF6zc3FwkdfT22lgbp+nbFhuC
am0AoOvUpCdTzHAdq3vtGv9GIbPyqiji
=dIEH
-END PGP SIGNATURE-


Re: set up multiple account

2009-02-13 Thread Ed Blackman

On Sat, Feb 14, 2009 at 12:17:43AM +0800, bill lam wrote:

On Thu, 12 Feb 2009, Ed Blackman wrote:

`muttGmail cfoobar`
`muttGmail ifoobar`

Mutt will run muttGmail with the given argument.  muttGmail will take  
the argument and spit out the complete folder-hook.  Mutt will then  
interpret the output as configuration commands, and you're all set up.


I tried but failed, Apparently mutt does not execute that output as
commands.  It seems need a :source command and provide a temp file
name.  Or did I missed something?


Using backticks in .muttrc definitely works for me in Mutt 
1.5.17+20080114 (Ubuntu 8.04 packaged version).  I don't have Gmail 
accounts, so I just tested that backticks work for Mutt configuration, 
and that the script I gave you outputs reasonable looking config 
commands.


Do this, inside mutt type:

:`echo 'set my_test=foo'`

and then

:set ?my_test

You need the leading colon in both cases to get into configuration mode.
You should see 'my_test="foo"'.  If not, run "mutt -v" on the command 
line and post the output.


If you do, the problem is in the script: it's either not running (PATH 
problem?) or is not producing the right output.  If it's not running, 
you should be seeing an error that says something like "sh: muttGmail: 
not found".


Ed


signature.txt
Description: Digital signature


Re: Clarification on tag-prefix-cond vs. tag-prefix

2009-02-13 Thread Jan-Herbert Damm
Kyle Wheeler:
>... However, because I use 
> , when there aren't any tagged messages (i.e. the 
> pattern "~r >3m" didn't match anything), mutt will stop processing 
> that hook and none of the rest of it will happen.
> 
> Does that make sense?
yes it does! thank you so much for posting this help on archiving. i learned
a lot from reviewing it very slowly. 

if you don't mind, can you explain the pattern "~r >3m" equally well? i know i
could figure it out by RTFM but it would take forever. 

Jan


Re: Clarification on tag-prefix-cond vs. tag-prefix

2009-02-13 Thread John J. Foster


On Fri, 13 Feb 2009 19:20 +0100, "Jan-Herbert Damm" 
wrote:
> Kyle Wheeler:
> >... However, because I use 
> > , when there aren't any tagged messages (i.e. the 
> > pattern "~r >3m" didn't match anything), mutt will stop processing 
> > that hook and none of the rest of it will happen.
> > 
> > Does that make sense?
> yes it does! thank you so much for posting this help on archiving. i
> learned
> a lot from reviewing it very slowly. 
> 
> if you don't mind, can you explain the pattern "~r >3m" equally well? i
> know i
> could figure it out by RTFM but it would take forever. 
> 

in less than 1 minute - from TFM:
~r MIN-MAX   messages with "date-received" in a Date range
>3m  greater than 3 months.


Re: newbie install

2009-02-13 Thread James Freer
Kyle

Thanks for your reply - that has helped clarify some things. Ubuntu
8.04 repos has the mutt 1.5.17 [but as the 8.04 version is the Long
Term Support version it may well automatically replace it with the
updated version on install].
>> I have three emails addresses with googlemail.com
>
> Ah, fun.
Does that mean considerable stress and grief??

>> Reading the Mutt manual and the gentoo guide; i gather that i need to
>> install fetchmail, procmail, mutt and one of a] nbstmp, b]ssmtp, c]
>> esmtp, d] mstmp as i'm not setting up an actual mail server either of
>> these are adequate but which should i choose.
>
> Eh? No, that must be an outdated guide.
So just install mutt on it's own - there don't seem to be any
dependencies according to synaptic.
>
> Let's frame this in terms of tasks: you need to be able to read your
> email, and you need to be able to *send* email.
>
> Sending email has gotten much easier; you *can* use
> nbsmtp/ssmtp/esmtp/msmtp or any of the other variants, but the 1.5.x
> versions of mutt can also simply send mail themselves, as long as you
> have a server to relay through (e.g. your ISP or google's mail
> servers). All you need to do is ensure that your version of mutt has
> been compiled with smtp support (the default Ubuntu package probably
> has) and then add the following to your muttrc:
>
>     set smtp_url="smtp://u...@googlemail.com@smtp.gmail.com/"
>
> (and replace "u...@googlemail.com" with one of your actual addresses)
>
> The other task is to be able to *read* email. You can do this lots of
> different ways, but the simplest is to simply use mutt to read the
> messages via IMAP (you don't NEED fetchmail or procmail or any of the
> others, though you certainly *can* use them if you like). You DO need
> to enable IMAP on your Gmail accounts first, though (see
> http://mail.google.com/support/bin/answer.py?answer=75725&ctx=sibling).
> The appropriate mutt setting would be something like this:
>
>     set folder="imaps://u...@googlemail.com@imap.gmail.com/"
>     set spoolfile="=INBOX"
I have set up IMAP gmail with Thunderbird and wondered about POP and
SMTP. Gmail has an odd way of handling IMAP which i'm not sure about.
Using as webmail Gmail has an Inbox, Sent and All Mail box - when
using Thunderbird in IMAP all incoming mail remains in the Inbox, then
has to be archived manually [by going back to webmail] to put it in
the All Mail box. Gmail is very clever with its conversations feature
and this is why it has this All Mail box i guess but i didn't find a
away of archiving the Inbox to All Mail - Gmail weren't much help when
i raised a support ticket with them. I did use POP and SMTP again with
Thunderbird and that worked well - emptying the Inbox but one looses
the conversation feature [iirc]. So i was thinking along the POP -
SMTP route this time. Any gmail users on here who can advise?

> There's more work to be done to efficiently handle all three accounts
> at the same time, and a lot of it depends on how exactly you want mutt
> to behave.
So what do i do... all i want [i think] is to have the mail collected
from each account in turn [a bit like Thunderbird used to do] and put
in separate email address folders.

thanks
james [uk]


Re: Clarification on tag-prefix-cond vs. tag-prefix

2009-02-13 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 13 at 07:20 PM, quoth Jan-Herbert Damm:
> if you don't mind, can you explain the pattern "~r >3m" equally 
> well?

Well, that's pretty simple.

First, mutt uses what it calls "simple patterns" to match messages. 
(That's what you search for in the manual if you want to find more 
information.) That right there is a simple pattern. Simple patterns 
are a match-type-specifier (for lack of a better term) and, for most 
match types, a match specification. In this case, the 
match-type-specifier is "~r". These match-type-specifiers are 
*generally* a tilde and a letter. That's significant, but I'll get to 
that in a moment.

Some simple patterns only need the specifier. For example, ~N is a 
pattern that matches all new messages. There's nothing more to it.

The ~r match-type means "messages with 'date-received' in a Date 
range". In other words, the ~r pattern matches against the date that a 
message was received (how that date is calculated is somewhat 
complicated, but let's ignore that). But this pattern takes an 
argument, so you can specify a range of dates it should match. In the 
manual, this is described as "MIN-MAX", but really, it takes a "date 
range", which is described in more detail a little later in the 
manual.

A date range is fairly complex and flexible. It can be specified 
either by listing the bracketing dates (literally MIN-MAX), or by 
specifying one-end of the range, OR by specifying an age relative to 
the current time. And dates can be given error ranges.

The match I used is fairly basic. ">3m" means "greater than 3 months 
ago", and is specifying an age relative to the current time. >4m would 
mean "greater than 4 months ago". You could also do <3m, which would 
mean "less than 3 months ago", or =3m (exactly 3 months ago). The 
unit, m in this case, can also be y, w, or d (for years, weeks, or 
days).

But you can see why you'd want an error range. For example: =3m*1w, 
which would match that two-week range exactly 3 months ago (the * 
means you're expanding the match in both directions; if you use a - 
that means only further-into-the-past, and + means the opposite.).

Exact dates must be specified in DD[/MM[/[cc]YY]] form. Each bracketed 
section there means an optional field; any ommitted field is assumed 
to be the current one. So, for example, "~r 10" would match any email 
received on the 10th of this month. "~r 10/01" would match any email 
received on January 10th of this year. "~r 10/01/08" would match any 
email received on January 10th of 2008, and "~r 10/01/1908" would 
match any email that appears to have been received back before email 
existed. So, if I wanted to match all messages received in the entire 
year of 2008, I could do it a couple different ways. One way would be 
to specify a date range: ~r 01/01/2008-31/12/2008, or I could use an 
error-range to accomplish the same thing: ~r 01/01/2008+1y

For what it's worth, there's another match-type that also uses this 
same way of specifying dates: ~d, which matches the Date header 
(which, unless it's incorrect, usually means the time the message was 
*sent*, rather than received).

With me so far?

Now, I said that in the match-type-specifier, the tilde was important, 
and it is, but now we're getting into *general* "simple patterns".

*SOME* match-type-specifiers have alternate forms. For example, ~b 
specifies a match against the message body. It takes a regular 
expression as an argument (instead of a date range), which mutt then 
uses to analyze every message. However, if messages aren't available 
*locally* (e.g. if you're reading your mail via IMAP), that can cause  
you to download every message so that mutt can search through it 
trying to match the regular expression. There's an alternate form of 
that match, that only works on IMAP servers, =b. That version also 
searches the body of the message, but asks the *server* to do the 
search (thus saving bandwidth). Since the IMAP protocol doesn't allow  
you to specify a regular expression, the =b simple pattern only 
matches an exact string.

As another example, ~C is a match-type-specifier that specifies a 
match against the To: and CC: headers. Like ~b, it takes a regular 
expression. However, mutt also allows you to define named "groups" 
(which is a whole other ball of wax). Thus, there's a variant of ~C 
that will take a group name instead of a regular expression: %C. For 
example, I defined a group that contains the addresses of all of my 
family members. Thus, I can match any message that is addressed To or 
CC'd to my family members with the following simple pattern: %C family

There's a full list of simple pattern types in the manual (I usually 
use the muttrc man page as a reference for that; search for "simple 
pat" to take you to the right spot quickly).

So-called "simple patterns" like this can also be combined. For 
example, the pattern "~r <2w ~b mutt" will match any message r

Re: newbie install

2009-02-13 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 13 at 07:44 PM, quoth James Freer:
>>> I have three emails addresses with googlemail.com
>> Ah, fun. 
> Does that mean considerable stress and grief??

Maybe. Gmail's IMAP support is a little weird. There are ways of 
working around that, as you say, but sometimes the workaround is 
unplatable, in which case stress and grief. :)

>> Eh? No, that must be an outdated guide. 
> So just install mutt on it's own - there don't seem to be any 
> dependencies according to synaptic.

Generally, yes. Now that you've been a bit more descriptive, it sounds 
like you *may* want to use fetchmail and procmail (or similar 
alternatives, like getmail instead of fetchmail or maildrop instead of 
procmail).

> So what do i do... all i want [i think] is to have the mail 
> collected from each account in turn [a bit like Thunderbird used to 
> do] and put in separate email address folders.

Collecting email from multiple accounts is what programs like 
fetchmail or getmail do best. I recommend getmail, but fetchmail works 
well too. The only thing with them is: they will pull your email to 
your computer and delete it from the server. You won't be able to read 
email with the webmail frontend anymore; you'll have to use something 
on your own computer.

Procmail and maildrop are programs designed to filter email into 
different folders. They have relatively complex preference files, for 
this very reason, but are quite powerful. I have a lot of experience 
with procmail (enough to despise it), and so even though I can't help 
you with the details of it, I recommend maildrop.

Note that you don't HAVE to use fetchmail or procmail or any of these 
programs. You CAN simply use mutt to read the messages while they sit 
on Gmail's POP or IMAP servers, and you can even use mutt to save 
messages to local folders; it may not be the most convenient thing for 
you, though. It all depends on how you want it to work.

~Kyle
- -- 
I am certain there is too much certainty in the world.
 -- Michael Crichton, State of Fear
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkmV4OkACgkQBkIOoMqOI15vAACg0xNT5tEgNQi5PvaKgY9HDtm8
kpIAoPJtE6uOFC4qd1cxAKkXC9Bjda0H
=7H0j
-END PGP SIGNATURE-


Re: newbie install

2009-02-13 Thread Noah Sheppard
> [..]
> well too. The only thing with them is: they will pull your email to 
> your computer and delete it from the server. You won't be able to read 
> email with the webmail frontend anymore; you'll have to use something 
> on your own computer.

Run fetchmail with the -k switch or set keep on your entry in
fetchmailrc, which will leave your messages on the remote server. I
don't know about getmail since I've never used it.

Cheers,
-- 
Noah Sheppard
Assistant Computer Resource Manager
Taylor University CSE Department
nshep...@cse.taylor.edu



Re: newbie install

2009-02-13 Thread sigi
On Fri, Feb 13, 2009 at 03:06:49PM -0600, Kyle Wheeler wrote:
> Collecting email from multiple accounts is what programs like 
> fetchmail or getmail do best. I recommend getmail, but fetchmail works 
> well too. The only thing with them is: they will pull your email to 
> your computer and delete it from the server. You won't be able to read 
> email with the webmail frontend anymore; you'll have to use something 
> on your own computer.

To comment on your last two sentences: that's not true. 
Just give the 'keep'-option in your configuration for fetchmail and it 
will only copy messages to the local mailbox - and keep them on the 
server, too. So, it'd be no problem to fetchmail messages and read them 
from time to time with webmailers. Or won't googlemail work with this 
option? 

sigi. 



Re: newbie install

2009-02-13 Thread Grant Edwards
On 2009-02-13, James Freer  wrote:
> Kyle
>
> Thanks for your reply - that has helped clarify some things. Ubuntu
> 8.04 repos has the mutt 1.5.17 [but as the 8.04 version is the Long
> Term Support version it may well automatically replace it with the
> updated version on install].
>>> I have three emails addresses with googlemail.com
>>
>> Ah, fun.
>
> Does that mean considerable stress and grief??

I think Gmail's IMAP server works great (far better than some
traditional IMAP servers).  Multiple accounts is multiple
accounts regardless of the server.

The only thing I remember causing problems was that Gmail's
IMAP server has a very short connection timeout.  The following
setting in my .muttrc file seems to keep it happily connected:

  set imap_keepalive=30

> I have set up IMAP gmail with Thunderbird and wondered about POP and
> SMTP. Gmail has an odd way of handling IMAP which i'm not sure about.
> Using as webmail Gmail has an Inbox, Sent and All Mail box - when
> using Thunderbird in IMAP all incoming mail remains in the Inbox, then
> has to be archived manually [by going back to webmail] to put it in
> the All Mail box. Gmail is very clever with its conversations feature
> and this is why it has this All Mail box i guess but i didn't find a
> away of archiving the Inbox to All Mail

I'm a bit confused about what you mean by "archiving the Inbox
to All Mail".  If you're using IMAP and if you don't want to
see an e-mail in the Inbox folder any more, then delete it.

It'll still be there in the "All Mail" box.

In Gmail's IMAP server, a message can exist simultaneously in
mutliple IMAP folders (yet there's only one real copy of the
message). Remember: IMAP folders are just the way that Gmail
presents "labels" to an IMAP client.  Folders do not correspond
to anything like separate directories in a filesystem that
contain copies of messages.

Be default, incoming messages are given the label "Inbox".

The "All Mail" "folder" is special in that it provides a view
of all messages regardless of what labels they have (if any).

Deleting a mail from a "folder" just removes the corresponding
label from the message.  IIRC, the only way to really "delete"
a message is to move it to the Trash or Spam folder, then
delete it from there.  Hmm... I don't remember what happens
when, via IMAP, you delete a message from the "All Mail"
folder.

Anyway, it's explained pretty well on the google web site:

http://mail.google.com/support/bin/answer.py?answer=75725
http://mail.google.com/support/bin/answer.py?answer=77657
http://mail.google.com/support/bin/answer.py?answer=78755

-- 
Grant Edwards   grante Yow! I just got my PRINCE
  at   bumper sticker ... But now
   visi.comI can't remember WHO he
   is ...



Scoring

2009-02-13 Thread Chris Willard
Hello All,

Can someone please explain how scoring works for a beginner? I belong
to a few mailing lists and some of them have quite a lot of messages.

As I understand it I can use scoring to filter the messages but I am
not sure of how to do this and how scoring works!

Any help would be appreciated.

Regards,

Chris



-- 
Chris  [ ch...@thewillards.co.uk ] *\   "I'll wrap that car around your  \**
** ]-+-+-+-+-+-+-+-+-[ **\ head." -- Uberman  \*
** [  Htag.pl 0.0.23  ] ***\\

--
This message was scanned by ESVA and is believed to be clean.



Re: newbie install

2009-02-13 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 13 at 10:33 PM, quoth sigi:
> On Fri, Feb 13, 2009 at 03:06:49PM -0600, Kyle Wheeler wrote:
>> Collecting email from multiple accounts is what programs like 
>> fetchmail or getmail do best. I recommend getmail, but fetchmail works 
>> well too. The only thing with them is: they will pull your email to 
>> your computer and delete it from the server. You won't be able to read 
>> email with the webmail frontend anymore; you'll have to use something 
>> on your own computer.
>
> To comment on your last two sentences: that's not true.

You mean it's not *necessarily* true; it is true if he sticks with the 
default behavior.

~Kyle
- -- 
People demand freedom of speech to make up for the freedom of thought 
which they avoid.
 -- Soren Aabye Kierkegaard (1813-1855)
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkmV8QEACgkQBkIOoMqOI14hxQCgsmsg9uN4teswHuH1lKoyqxz2
FV8AoLHTenr/7fcV/fC6BsUXqcQKaxqS
=JTVb
-END PGP SIGNATURE-


Re: newbie install

2009-02-13 Thread Michael

Noah Sheppard wrote:

[..]
well too. The only thing with them is: they will pull your email to 
your computer and delete it from the server. You won't be able to read 
email with the webmail frontend anymore; you'll have to use something 
on your own computer.


Run fetchmail with the -k switch or set keep on your entry in
fetchmailrc, which will leave your messages on the remote server. I
don't know about getmail since I've never used it.

Cheers,


With getmail, the keep switch is -l (leave on server)
-d (is to delete on server)


Re: newbie install

2009-02-13 Thread sigi
On Fri, Feb 13, 2009 at 04:15:30PM -0600, Kyle Wheeler wrote:
> On Friday, February 13 at 10:33 PM, quoth sigi:
> > On Fri, Feb 13, 2009 at 03:06:49PM -0600, Kyle Wheeler wrote:
> >> Collecting email from multiple accounts is what programs like 
> >> fetchmail or getmail do best. I recommend getmail, but fetchmail works 
> >> well too. The only thing with them is: they will pull your email to 
> >> your computer and delete it from the server. You won't be able to read 
> >> email with the webmail frontend anymore; you'll have to use something 
> >> on your own computer.
> >
> > To comment on your last two sentences: that's not true.
> 
> You mean it's not *necessarily* true; it is true if he sticks with the 
> default behavior.
 
OK, you're right... but in my eyes you implied, he'd have to decide 
between downloading messages or keeping them on the server when using 
fetchmail, sorry.  
So: sure, for the keep-option you have to read the manpages... but 
which ordinary mutt-user doesn't have to search so many things to make 
things more usefull?  ;) 

sigi



Re: Archiving

2009-02-13 Thread Javier Rojas
On Thu, Feb 12, 2009 at 04:00:12PM -0600, Kyle Wheeler wrote:
> Heh, well, some people I know don't do anything. Their inbox is 
> several thousand messages. For me, my inbox is used as a list of 
> "things I need to take care of". Things like mailing list emails get 
> automatically delivered into alternate folders, where I keep only the 
> last 3 months of messages---anything older gets moved to a "deep 
> storage" archive folder. I use mutt to automatically maintain that 
> cutoff, via a folder-hook, like so:
> 
>  folder-hook =Sent 'push "~r 
> >3m=Archive.Sent~A"'

I'm trying something similar to archive my mail

folder-hook =inbox 'push 
"~(~r>3m)=archivos/inbox~A"'

however, this doesn't catch all the messages of the threads of the
matched messages (the idea behind the addition of ~() ). I think this is
caused because I also have another folder hook to collapse automatically
all the threads

folder-hook . push ""

so now I'm working around this with this new version of the hook

folder-hook =inbox 'push 
"~(~r>3m)=archivos/inbox~A"'

which uncollapses, archives, and the collapses back the mailbox

This, however, creates another problem: when there is nothing to
archive, the mailbox ends up uncollapsed.

Any ideas on how to solve this?

-- 
Javier Rojas

GPG Key ID: 0xA1C57061


pgpvT6XZrKcos.pgp
Description: PGP signature


Re: Archiving

2009-02-13 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 13 at 09:37 PM, quoth Javier Rojas:
> however, this doesn't catch all the messages of the threads of the 
> matched messages (the idea behind the addition of ~() ). I think 
> this is caused because I also have another folder hook to collapse 
> automatically all the threads

That would do it.

> so now I'm working around this with this new version of the hook
>
> folder-hook =inbox 'push 
> "~(~r>3m)=archivos/inbox~A"'

Which has the obvious problem when there are no tagged messages. :)

I've wrestled with the same problem.

> Any ideas on how to solve this?

Yes! Here's the key observation that allows us to solve the problem: 
tagged messages will get moved, even if they're collapsed, but 
collapsed messages don't get tagged.

So, the workaround is all about ordering; you have to work in the 
following order:

 1. make sure everything is uncollapsed
 2. tag the messages you want
 3. collapse things
 4. use tag-prefix-cond to operate on the tagged messages

Don't worry, it took me a while to figure that one out too.

~Kyle
- -- 
Science has proof without any certainty. Creationists have certainty 
without any proof.
 -- Ashley Montague
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkmWORgACgkQBkIOoMqOI1729wCg2NpPq1tkwEkd3ikdO6W33L6y
HBUAnRcbo3T5w2eusNLyufy90lmOpsy7
=HOAr
-END PGP SIGNATURE-


Re: set up multiple account

2009-02-13 Thread bill lam
On Fri, 13 Feb 2009, Ed Blackman wrote:
> Do this, inside mutt type:
>
> :`echo 'set my_test=foo'`
>
> and then
>
> :set ?my_test

This example worked, but I might find the reason why it didn't work
in general.  I saved the following script as mutt-test and put a line
`mutt-test bar` in my .muttrc 

#!/bin/sh

email="$1"

cat <