Re: multiple mailboxes for mailing lists?

2000-08-21 Thread Gary

On Mon, Aug 21, 2000 at 10:30:30AM +0100 or thereabouts, Telsa Gwynne wrote:
> On Sun, Aug 20, 2000 at 03:36:52PM -0500 or thereabouts, Gary wrote:
> > On Sun, Aug 20, 2000 at 03:14:22PM +0200 or thereabouts, Alex Farber wrote:
  
> > Alex, One of the best procmails / muttrc's that I have seen for the
> > newbieis from Telsa on her webpage. You can find it off of the
> > Mutt.org site.  She spent a lot of time commenting on every aspect,
> > and when I first started out using Mutt, I was able to pick up things
> > very quickly by seeing what she had written -- how it all fit
> > together. 

> Thank you so much! That's how I hoped it would work :)
> 
> Beware: it is for Mutt-1.0 and all the mailing list stuff will
> break for Mutt-1.2. There is a README on the mutt.org site about
> moving from 1.0 to 1.2. Eventually I shall move myself, and I
> shall put a "what this looks like for 1.2" version there.
 
> http://www.linux.org.uk/~telsa/BitsAndPieces/cave.html 
> 
> Telsa
> 
> PS If you copy it, the other default you will want to change from
> mine is the printer stuff. "lpr" is much more likely than "lpr -P lp0"
> for most people.

  Yep, I found that out.

Telsa, just wanted to thank you.  Your work has helped me
tremendously, and if it wasn't for your instruction and detailed
commenting on the "paperwork" side, and Glyn's Millington's immense
effort in personal time and help on setting me up file wise, when I
was a complete newbie altogether, I would have never started using
Mutt.  I now am extremely comfortable with it and have made numerous
personalized macros, additions, etc. You gave me an excellent track to
run on.

-- 
Best regards,
Gary 

Today's thought: 
I believe the only time the world beats a path to my door is when I'm
in the bathroom. 




Re: multiple mailboxes for mailing lists?

2000-08-21 Thread Telsa Gwynne

On Sun, Aug 20, 2000 at 03:36:52PM -0500 or thereabouts, Gary wrote:
> On Sun, Aug 20, 2000 at 03:14:22PM +0200 or thereabouts, Alex Farber wrote:
>  
> > Maybe it says how clueless I am, maybe - that mutt is not complete. It's
> > not a flame, just wanted to let you know about some different opinion.
> 
> Alex, One of the best procmails / muttrc's that I have seen for the
> newbieis from Telsa on her webpage. You can find it off of the
> Mutt.org site.  She spent a lot of time commenting on every aspect,
> and when I first started out using Mutt, I was able to pick up things
> very quickly by seeing what she had written -- how it all fit
> together.  Actually, you can just copy hers and change the appropriate
> mbox names, etc, and you will be up and running in no time. 

Thank you so much! That's how I hoped it would work :)

Beware: it is for Mutt-1.0 and all the mailing list stuff will
break for Mutt-1.2. There is a README on the mutt.org site about
moving from 1.0 to 1.2. Eventually I shall move myself, and I
shall put a "what this looks like for 1.2" version there.

http://www.linux.org.uk/~telsa/BitsAndPieces/cave.html 

Telsa

PS If you copy it, the other default you will want to change from
mine is the printer stuff. "lpr" is much more likely than "lpr -P lp0"
for most people.



Re: multiple mailboxes for mailing lists?

2000-08-20 Thread Tomasz Olszewski

Hello Mutt Users!
On nie 20 sie 2000 20:53:02 GMT Jesper Holmberg wrote:

> procmail - not much work is need to set up the things you want to get
> done. I could mail you my .procmailrc (very, very simple) if you want
> it.

I am not sure (because I write my files using only vim :)), but I think
there is a rule file (or whatever it is called) for "dotfile generator"
(okay, I've never seen it, but I've heard of it :)) that should help
you.

> sendmail - have you tried postfix? It also practically works
> out-of-the-box.

And if you don't need so featured mta you can look at Masqmail. It is a
very simple mta designed to work only on host without (parent?) internet
connection.  AFAIK the current version is 0.1.0. Go to
http://www.innominate.org/~oku/ and try it :) Oh, there is (was maybe?)
a bug in 0.1.0 release. If you won't specify the allowed_rcpt_domains
variable, Masqmail won't send any mail outside your computer. The
solution: you can simply specify that variable or make a little change
to the route.c file. You have to comment out the following two lines
(these are lines number: 172, 173):
if(rcpt_list == NULL)
return;

