Re: mailbox question

2002-03-26 Thread Sven Guckes

* Matthias Weiss <[EMAIL PROTECTED]> [2002-03-26 19:11]:
> What do I gain from this when I have 3 mailing list
> on one and another 4 lists on the other account?

"IMAP"

> > > I'd like mutt to check whether a mail came from a mailing
> > > list and display only those mail at ones that belong to
> > > the same mailing list. I'd then want to switch between
> > > the list with some key command.
> > You can acheive this, although I personally prefer sorting
> > and threading to make this less configuration specific.
> Don't understand what you mean. *HOW* can I achieve this?

RTFM!

> > > When I end my mutt session I'd want mutt to store the
> > > read mails in seperate mail boxes, each for every mailing
> > > list I'm subscribed.
> > You can do this with save hooks, but you'll
> > have to manually save after reading.
> you mean I have to save manually every mail??? 8-|

No.

> > > Those remaining mails that don't belong to a mailing
> > > list should be moved to a general list.
> > Move them to a readmail folder, for example, this can be done.
> How?

filtering

> > > Is that possible with mutt and if yes how can I do this???
> > Too many ways to skin a cat. Do it with the dog ;-) or do it with
> > fetchmail, with procmail perhaps. Depending on how important it is for all
> > this to be automatic, and whether or not you will ever access your mail
> > with another client / via webmail, will guide the decisions.
> I'm getting approx. 130 mails every day, so this *IS* important for me.
> Maybe I can do something with my mta (postfix) to splitt
> the mails up into several inboxes. Don't know why,
> but I always thought this is the job of my mailclient.

Wrong

> > I think mutt should be left for reading your mail and moving it
> > about, but automating things /before/ you even read the mail
> > (moving unread messages into folders dependent on address sent to,
> > etc) might be better acheived with something like procmail.
> Well, I actually don't care what part of the mail system
> is doing the job. I want to have a solution that
> helps me handling this amount of everyday mails.

yeah

> > > Then I have a question regarding address books -
> > > is there support for something alike in mutt??
> > There are aliases, which allow you to have nicknames for all your
> > contacts, and these can be browsable. However, name, address,
> > telephone and all that is outside the scope of aliases in mutt.
> It's all I need, I'll try this.

good

> > > Ps.: could you please CC me answers cause I'm not on the list.
> > I didn't think this list could be posted to by non members.
> It can't, but my mail was forwarded to the mailing list maintainer
> so it appeared even so.  I know that being not a member of a list
> and mailing to it is bad habit, nevertheless I hope you excuse it,
> one more mailing list and I drown in mails, sorry!

done.

Sven



Re: mailbox question

2002-03-26 Thread Shawn McMahon

begin  quoting what Matthias Weiss said on Tue, Mar 26, 2002 at 07:26:43PM +0100:
> What do I gain from this when I have 3 mailing list on one and another 4 lists
> on the other account?

The ability to use mailing lists to help you solve problems without
committing ettiquette errors that cause those who know the answers to
your problems to flame you and then refuse to help you, for one thing.




msg26182/pgp0.pgp
Description: PGP signature


Re: mailbox question

2002-03-26 Thread Matthias Weiss

On Tue, Mar 26, 2002 at 09:55:29AM +, Simon White wrote:
> 25-Mar-02 at 22:26, Matthias Weiss ([EMAIL PROTECTED]) wrote :
> > I'm subscribed to several mailing lists which are sent
> > to 2 mail accounts. I'm using fetchmail to retrieve the
> > mails that are then stored in /var/spool/mail/matthias.
> 
> Since the mails go to separate accounts anyway, why not fetch the mail to
> two separate folders, and configure mutt to read both?

What do I gain from this when I have 3 mailing list on one and another 4 lists
on the other account?

> 
> > I'd like mutt to check whether a mail came from a mailing
> > list and display only those mail at ones that belong to
> > the same mailing list. I'd then want to switch between
> > the list with some key command.
> 
> You can acheive this, although I personally prefer sorting and threading
> to make this less configuration specific.

Don't understand what you mean. *HOW* can I achieve this?

> 
> > When I end my mutt session I'd want mutt to store the
> > read mails in seperate mail boxes, each for every mailing
> > list I'm subscribed.
> 
> You can do this with save hooks, but you'll have to manually save after
> reading.

