Re: mutt + seperate folder for lists

2001-02-06 Thread will trillich
On Fri, Feb 02, 2001 at 10:40:26PM -0800, Charlie Yao wrote:
 There doesnt seem to be any harm in declaring both 'lists' and
 'subscribe' in your muttrc. I reccomend you see Tom Gilbert's .muttrc
 (lots of which I use) at http://linuxbrit.co.uk for a real nice setup.

cool resource. thanks!

-- 
See, if you were allowed to keep the money, you wouldn't
create jobs with it. You'd throw it in the bushes or
something.  But the government will spend it, thereby
creating jobs.  -- Dave Barry

[EMAIL PROTECTED]***http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Re: mutt + seperate folder for lists

2001-02-05 Thread Manoj Srivastava
Vinod == Vinod Kurup [EMAIL PROTECTED] writes:


 Vinod Like others have mentioned, procmail is the way to go. Here's
 Vinod a nice intro to that tool.

  http://www.ii.com/internet/robots/procmail/qs/

And when you are ready to migrate from procmail to something
 way more powerful and convenient (and with less obscure syntax,
 IMHO), you should try apt-cache show mailagent

manoj
-- 
Kennedy's Market Theorem: Given enough inside information and
unlimited credit, you've got to go broke.
Manoj Srivastava   [EMAIL PROTECTED]  http://www.debian.org/%7Esrivasta/
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Re: mutt + seperate folder for lists

2001-02-04 Thread Nathan E Norman
On Sat, Feb 03, 2001 at 10:21:36AM +0100, Preben Randhol wrote:
 will trillich [EMAIL PROTECTED] wrote on 03/02/2001 (10:12) :
  if he's using mutt, no munging of the reply-to field is
  necessary:
  
  to reply to the sender, use mutt's r key. that'll reply
  off-list to the sender, and nobody else will be the wiser.
  
  to reply PUBLICLY to a list, use mutt's L key. it looks for
  'x-mailing-list' headers and uses that as the reply-to, but only
  *IF* you've set up your ~/.muttrc to recognize the list name:
 
 Or you can use the g key which will send to both the list and the
 sender.

Except, given the conditions above, this is the wrong thing to do.
It's a list; use the reply to list function!

The world will be a better place when people start respecting
Mail-Followup-To:  :)

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgplEXppxRaDZ.pgp
Description: PGP signature


Re: mutt + seperate folder for lists

2001-02-03 Thread Charlie Yao
There doesnt seem to be any harm in declaring both 'lists' and
'subscribe' in your muttrc. I reccomend you see Tom Gilbert's .muttrc
(lots of which I use) at http://linuxbrit.co.uk for a real nice setup.