-- 
Tomasz Olszewski | [EMAIL PROTECTED]
"W ludziach więcej rzeczy zasługuje na podziw niż na pogardę." --
Albert Camus  



Re: multiple mailboxes for mailing lists?

2000-08-20 Thread Lars Hecking


> such doesn't need/want to be an do-it-all solution. Saying that mutt
> is incomplete is like saying Netscape is incomplete since it doesn't
> boot your hardware and handles running all other software on your
> system (although with Mozilla this seem to be what the developers are
> aiming at).

 Well, netscape *is* incomplete. But thanks to St. IGNUcius,
 we have Emacs ...

 :-P




Re: multiple mailboxes for mailing lists?

2000-08-20 Thread Luke Ravitch

On Sun, Aug 20, 2000 at 08:53:02PM +0200, Jesper Holmberg wrote:

> fetchmail - have you tried fetchmailconf? It allows you to graphically
> do all the settings required, not much harder than Netscape.

Easier than Netscape!  You don't need to wade through that horrid
preferences menu.  fetchmailconf is a beautiful example of an
easy-to-use graphical front-end to a very powerful (albeit narrowly
focused--a Good Thing) program.

> procmail - not much work is need to set up the things you want to get
> done. I could mail you my .procmailrc (very, very simple) if you want
> it.

The format is kind of funny looking.  Looks way more complicated than
it is.  Setting up recipes to equal Netscape's functionality is easy
if you have some examples to look at.  And then, if you ever want to
do something more, you already have the basic infrastructure.

> sendmail - have you tried postfix? It also practically works
> out-of-the-box.

Okay, so this area is kind of a pain.  I use Qmail (also easy to
configure) with Serialmail.  Works like a champ.  And nobody regrets
learning crontab (use it so that Serialmail will run at regular
intervals--and it's really pretty simple, just a matter of learning
the syntax).

There's a lot of power in having tools that do just one thing and do
it well.  For example, if something better than, say, procmail comes
out, I just plug it in where procmail was and don't have to change
anything else.  Same goes with any of the other tools in the mail
pipeline.  If I ever get bored of Mutt... (just kidding!)  Seriously,
though.  It takes more initial investment of time and learning, but
this really is a better way.

Hope you stick with it, Alex.  You've come this far.  If you need help
that's off topic for this list, you can email me directly.  I'll _try_
to help.  Happy computing!

-- 
Luke



Re: multiple mailboxes for mailing lists?

2000-08-20 Thread Gary

On Sun, Aug 20, 2000 at 03:14:22PM +0200 or thereabouts, Alex Farber wrote:
 
> Maybe it says how clueless I am, maybe - that mutt is not complete. It's
> not a flame, just wanted to let you know about some different opinion.

Alex, One of the best procmails / muttrc's that I have seen for the
newbieis from Telsa on her webpage. You can find it off of the
Mutt.org site.  She spent a lot of time commenting on every aspect,
and when I first started out using Mutt, I was able to pick up things
very quickly by seeing what she had written -- how it all fit
together.  Actually, you can just copy hers and change the appropriate
mbox names, etc, and you will be up and running in no time. 

 --
 Best regards,
 Gary

Today's thought:
If you look like your passport picture, you probably need the trip. 


 PGP signature


Re: multiple mailboxes for mailing lists?

2000-08-20 Thread Jesper Holmberg

Hi Alex!

I agree with you that the traditional Unix way of setting up e-mail is
a bit more challenging than the Netscape/OE/Eudora/... way. It sure
required a whole lot of work for me as well when I tried to get
everything up and running 'bout a year ago.

But, as often is the case, the rewards are proportional to the work
you put into this. A well working mutt-fetchmail-procmail-sendmail
system beats everything I've ever tried. It's well worth the work, IMHO.

I think you're wrong in your suggestion that mutt is incomplete; this
is a mail program designed to work within a Unix mail system, and as
such doesn't need/want to be an do-it-all solution. Saying that mutt
is incomplete is like saying Netscape is incomplete since it doesn't
boot your hardware and handles running all other software on your
system (although with Mozilla this seem to be what the developers are
aiming at).

Now, I really don't think the work to set up mutt and all the rest is
totally overwhelming nor impossible. Why not give it one more try?