you mean I have to save manually every mail??? 8-|

> 
> > Those remaining mails that don't belong to a mailing list should be
> > moved to a general list.
> 
> Move them to a readmail folder, for example, this can be done.

How?

> 
> > Is that possible with mutt and if yes how can I do this???
> 
> Too many ways to skin a cat. Do it with the dog ;-) or do it with
> fetchmail, with procmail perhaps. Depending on how important it is for all
> this to be automatic, and whether or not you will ever access your mail
> with another client / via webmail, will guide the decisions.

I'm getting approx. 130 mails every day, so this *IS* important for me. 
Maybe I can do something with my mta (postfix) to splitt the mails up
into several inboxes. Don't know why, but I always thought this is
the job of my mailclient.

> I think mutt should be left for reading your mail and moving it about, but
> automating things /before/ you even read the mail (moving unread messages
> into folders dependent on address sent to, etc) might be better acheived
> with something like procmail.

Well, I actually don't care what part of the mail system is doing the job. I want
to have a solution that helps me handling this amount of everyday mails.
 
> > Then I have a question regarding address books - is there support
> > for something alike in mutt??
> 
> There are aliases, which allow you to have nicknames for all your
> contacts, and these can be browsable. However, name, address, telephone
> and all that is outside the scope of aliases in mutt.

It's all I need, I'll try this.

> 
> > Ps.: could you please CC me answers cause I'm not on the list.
> 
> I didn't think this list could be posted to by non members.

It can't, but my mail was forwarded to the mailing list maintainer so it
appeared even so.
I know that being not a member of a list and mailing to it is bad habit,
nevertheless I hope you excuse it, one more mailing list and I drown in
mails, sorry!

> I am now
> going to have to find your address and copy-paste it up to the CC line.
> Luckily I included your address in my attribution line in my .muttrc, and
> now I have a good reason to have quoted it in my reply...

Hmm, that's impressing! ;-)

matthias




Re: mailbox question

2002-03-26 Thread Simon White

26-Mar-02 at 19:26, Matthias Weiss ([EMAIL PROTECTED]) wrote :
> > Since the mails go to separate accounts anyway, why not fetch the mail to
> > two separate folders, and configure mutt to read both?
> 
> What do I gain from this when I have 3 mailing list on one and another 4 lists
> on the other account?

1) OK, so fetch the mail to 7 separate folders, a lot of people on the list
swear by procmail, which will grab whatever fetchmail brings and filter it
to your heart's content.

> > > I'd like mutt to check whether a mail came from a mailing
> > > list and display only those mail at ones that belong to
> > > the same mailing list. I'd then want to switch between
> > > the list with some key command.
> > 
> > You can acheive this, although I personally prefer sorting and threading
> > to make this less configuration specific.
> 
> Don't understand what you mean. *HOW* can I achieve this?

If you do (1), then you just switch folders with 'c'. If you don't (like
me, I keep everything remote and unsorted because I haven't automated 100%
yet, or perhaps because part of me is still a philistine). So, I use
sorting by threads, which Mutt handles rather nicely, and this allows me
to see, reasonably easily, which list has which thread, since threads
don't usually cross lists.

> > > When I end my mutt session I'd want mutt to store the
> > > read mails in seperate mail boxes, each for every mailing
> > > list I'm subscribed.
> > 
> > You can do this with save hooks, but you'll have to manually save after
> > reading.
> 
> you mean I have to save manually every mail??? 8-|

Only if you refuse to do (1) or can't. Mutt is not a mail filter, but you
can hack it to do basic filtering, but that's not what it's for and it
won't do it neatly or correctly.

> > > Those remaining mails that don't belong to a mailing list should be
> > > moved to a general list.
> > 
> > Move them to a readmail folder, for example, this can be done.
> 
> How?

s =readmail $

something like that.

> I'm getting approx. 130 mails every day, so this *IS* important for me. 
> Maybe I can do something with my mta (postfix) to splitt the mails up
> into several inboxes. Don't know why, but I always thought this is
> the job of my mailclient.

Send the output of Postfix to procmail, if you're receiving direct.
Procmail will do the business.