* will trillich ([EMAIL PROTECTED]) wrote:
 On Fri, Feb 02, 2001 at 01:28:00PM -0600, Nathan E Norman wrote:
  On Fri, Feb 02, 2001 at 01:12:55PM -0600, will trillich wrote:
   to reply PUBLICLY to a list, use mutt's L key. it looks for
   'x-mailing-list' headers and uses that as the reply-to, but only
   *IF* you've set up your ~/.muttrc to recognize the list name:
   
 # ~/.muttrc
 lists debian-user debian-www debian-doc magick-user
  ^
  Actually, if you want the Mail-Followup-To: header set so you don't
  get cc:ed, you should use subscribe instead of list.
  
  You are getting a Cc: of this message since your m-f-t is set
  accordingly (that is, you used list).
 
 i get two copies when that happens. one to me, one to the list
 (of which i'm a subscriber).
 
 i'll go nose around the docs to see what 'subscribe' does...
 
 -- 
 See, if you were allowed to keep the money, you wouldn't
 create jobs with it. You'd throw it in the bushes or
 something.  But the government will spend it, thereby
 creating jobs.  -- Dave Barry
 
 [EMAIL PROTECTED]***http://www.dontUthink.com/
 
 http://groups.yahoo.com/group/newbieDoc -- next week's
 newbie needs your brain: document your experience today!
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
--
Charlie Yao [EMAIL PROTECTED]
The greener grass on the other side is probably artificial turf.
- Unknown



Re: mutt + seperate folder for lists

2001-02-03 Thread Preben Randhol
will trillich [EMAIL PROTECTED] wrote on 03/02/2001 (10:12) :
 if he's using mutt, no munging of the reply-to field is
 necessary:
 
 to reply to the sender, use mutt's r key. that'll reply
 off-list to the sender, and nobody else will be the wiser.
 
 to reply PUBLICLY to a list, use mutt's L key. it looks for
 'x-mailing-list' headers and uses that as the reply-to, but only
 *IF* you've set up your ~/.muttrc to recognize the list name:

Or you can use the g key which will send to both the list and the
sender.

-- 
Preben Randhol  http://www.pvv.org/~randhol/ --
iMy favorite editor is Emacs!ESCbcwVimESC
 -- vim best-editor.txt



Re: mutt + seperate folder for lists

2001-02-02 Thread Thomas Guettler
On Thu, Feb 01, 2001 at 07:36:50PM -0800, Charlie Yao wrote:
 Hi, i was wondering how to make all debian-user msgs appear in a seperate 
 folder
 when i open mutt. Thanks in advance.

You can use procmail. The relevant section in .procmail looks like
this:

:0:
* [EMAIL PROTECTED]
|formail -i Reply-To: debian-user  debian-user

(formail sets the Reply-To-Field)

-- 
Thomas Guettler
Office: [EMAIL PROTECTED] www.interface-business.de
Private:[EMAIL PROTECTED]  http://yi.org/guettli



Re: mutt + seperate folder for lists

2001-02-02 Thread Preben Randhol
Thomas Guettler [EMAIL PROTECTED] wrote on 02/02/2001 (12:28) :
 On Thu, Feb 01, 2001 at 07:36:50PM -0800, Charlie Yao wrote:
  Hi, i was wondering how to make all debian-user msgs appear in a seperate 
  folder
  when i open mutt. Thanks in advance.
 
 You can use procmail. The relevant section in .procmail looks like
 this:
 
 :0:
 * [EMAIL PROTECTED]
 |formail -i Reply-To: debian-user  debian-user
 ^^^
 This is really not necessary as one can set
 hooks in mutt, but shouldn't this at least be:
 debian-user@lists.debian.org ?

Write in the .procmailrc (this assumes that you make a directory called
Mail in your home directory):

   MAILDIR=$HOME/Mail
   DEFAULT=$MAILDIR/mbox
   LOGFILE=$MAILDIR/from

   :0
   * ^X-Loop: debian-user@lists.debian.org
   Debian-User


You can then add rules if you want to seperate other lists as well.

One tip. If you get a lot of spam, then this rule is quite effective if
put at the end of the .procmailrc file:

   :0
   * [EMAIL PROTECTED]
   Junk

All mail that is not addresed to you will thus go to the Junk folder.
Note that if you subscribe to a new mailinglist, these mails will end up
here until you make a rule for this mailinglist.

To the end of your .muttrc file add:

   source ~/.mutt.personal


Then make a file called .mutt.personal where you put:

   mailboxes +mbox
   mailboxes +Debian-User


Now when you get a new mail in Debian-User you will get notified and you
jump to this folder by pressing c and Enter.

Hope it helps
-- 
Preben Randhol  http://www.pvv.org/~randhol/ --
iMy favorite editor is Emacs!ESCbcwVimESC
 -- vim best-editor.txt



Re: mutt + seperate folder for lists

2001-02-02 Thread Nathan E Norman
On Fri, Feb 02, 2001 at 01:07:47PM +0100, Preben Randhol wrote:
:0
* ^X-Loop: debian-user@lists.debian.org
Debian-User
 
 You can then add rules if you want to seperate other lists as well.

Of course, there's more than one way to do it.  If you're subscribed
to several debian lists, the following recipe is a winner:

# Debian lists ...
:0 
* ^X-Mailing-List: .*[[EMAIL PROTECTED]]
* ^X-Mailing-List: .*[] *\/[^ [EMAIL PROTECTED]
Mail/$MATCH/

I use maildir format; if you don't the trailing slash is not needed.

The following works well for spam (thanks craig sanders)(season to
taste):

## Spam filters
:0 
* ^TO([EMAIL PROTECTED])|(free4u2.com)
Mail/SPAM/

:0 E
*
^FROM([0-9]+@)|(@widexs.com)|([EMAIL PROTECTED])|(@sexyfun.net)
Mail/SPAM/

:0 E
* (^X-Advertisement:)|(^X-[0-9]: )
Mail/SPAM/

:0 E
* ^received:.*(cyber\-bomber|CLOAKED|from unverified source)
Mail/SPAM/

# impossible ip address in Received: line  - one of cyberpromo's
tricks.
:0 E
* ^Received.*\[[0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])
Mail/SPAM/

# now check the body of the message for spam
:0 BE
* (EVALUATING MULTI-LEVEL SALES PLANS|SOURCES FOR THE BEST MAILING LISTS|MAJOR 
CORPORATIONS AND MULTI-LEVEL SALES|HOW TO MAKE $250,000 THROUGH MULTI-LEVEL 
SALES)
Mail/SPAM/

:0 BE
* (CREDIT CARDS ACCEPTED|GROUND[ -]*FLOOR OPPORTUNITY|Removal 
instructions|Internet Market(ing|er)|apologize for any inconvenience|Bulk 
Email|using Extractor Pro)
Mail/SPAM/

Cheers,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpJB39JHTeJR.pgp
Description: PGP signature


Re: mutt + seperate folder for lists

2001-02-02 Thread Vinod Kurup
On Thu, Feb 01, 2001 at 07:36:50PM -0800, Charlie Yao wrote:
 Hi, i was wondering how to make all debian-user msgs appear in a seperate 
 folder
 when i open mutt. Thanks in advance.
 

Like others have mentioned, procmail is the way to go. Here's a nice intro
to that tool.

http://www.ii.com/internet/robots/procmail/qs/

-- 
_
Vinod Kurup, MD
email: [EMAIL PROTECTED]
phone: 617.277.2012
cell:  617.359.5990
http://www.kurup.com



Re: mutt + seperate folder for lists

2001-02-02 Thread Marc A. Donges
On Friday, February 02, 2001 at 10:07:41 (-0600), Nathan E Norman wrote:
 Of course, there's more than one way to do it.  If you're subscribed
 to several debian lists, the following recipe is a winner:
 
 # Debian lists ...
 :0 
 * ^X-Mailing-List: .*[[EMAIL PROTECTED]]
 * ^X-Mailing-List: .*[] *\/[^ [EMAIL PROTECTED]
 Mail/$MATCH/

Looks great. I currently have about a hundred lines in .procmailrc for
stuff like that.

But tell me, what happens if I send you mail with
X-Mailing-List: ../@lists.debian.org
in its headers? I honestly don't know what will happen...

Marc

-- 
  _ _  Marc A. Donges+49 791 51804
  'v'   [EMAIL PROTECTED]
 /   \   PGP-Key(DSA): 1024D/1C9ECFF2
  W W
 Fingerprint: 58B9 07A6 CBB1 7016 EB1D  7D35 EEBE 67DC 1C9E CFF2



Re: mutt + seperate folder for lists

2001-02-02 Thread David Wright
Quoting Marc A. Donges ([EMAIL PROTECTED]):

 But tell me, what happens if I send you mail with
 X-Mailing-List: ../@lists.debian.org
 in its headers? I honestly don't know what will happen...

Exactly what you would expect. There's no rocket science here.

If you add that header, and put in a spurious References: or copy
the Subject: from a debian-user posting on some boring (to me) topic,
you can send me an email that I'm unlikely ever to read because of
where my mutt threads it...

...Except - you'll also have to remove the To: header (because I
filter my own mail first) and rely on the envelope to deliver it here.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: mutt + seperate folder for lists

2001-02-02 Thread Gary Jones
On 2 Feb 2001, Nathan E Norman [EMAIL PROTECTED] wrote:

 The following works well for spam (thanks craig sanders)(season to
 taste):
 
 ## Spam filters
 :0 
 * ^TO([EMAIL PROTECTED])|(free4u2.com)
 Mail/SPAM/

I don't use procmail[1], so I don't know, but if it does rule 
processing in order, and exits after a match is found, you could just 
have a rule which catches all mail on which you're not in the To line 
(you need to have all your mailing lists rules first so that such 
mails, which have a similar construct, aren't binned my mistake). 
Very little spam will be directed to you directly, you'll be bcc'd on 
it, most likely.

[1] Little point at present, as I don't get any spam...

 # impossible ip address in Received: line  - one of cyberpromo's
 tricks.
 :0 E
 * ^Received.*\[[0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])

Are you sure this won't catch emails from IP addresses which aren't 
in dotted quad format? Like I say, I don't use procmail (and my reg-
ex is a bit rusty!)

 Mail/SPAM/
 
 # now check the body of the message for spam
 :0 BE

I guess these mean Norman didn't see his own message? :-)

-- 
Gary
Debian 2.1r4 (kernel v2.0.39); XFree86 3.3.6
Everything should be made as simple as possible, but not simpler.
(Einstein)



Re: mutt + seperate folder for lists

2001-02-02 Thread will trillich
On Fri, Feb 02, 2001 at 09:30:01AM +0100, Thomas Guettler wrote:
 On Thu, Feb 01, 2001 at 07:36:50PM -0800, Charlie Yao wrote:
  Hi, i was wondering how to make all debian-user msgs appear
  in a seperate folder when i open mutt. Thanks in advance.
 
 You can use procmail. The relevant section in .procmail looks
 like this:
 
 :0:
 * [EMAIL PROTECTED]
 |formail -i Reply-To: debian-user  debian-user
 
 (formail sets the Reply-To-Field)

if he's using mutt, no munging of the reply-to field is
necessary:

to reply to the sender, use mutt's r key. that'll reply
off-list to the sender, and nobody else will be the wiser.

to reply PUBLICLY to a list, use mutt's L key. it looks for
'x-mailing-list' headers and uses that as the reply-to, but only
*IF* you've set up your ~/.muttrc to recognize the list name:

# ~/.muttrc
lists debian-user debian-www debian-doc magick-user

--

using procmail to break up incoming mail to various folders, of
course, is still quite a delightful way to go.

-- 
See, if you were allowed to keep the money, you wouldn't
create jobs with it. You'd throw it in the bushes or
something.  But the government will spend it, thereby
creating jobs.  -- Dave Barry

[EMAIL PROTECTED]***http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Re: mutt + seperate folder for lists

2001-02-02 Thread Nathan E Norman
On Fri, Feb 02, 2001 at 01:12:55PM -0600, will trillich wrote:
 to reply PUBLICLY to a list, use mutt's L key. it looks for
 'x-mailing-list' headers and uses that as the reply-to, but only
 *IF* you've set up your ~/.muttrc to recognize the list name:
 
   # ~/.muttrc
   lists debian-user debian-www debian-doc magick-user
^
Actually, if you want the Mail-Followup-To: header set so you don't
get cc:ed, you should use subscribe instead of list.

You are getting a Cc: of this message since your m-f-t is set
accordingly (that is, you used list).

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton

[ for those who don't grok m-f-t, DONT CC: ME; i rtfl ]


pgpajZRxrvXUu.pgp
Description: PGP signature


Re: mutt + seperate folder for lists

2001-02-02 Thread will trillich
On Fri, Feb 02, 2001 at 01:28:00PM -0600, Nathan E Norman wrote:
 On Fri, Feb 02, 2001 at 01:12:55PM -0600, will trillich wrote:
  to reply PUBLICLY to a list, use mutt's L key. it looks for
  'x-mailing-list' headers and uses that as the reply-to, but only
  *IF* you've set up your ~/.muttrc to recognize the list name:
  
  # ~/.muttrc
  lists debian-user debian-www debian-doc magick-user
 ^
 Actually, if you want the Mail-Followup-To: header set so you don't
 get cc:ed, you should use subscribe instead of list.
 
 You are getting a Cc: of this message since your m-f-t is set
 accordingly (that is, you used list).

i get two copies when that happens. one to me, one to the list
(of which i'm a subscriber).

i'll go nose around the docs to see what 'subscribe' does...

-- 
See, if you were allowed to keep the money, you wouldn't
create jobs with it. You'd throw it in the bushes or
something.  But the government will spend it, thereby
creating jobs.  -- Dave Barry

[EMAIL PROTECTED]***http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



mutt + seperate folder for lists

2001-02-01 Thread Charlie Yao
Hi, i was wondering how to make all debian-user msgs appear in a seperate folder
when i open mutt. Thanks in advance.

Charlie Yao