CC: folder-hook with same From:

2002-08-16 Thread Saku Ytti

When I'm answering to a mail sent to a work mailing list I want to
change my From to the mailing list address and also CC to the mailing
list address so that replier doesn't have to honor reply-to and he
will never reply to me directly but always to the list. And also
other people at work reading the list will see my reply.

Now I already excluded reply-to, because not everyone honors it,
also Bcc doesn't seem good alternative since people at work seem to
have difficulties with their procmail rules to filter them to correct
folders (something I cannot change). 

Problem is, mutt doesn't allow writing Cc to same address as From,
maybe a sanity check, I don't know. I think this used to work
long time ago in mutt (~2 years). Anyone know if it would be 
still possible by some evil kludge.

This is what I'm looking for:
folder-hook list 'my_hdr From: My Name list@address
folder-hook list 'my_hdr Cc: List list@address

Thanks,
-- 
  ++ytti



Re: Quoting the signature in replies (yes, I want)

2002-08-16 Thread Stephane Bortzmeyer

On Tue, Aug 13, 2002 at 08:32:29AM -0400,
 Rob Reid [EMAIL PROTECTED] wrote 
 a message of 48 lines which said:

 But you're breaking it for the 90% or whatever of messages that have proper
 formatting.

Right but it is easier than education people :-{
 
 You can also try explaining to your correspondents why they shouldn't use
 ^-- \n except at the start of a signature.

And that they should not use Outlook either :-) Thanks to the
technical tips.



Re: how to view -hook list -- show-hook-list

2002-08-16 Thread Vikram Goyal

On Mon, Aug 12, 2002 at 09:50:20PM +0200, Sven Guckes wrote:
 to write these to a file so he can monitor them.
 a menu would be nicer, of course, but... bloat?
 
 Sven
of-course not but an added functionality.
-- 
Vikram Goyal [EMAIL PROTECTED]



Re: vi-style keybindings for mutt

2002-08-16 Thread Ken Weingold

On Fri, Aug 16, 2002, Sven Guckes wrote:
  Oh, I have a feeling it's more difficult than I want it
  to be, but I would like the change (I hit esc just
  about every time I go to edit a string in mutt).
 
 welcome to the club! ;-)