> Well, I actually don't care what part of the mail system is doing the
job. I want > to have a solution that helps me handling this amount of
everyday mails.

Well then get into the tools above. Mutt doesn't do everything it
isn't supposed to.

> I know that being not a member of a list and mailing to it is bad habit,
> nevertheless I hope you excuse it, one more mailing list and I drown in
> mails, sorry!

Sorry, you'll have to search the archive this time anyway. Who said that
the path to enlightenment is not easy?

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:56.54% see www.mersenne.org]
Hofstadter's Law states that projects take longer than expected, even when
Hofstadter's Law is taken into account.
[Arbitrary quotes signature rotation, a simple bash script by Simon White]



Re: mailbox question - mutt is *not* a filter!

2002-03-26 Thread Rocco Rutte

Hi,

On Tue, Mar 26, 2002 at 04:40:23:PM +0100 Sven Guckes wrote:
> * Matthias Weiss <[EMAIL PROTECTED]> [2002-03-26 06:50]:
> > Then I have a question regarding address books -
> > is there support for something alike in mutt??

> use "addressbook"

I recommend using 'lbdb' ('little brother database').

  

Has some really great features (including adding addresses from every
incoming mail with a procmail statement). Furthermore it is abled to
query lot's of types of user databases (finger, pgp, mutt, fido, abook,
nis, passwd, ...).

Rocco



msg26154/pgp0.pgp
Description: PGP signature


Re: mailbox question

2002-03-26 Thread Simon White

26-Mar-02 at 10:30, Shawn McMahon ([EMAIL PROTECTED]) wrote :
> > I didn't think this list could be posted to by non members. I am now
> > going to have to find your address and copy-paste it up to the CC line.
> 
> No, you don't "have" to.  You choose to.

Well, because I didn't read that line until the end, and because I had
already typed the reply, I was stating the exact realtime fact that I was
presented with.

I would not have bothered had I seen that before typing a response.

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:56.41% see www.mersenne.org]
If it dies, it's biology.  If it blows up, it's chemistry, and if it
doesn't work, it's physics.
[Arbitrary quotes signature rotation, a simple bash script by Simon White]



Re: mailbox question - mutt is *not* a filter!

2002-03-26 Thread Sven Guckes

* Matthias Weiss <[EMAIL PROTECTED]> [2002-03-26 06:50]:
> I'm subscribed to several mailing lists which are sent
> to 2 mail accounts. I'm using fetchmail to retrieve the
> mails that are then stored in /var/spool/mail/matthias.
> I'd like mutt to check whether a mail came from a mailing
> list and display only those mail at ones that belong to
> the same mailing list.

   "~C address"

> I'd then want to switch between the list with some key command.

  macro index ## "~C address2\n"

> When I end my mutt session I'd want mutt to
> store the read mails in seperate mail boxes,
> each for every mailing list I'm subscribed.
> Those remaining mails that don't belong to a
> mailing list should be moved to a general list.

Mutt is *not* a mail filter.  Period.

> Then I have a question regarding address books -
> is there support for something alike in mutt??

use "addressbook"

> Ps.: could you please CC me answers cause I'm not on the list.

No.

Sven

-- 
Sven Guckes  http://www.math.fu-berlin.de/~guckes/mutt/setup.html
Mutt setup from scratch, Sven's sample setup; attribution, "limit", "list"
vs "subscribe", histories, mailcap, POP, hooks, use of external pagers,
troubleshooting, adding header lines, "from Mozilla to Mutt".



Re: mailbox question

2002-03-26 Thread Shawn McMahon

begin  quoting what Simon White said on Tue, Mar 26, 2002 at 09:55:29AM +:
> 
> I didn't think this list could be posted to by non members. I am now
> going to have to find your address and copy-paste it up to the CC line.

No, you don't "have" to.  You choose to.

Many people wouldn't.

IMHO, it's incredibly rude to request a private response in a mailing
list.  Telling people "please help me, and please jump through this
hoop to do it" is wrong.

Unless his question was "I can't seem to read messages in the Mutt list,
but my non-list mail works fine."




msg26145/pgp0.pgp
Description: PGP signature


Re: mailbox question

2002-03-26 Thread Simon White