mutt - works practically out-of-the-box, and this is the friendliest
mailing list in existance.

fetchmail - have you tried fetchmailconf? It allows you to graphically
do all the settings required, not much harder than Netscape.

procmail - not much work is need to set up the things you want to get
done. I could mail you my .procmailrc (very, very simple) if you want
it.

sendmail - have you tried postfix? It also practically works
out-of-the-box.

I don't know on what system you're running, but this link might give
you some overview of all this:

http://www.mandrakeuser.org/connect/cmail.html

Hope you stay with us!

Jesper

* On Sunday, August 20, Alex Farber wrote:
> Hi,
> 
> I would like to thank the people at this mailing list for their help.
> However I am switching back to netscape for reading my mails and news.
> 
> I didn't like that netscape is so slow, and that I can't use my
> favourite
> editor (Vim) when composing messages. So I tried switching to slrn and 
> mutt, which many people recommend. But now, after 5 days reading the
> docs about fetchmail+procmail+mutt, I see that it is easier for me to
> enter the POP and NNTP settings into netscape, than setting 4 different
> programs to run. I just click on the "Get new messages" and everything
> will be downloaded and even separated into different mailboxes for me.
> 
> Maybe it says how clueless I am, maybe - that mutt is not complete. It's
> not a flame, just wanted to let you know about some different opinion.
> 
> Regards
> Alex
> 


-- 
Jesper Holmberg"But how can one be warm alone?"



Re: multiple mailboxes for mailing lists?

2000-08-20 Thread Alex Farber

Hi,

I would like to thank the people at this mailing list for their help.
However I am switching back to netscape for reading my mails and news.

I didn't like that netscape is so slow, and that I can't use my
favourite
editor (Vim) when composing messages. So I tried switching to slrn and 
mutt, which many people recommend. But now, after 5 days reading the
docs about fetchmail+procmail+mutt, I see that it is easier for me to
enter the POP and NNTP settings into netscape, than setting 4 different
programs to run. I just click on the "Get new messages" and everything
will be downloaded and even separated into different mailboxes for me.

Maybe it says how clueless I am, maybe - that mutt is not complete. It's
not a flame, just wanted to let you know about some different opinion.

Regards
Alex




Re: multiple mailboxes for mailing lists?

2000-08-19 Thread Suresh Ramasubramanian

Alex Farber wrote:

> I am reading the mutt documentation already for 4 days
> (at evenings), but still haven't figured out, how do
> I sort messages from different mailing lists in different
> "mailboxes". I would like to set it up the same way, like

man procmail ... filter on some unique header (usually ^Sender will do
the trick).