Ooh, can I join too?  Not for mutt, but when I have to use some
Windows mailers, I am hitting ESC all over the place in the editors.
Sometimes with less than expected results. :(


-Ken, vim as an editor, emacs on the command line





Re: CC: folder-hook with same From:

2002-08-16 Thread Michael Tatge

Saku Ytti ([EMAIL PROTECTED]) muttered:
 Problem is, mutt doesn't allow writing Cc to same address as From,
 maybe a sanity check, I don't know.

Hm, I can't reproduce that here. Mutt 1.4i

 This is what I'm looking for:
 folder-hook list 'my_hdr From: My Name list@address
 folder-hook list 'my_hdr Cc: List list@address

This works here, too. Sure you don't have send-hooks which set From: in
any way?

HTH,

Michael
-- 
I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt-` Taylor, announcing DOOM for Linux)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: CC: folder-hook with same From:

2002-08-16 Thread Michael Tatge

Saku Ytti ([EMAIL PROTECTED]) muttered:
 This is what I'm looking for:
 folder-hook list 'my_hdr From: My Name list@address
 folder-hook list 'my_hdr Cc: List list@address
   ^  ^
Btw. the missing ' is a copy/paste error I presume.

Michael
-- 
We come to bury DOS, not to praise it.
(Paul Vojta, [EMAIL PROTECTED], paraphrasing a quote of Shakespeare)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: hook-list menu

2002-08-16 Thread Sven Guckes

* On Mon, Aug 12, 2002 at 09:50:20PM +0200, Sven Guckes wrote:
 to write these to a file so he can monitor them.
 a menu would be nicer, of course, but... bloat?

* Vikram Goyal [EMAIL PROTECTED] [2002-08-16 12:34]:
 of-course not but an added functionality.

the distinction between bloat and feature
are usually subjective to one's preferences.

i doubt that many users will use such a menu.
besides - what shall this menu offer?

of course, this adds another menu
with default bindings and commands.

i suppose there you would use it to list the rules,
show sublists by pattern, add and remove entries,
and rearrange the order of them, and then maybe
write out the current list to some file.

how much will such a menu add in size?
now, if it can be dis/enabled at compile time
and  if it adds less than, say, 20K, - fine!

then again, should there be a menu foer each kind of hook?
what about mixed hook commands?

Vikram - can you answer these questions for me?

Sven



Re: hook-list menu

2002-08-16 Thread David Ellement

On 020816, at 18:23:02, Sven Guckes wrote
 * On Mon, Aug 12, 2002 at 09:50:20PM +0200, Sven Guckes wrote:
  to write these to a file so he can monitor them.
  a menu would be nicer, of course, but... bloat?
 
 * Vikram Goyal [EMAIL PROTECTED] [2002-08-16 12:34]:
  of-course not but an added functionality.
 
 the distinction between bloat and feature
 are usually subjective to one's preferences.
 
 i doubt that many users will use such a menu.
 besides - what shall this menu offer?

About three years ago, Byrial Jensen had a patch provided hook
menus.  It listed hooks, and allowed one to tag and delete hooks (if
I recall correctly).

-- 
David Ellement



how to view -hook list was not: hook-list menu but: how to view -hook list -- show-hook-list

2002-08-16 Thread Gregor Zattler

Hi Sven,
* Sven Guckes [EMAIL PROTECTED] [16. Aug. 2002]:
 * Vikram Goyal [EMAIL PROTECTED] [2002-08-16 12:34]:

 Vikram - can you answer these questions for me?

I can -- i was the original poster.


  of-course not but an added functionality.
[...]
 i suppose there you would use it to list the rules,
 show sublists by pattern, add and remove entries,
 and rearrange the order of them, and then maybe
 write out the current list to some file.
[...] 
 then again, should there be a menu foer each kind of hook?
 what about mixed hook commands?

You are the one who mentioned menus with editing functionality. I
would be perfectly satisfied if i could see a dump of hooks, so i
can debug my configuration. That's all.

I don't even think such a menu would be very useful: Hooks are
for automated mail handling, so there is notwendig much sense in
setting, moving, editing them ... exept ... if you could save the
hook-lists and load them on startup.


Ciao, Gregor
-- 
The future is here. It's just not widely distributed yet.
-- William Gibson



spamassassin

2002-08-16 Thread Kevin Coyner


I recently installed Spamassassin and have been successfully using it
with Mutt and Procmail.  So far it's doing a great job of catching spam,
but the ocassional one does get through. 

When one does get through, I've been submitting it by hitting S in the
index, which pipes it to spamassassin -d.  But everytime I do this, I
get the following message at the bottom of Mutt:

mailcap entry for type audio/x-wav not found

followed by Press Any Key to Return (which I would expect).

Any idea why I might be getting the mailcap entry message?  Improperly
config'd mailcap?  Maybe, but why would it be looking for audio/x-wav
files?

Thanks in advance for any tips.

Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg30313/pgp0.pgp
Description: PGP signature


Re: spam filter

2002-08-16 Thread Andre Berger

* Rob 'Feztaa' Park [EMAIL PROTECTED], 2002-07-29 19:08 -0400:
 Alas! Andre Berger spake thus:
  By the way, what would an exmaple
  procmail rule to add a sender to the spamassassin blacklist look
  like?
 
 Probably something along the lines of this (but I'm a little rusty;
 the flags are probably wrong):
 
 :0 Wh:
 * some spam heuristic, like all caps subject lines
 |grep ^From: |some sed to extract info from the header  killfile
 :0 a:
 spamfolder

This didn't work as expected,

:0 c:
* ^X-Spam-Status: Yes
| grep ^From: | grep @ | grep -v lists.debian | grep -v uzscd5 | grep -v 
|berger.150 | grep -v andre.berger | grep -v -e ^$ | sed -e 's/ *(.*)//; s/.*//; 
|s/.*[:] *//'  $HOME/.procmail/blacklist

:0:
* ^X-Spam-Status: Yes
spamblock

does, at least for me...

-Andre



msg30314/pgp0.pgp
Description: PGP signature


Re: spam filter

2002-08-16 Thread Mike Erickson

* Andre Berger ([EMAIL PROTECTED]) wrote:
 * Rob 'Feztaa' Park [EMAIL PROTECTED], 2002-07-29 19:08 -0400:
  Alas! Andre Berger spake thus:
   By the way, what would an exmaple
   procmail rule to add a sender to the spamassassin blacklist look
   like?

Read `perldoc Mail::SpamAssasUser:Conf`. There are blacklist entries you
can put in your ~/.spamassassin/user_prefs file that do this much more
elegantly and easily. An excerpt:

   blacklist_from [EMAIL PROTECTED]
   Used to specify addresses which send mail that is
   often tagged (incorrectly) as non-spam, but which the
   user doesn't want.  Same format as whitelist_from.

Note that is per-user, which I think is what you want.

hth,

mike

  Probably something along the lines of this (but I'm a little rusty;
  the flags are probably wrong):
  
  :0 Wh:
  * some spam heuristic, like all caps subject lines
  |grep ^From: |some sed to extract info from the header  killfile
  :0 a:
  spamfolder
 
 This didn't work as expected,
 
 :0 c:
 * ^X-Spam-Status: Yes
 | grep ^From: | grep @ | grep -v lists.debian | grep -v uzscd5 | grep -v 
berger.150 | grep -v andre.berger | grep -v -e ^$ | sed -e 's/ *(.*)//; s/.*//; 
s/.*[:] *//'  $HOME/.procmail/blacklist
 
 :0:
 * ^X-Spam-Status: Yes
 spamblock
 
 does, at least for me...






msg30315/pgp0.pgp
Description: PGP signature


Re: spamassassin - mailcap - audio/x-wav

2002-08-16 Thread Sven Guckes

* Kevin Coyner [EMAIL PROTECTED] [2002-08-16 19:02]:
 I recently installed Spamassassin and have been successfully
 using it with Mutt and Procmail.  So far it's doing a great
 job of catching spam, but the ocassional one does get through.

 When one does get through, I've been submitting it by
 hitting S in the index, which pipes it to spamassassin -d.

  -dRemove SpamAssassin reports from a mail message and print

why do you do this?  what is the intention?  do you want to
*change* the message?  or simply view it without the report?

i suppose S is a macro?  how is it defined, exactly?

 But everytime I do this, I get the following
 message at the bottom of Mutt:
   mailcap entry for type audio/x-wav not found
 followed by Press Any Key to Return (which I would expect).

 Any idea why I might be getting the mailcap entry message?
 Improperly config'd mailcap?  Maybe, but
 why would it be looking for audio/x-wav files?

come on - why should we try to guess your setup?
post your macro and your mailcap entries!

Sven