25-Mar-02 at 22:26, Matthias Weiss ([EMAIL PROTECTED]) wrote :
> I'm subscribed to several mailing lists which are sent
> to 2 mail accounts. I'm using fetchmail to retrieve the
> mails that are then stored in /var/spool/mail/matthias.

Since the mails go to separate accounts anyway, why not fetch the mail to
two separate folders, and configure mutt to read both?

> I'd like mutt to check whether a mail came from a mailing
> list and display only those mail at ones that belong to
> the same mailing list. I'd then want to switch between
> the list with some key command.

You can acheive this, although I personally prefer sorting and threading
to make this less configuration specific.

> When I end my mutt session I'd want mutt to store the
> read mails in seperate mail boxes, each for every mailing
> list I'm subscribed.

You can do this with save hooks, but you'll have to manually save after
reading.

> Those remaining mails that don't belong to a mailing list should be
> moved to a general list.

Move them to a readmail folder, for example, this can be done.

> Is that possible with mutt and if yes how can I do this???

Too many ways to skin a cat. Do it with the dog ;-) or do it with
fetchmail, with procmail perhaps. Depending on how important it is for all
this to be automatic, and whether or not you will ever access your mail
with another client / via webmail, will guide the decisions.

I think mutt should be left for reading your mail and moving it about, but
automating things /before/ you even read the mail (moving unread messages
into folders dependent on address sent to, etc) might be better acheived
with something like procmail.

> Then I have a question regarding address books - is there support
> for something alike in mutt??

There are aliases, which allow you to have nicknames for all your
contacts, and these can be browsable. However, name, address, telephone
and all that is outside the scope of aliases in mutt.

> Ps.: could you please CC me answers cause I'm not on the list.

I didn't think this list could be posted to by non members. I am now
going to have to find your address and copy-paste it up to the CC line.
Luckily I included your address in my attribution line in my .muttrc, and
now I have a good reason to have quoted it in my reply...

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:56.00% see www.mersenne.org]
IDIOT, n - A member of a large and powerful tribe whose influence in human
affairs has always been dominant and controlling.  -- Ambrose Bierce
[Arbitrary quotes signature rotation, a simple bash script by Simon White]



Re: mailbox question

2002-03-25 Thread Thorsten Haude

Moin,

* Matthias Weiss <[EMAIL PROTECTED]> [02-03-25 22:26]:
>I'm subscribed to several mailing lists which are sent
>to 2 mail accounts. I'm using fetchmail to retrieve the
>mails that are then stored in /var/spool/mail/matthias.
>
>I'd like mutt to check whether a mail came from a mailing
>list and display only those mail at ones that belong to
>the same mailing list. I'd then want to switch between
>the list with some key command.
>When I end my mutt session I'd want mutt to store the
>read mails in seperate mail boxes, each for every mailing
>list I'm subscribed.
>Those remaining mails that don't belong to a mailing list should be
>moved to a general list.
>
>Is that possible with mutt and if yes how can I do this???
OK, what I and some others do is we use a filter to sort incoming
mails into different mailboxes. Mutt can then see which mailboxes have
new mails an display them right away.
If you want to try that system, have a look at Maildrop, which is a
mailfilter with quite powerful features and an easy rule language.

I guess you can also build the exact same thing you describe above.
Start by writing Mutt macros to limit the mails to that of the single
lists ('~t [EMAIL PROTECTED]'), then write another macro
which moves the mail and which I have no idea how to do right now.

>Then I have a question regarding address books - is there support
>for something alike in mutt??
I heard something about that, but it may have been a patch. Did you
look for it in the manual?
At the very least, you can do LDAP queries.

Thorsten
-- 
Intolerant people should be shot.



Re: mailbox question

2000-01-16 Thread Edmund GRIMLEY EVANS

Oliver Groschopp <[EMAIL PROTECTED]>:

> my mutt-users mailbos has over 3000 mails. I want to move all mails
> from 1999 in mutt-users-1999.
> 
> Is there a way (Perl-Script, ...)?

If you've got a reasonably fast auto-repeat on your keyboard, it's
probably quickest to just sort the mailbox by date and either tag the
messages you want or the messages you don't want, whichever are fewer,
by holding down 't'.

I'm sure other people will suggest much clever solutions, but are they
really faster to implement?

If it were 300 messages, on the other hand ...