>   subscribe [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> produces the error message:
>   Error in /home/alex/.muttrc, line 233: subscribe: unknown command
>   source: errors in /home/alex/.muttrc

'subscribe' only tells mutt that the mail is a list mail.  Also, in
older mutts like yours, it does not exists.  Use the (more or less
equivalent) lists command.



Re: multiple mailboxes for mailing lists?

2000-08-19 Thread Mikko Hänninen

Alex Farber <[EMAIL PROTECTED]> wrote on Sun, 20 Aug 2000:
> thanks for your reply. I have read the "man fetchmail" (some
> parts where hard to understand there) and still don't know, how
> to separate my incoming mail into several files which I could
> poll with mutt.

I think you missed the part where I said "have something like procmail
or maildrop filter the emails" -- I admit I didn't emphaise it much.

The idea of unix is to have a lot of small (?) program, each doing just
one thing, but doing that one thing well.  In this situation, it applies
like this:

- fetchmail -- used to download your emails from the POP server,
  and then just passes those emails on to a "mail delivery" program
- procmail (or maildrop) -- a program for filtering emails, gets
  the emails from fetchmail and filters them according to the rules
  you've set up
- mutt -- only used for reading and browsing your emails

You see, there's a separate program for each step.  Programs such as
Netscape combine the all three into one, which is part of the reason
why they're such huge beasts.


So the reason why you couldn't figure out how to filter emails with
fetchmail was that it doesn't do mail filtering. :-)

> If save-hook isn't for separating incoming messages, what
> is its purpose in mutt then?

The purpose is to give you a default value for which mail folder to save
an email into, when you press the s key (save function) in Mutt, to
save/move a message into a different folder.

eg. when I read the mutt-users list mail, I've set up a save-hook that
will use =mutt as the default save folder.  When I press s(ave) on any
mutt-users list email, the prompt reads =mutt (which is what I usually
want there), and I can just press enter to accept the choice.  For
other kind of emails, I have different save-hooks.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Today's subliminal message is " "



Re: multiple mailboxes for mailing lists?

2000-08-19 Thread Alex Farber

Hi,

On Sat, Aug 19, 2000 at 03:50:18PM +0300, Mikko H?nninen wrote:
> Alex Farber <[EMAIL PROTECTED]> wrote on Sat, 19 Aug 2000:
> > how do
> > I sort messages from different mailing lists in different
> > "mailboxes". I would like to set it up the same way, like
> > it is done in Netscape: if "To:" or "Cc:" contains
> > [EMAIL PROTECTED], then put the message not in the "Inbox",
> > but into the "apache" file.
> 
> You can't really do this with Mutt.  A better solution is to have
> something like procmail or maildrop filter the emails at delivery
> time.  If you're using POP to download your emails, then you can't
> make Mutt's built-in, very limited POP support to pass the mails
> to procmail -- therefore it is recommended that you should use
> fetchmail to download the emails.  It's better to use for this
> purpose anyway...

thanks for your reply. I have read the "man fetchmail" (some
parts where hard to understand there) and still don't know, how
to separate my incoming mail into several files which I could
poll with mutt. Like the messages addressed to [EMAIL PROTECTED] 
should be appended to /home/alex/Mail/openbsd and the messages
to [EMAIL PROTECTED] to the file /home/alex/Mail/modperl. And 
the rest should go to /var/mail/alex (or should I better use the
file /home/alex/Mail/inbox ?).

Could someone please provide me an example? 

Here is what I have tried sofar (.fetchmailrc):

  set postmaster "alex"
  set bouncemail
  set properties ""
  poll mail with proto POP3
 user alex there with password XXX is alex here

And .muttrc:

  lists [EMAIL PROTECTED] [EMAIL PROTECTED]

  mailboxes ! =modperl =openbsd
  save-hook [EMAIL PROTECTED] +modperl
  save-hook [EMAIL PROTECTED] +openbsd

If save-hook isn't for separating incoming messages, what
is its purpose in mutt then?

Thank you
Alex
   






Re: multiple mailboxes for mailing lists?

2000-08-19 Thread Michael Lyngbøl

On Sat, Aug 19, 2000 at 02:09:23AM +0200, Alex Farber wrote:
> I am reading the mutt documentation already for 4 days
> (at evenings), but still haven't figured out, how do
> I sort messages from different mailing lists in different
> "mailboxes". I would like to set it up the same way, like
> it is done in Netscape: if "To:" or "Cc:" contains
> [EMAIL PROTECTED], then put the message not in the "Inbox",
> but into the "apache" file.

You'll have to use procmail (http://www.procmail.org/) to do the job.

Put some ting like this in ~/.procmailrc to sort out mail to
mutt-users-list:

# mutt users mailinglist
:0:
* ^TOmutt-users@(gbnet.net|mutt.org)
mailing-lists/mutt-users

You'll also need the following in ~/.forward:

|/usr/local/bin/procmail


best regards
/Michael




Re: multiple mailboxes for mailing lists?

2000-08-19 Thread Mikko Hänninen

Alex Farber <[EMAIL PROTECTED]> wrote on Sat, 19 Aug 2000:
> I am reading the mutt documentation already for 4 days
> (at evenings), but still haven't figured out, how do
> I sort messages from different mailing lists in different
> "mailboxes". I would like to set it up the same way, like
> it is done in Netscape: if "To:" or "Cc:" contains
> [EMAIL PROTECTED], then put the message not in the "Inbox",
> but into the "apache" file.

You can't really do this with Mutt.  A better solution is to have
something like procmail or maildrop filter the emails at delivery
time.  If you're using POP to download your emails, then you can't
make Mutt's built-in, very limited POP support to pass the mails
to procmail -- therefore it is recommended that you should use
fetchmail to download the emails.  It's better to use for this
purpose anyway...

> alex:Mail {187} mutt -v
> Mutt 1.0.1i (2000-01-18)

> Also, "subscribe" does not work for me:

The reason is above -- the "subscribe" command only appeared in Mutt
version 1.1.x (I forget what) and later.  I do recommend to you that
you do upgrade to 1.2.5, the latest stable release.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
I wish life had a scroll-back buffer.