Re: Announcing an Emacs mode for mutt configuration files

2002-04-19 Thread Dave Pearson

* Rob Reid [EMAIL PROTECTED] [2002-04-18 19:32:52 -0400]:

 All it does is syntax highlighting, and not even perfectly, but I like it.
 It's especially handy if like me you installed jed's muttrc.sl but use
 emacs far more often than jed.

I use:

,
| davep@hagbard:~$ head -7 /usr/local/share/emacs/site-lisp/muttrc-mode.el
| ;;; muttrc-mode.el --- Major mode to edit muttrc under Emacs
| 
| ;;; Copyright (C) 2000 Laurent Pelecq
| ;;;
| ;;; Author: Laurent Pelecq [EMAIL PROTECTED]
| ;;;
| ;;; $Id: muttrc-mode.el,v 2.12 2000/11/29 01:18:21 laurent Exp $
`

but, annoyingly, I can't remember where I got it from and I can't locate it
in the ELL or via Google.

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



[OT] using mutt like OE - KILL

2002-04-19 Thread Simon White

18-Apr-02 at 22:42, Sven Guckes ([EMAIL PROTECTED]) wrote :
 this also earns you a
 line in my killfile.

I checked up on Google Sven Guckes killfile to remind myself about
killfiles and work out what this actually meant. Sven, all your pages are
access forbidden, and I see you are redirecting people to the Google
cached versions. What happened to the webserver?

 --
 Jr arrq xvyysvyrf gung npghnyyl *xvyy*!

I thought you weren't happy about seeing that quoted, and now you are
quoting it yourself...

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:79.26% see www.mersenne.org]
Man will never be free until the last king is strangled with the entrails
of the last priest.  -- Diderot
EBG13, rnfl jvgu Ivz, V org n ybg bs crbcyr fgvyy qba'g trg vg gubhtu!



Re: setting envelope-from

2002-04-19 Thread Volker Kuhlmann

  how can I set the envelope-from independently from From: ? As is, mutt

 AFAIK envelope_from does nothing but invokes sendmail with parameter
 -f From:-Header

Correct

 By setting sendmail directly you can call it with the -f paramater
 set freely, i.e. to your real email adress. This is independent from
 the setting of From:

Oh - ok, great. Good trick.

But I'll have a problem with this:

~~/.muttrc:

folder-hook .*-List set sendmail=/usr/sbin/sendmail -oem -oi
folder-hook .*-List set from=
folder-hook .*-List set envelope_from=yes

folder-hook XXX.*-List source ~/.muttrc.obscurefrom

~~/.muttrc.obscurefrom:

set sendmail=/usr/sbin/sendmail -oem -oi -f real@...
set from=hidden@...
set envelope_from=no

When I c folder to XXX-List, I get an error:

-oem: unknown variable

which I can't make sense of. Can anyone enlighten me?

Thanks,

Volker

-- 
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.orcon.net.nz/ Please do not CC list postings to me.





Re: subject munging is bad!

2002-04-19 Thread Sven Guckes

* Michal 'hramrach' Suchanek [EMAIL PROTECTED] [2002-04-18 08:21]:
 BTW: Some lists tag the subject with [listname] and are aesy to filter
 even on less capable systems like freemail services.

Subject munging just takes away space from the Subject lines
and creates even more problems than it solves (see sig).
procmail users won't ever have the need for Subject tags.

once you understand that you will never ever set up maillist
with subject tags - unless, of course, the majority of the
subscribers is a bunch of losers with crappy mailers.  ;-)

Sven

-- 
Sven Guckes   [EMAIL PROTECTED]
MailList  (A Guide to)  Life on Mailing Lists
MailList http://www.math.fu-berlin.de/~guckes/faq/maillist.html
MailList HOWTO edit messages and avoid basic mistakes



message/partial

2002-04-19 Thread Patrik Wallstrom

I just received a file split up into 87 emails. Is there any way for
mutt to decode those mails, all of which are of the MIME type
message/partial?

-- 
patrik_wallstrom-foodfight-[EMAIL PROTECTED]+46-709580442



setting 'From' header

2002-04-19 Thread Will Yardley

so i know this *should* be easy, but i haven't had any luck.

if i try to set my header like:
 From: [EMAIL PROTECTED] (Will Yardley)

instead of:
 From: Will Yardley [EMAIL PROTECTED]

the message still comes across like the second example, even if i
comment out 'set envelope_from', 'set realname' and anything else
remotely related to setting my from header.

i've tried doing 'unmy_hdr From:' first, and using various combinations
of send-hooks, but still no love.  any ideas?

-- 
Will Yardley
input: william  @ hq . newdream . net . 




Re: using mutt like OE - KILL

2002-04-19 Thread Dave Pearson

* Sven Guckes [EMAIL PROTECTED] [2002-04-18 22:42:51 +0200]:

 --
 Jr arrq xvyysvyrf gung npghnyyl *xvyy*!

Including killing those who don't use proper sig dashes, presumably?

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: AW: IMAP to Exchange

2002-04-19 Thread Simon White

David T-G (1st level) and Mutt-Users (2nd level)...
 % I already searched the newsgroups concerning imap and mutt and didn´t find 
anything helpful. 
 % But i am seeking to read my mailinglists and news on exchange with my mutt. 
 
 Unless you can come up with how it's already been done, I don't expect
 that you'll find it.  Public Folders and news are not the same as mail.

Hello

I got IMAP with Exchange working with PINE before I was enlightened. I
could get all my mail folders working nicely, but not Public Folders (not
much anyway, although I could see some mail header-like data) and the
Calendar stuff. Appointments are email messages with a body that can be
parsed for the information required. There is even a PERL script on the
'net somewhere that converts these to iCal appointments.

On Mailing Lists:

You may be able to get these to work. Since I have no interest in getting
Mutt or any other IMAP client to work with this, I can't help you further,
but look at this which I found in a quick hunt:

http://www.extundo.com/gnus-imap/buggy-imap-servers.html

There is reference to an IMAP implementation because it is in coding an
IMAP backend that the person who wrote this page come up with it, the
command:
57 SELECT Public Folders/Mailing lists/Ionific internal discussion

appears to work, albeit with buggy flags. You may need to escape spaces
from your shell to get these working?

For those of you who won't surf to that page, I don't suppose there is any
need to tell you that Exchange's IMAP bugs take more space than any other
server on the list ;-)

On Public Folders:

The problem is that Public Folders are not mailboxes; they don't follow
standards. They use some kind of mailbox header-like style, but are not
browsable via an IMAP client. Not even Outlook Express IMAP mode has code
hacked into it to speak properly with Exchange. Exchange as a mail server
barely has POP and IMAP connectivity working properly, but anything else
is just a large waste of your time.

If you must use Exchange and browse all that stuff, I suggest Evolution
with the Ximian Connector for Exchange. Apparently that works pretty well,
however of note is the announcement from www.slipstick.com:

Ximian Connects UNIX/Linux PIM to Exchange 2000
Ximian Connector is now available to connect the Ximian PIM for UNIX and
Linux desktops to Exchange 2000. The Ximian user interface is very similar
to Outlook's and, with the connector, provides access to all data in a
user's mailbox except Journal and Notes folders. Group scheduling and
other collaboration features are built in. It does not, however, provide
support for Exchange public folders or out-of-office messages. (27 Mar)

Interesting, Public Folders are therefore strange beasts...

Notes: Exchange keeps all your mail (even if separated into folders) in
one huge .pst file. Maybe Exchange 2000 has changed this structure but it
was certainly the case for 5.5.

Conclusion: Exchange is just another Windows share on the network
/pretending/ to be a mail server ;-)

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:79.19% see www.mersenne.org]
When the bosses talk about improving productivity, they are never talking
about themselves.
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]



Re: setting envelope-from

2002-04-19 Thread Christoph Maurer

On 2002-04-19 Volker Kuhlmann wrote:
   how can I set the envelope-from independently from From: ? As is, mutt
 
  AFAIK envelope_from does nothing but invokes sendmail with parameter
  -f From:-Header
 
 Correct
 
  By setting sendmail directly you can call it with the -f paramater
  set freely, i.e. to your real email adress. This is independent from
  the setting of From:
 
 Oh - ok, great. Good trick.
 
 But I'll have a problem with this:
 
 ~~/.muttrc:
 
 folder-hook .*-List set sendmail=/usr/sbin/sendmail -oem -oi
 folder-hook .*-List set from=
 folder-hook .*-List set envelope_from=yes
 
 folder-hook XXX.*-List source ~/.muttrc.obscurefrom
 
 ~~/.muttrc.obscurefrom:
 
 set sendmail=/usr/sbin/sendmail -oem -oi -f real@...
 set from=hidden@...
 set envelope_from=no
 
 When I c folder to XXX-List, I get an error:
 
   -oem: unknown variable
 
 which I can't make sense of. Can anyone enlighten me?
 

But the first folder-hooks work?
Why don't you set the variables for XXX.*-List the same way then?

Regards,

Christoph 

-- 
Christoph Maurer - D - 52072 Aachen
mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de
On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook



Re: ZipLip - KillFile

2002-04-19 Thread Paul Cox

On Friday, Apr 19, 2002, Sven Guckes wrote:

 * mstevenson [EMAIL PROTECTED] [2002-04-18 19:40]:
  From: mstevenson [EMAIL PROTECTED]
  Reply-To: mstevenson [EMAIL PROTECTED]
  Subject: Re: Replying with headers
  Date: Thu, 18 Apr 2002 12:40:09 -0700 (PDT)
  Message-ID: [EMAIL PROTECTED]
  X-Mailer: ZipLip Sonoma v3.2
 
 no name in FROM line - but a
 completely redundant REPLYTO.  *sigh*
 The MID without FQDN and to
 top it all - no references!  argh!
 
 great - yet another broken mailer
 which gets added to my killfile.

Isn't ziplip webmail?  Not saying that it isn't broken, just checking.
=)

 -- 
 Intolerant people should be shot.

heh

-- 
Paul Cox paul at coxcentral dot com
Kernel: 2.4.18-6mdk  -  Uptime: 23 hours 18 minutes.



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread Cedric Duval

* Sven Guckes [EMAIL PROTECTED] [04/19/02 12:19]:
 I have appended my procmail rules
 which sort them into IN.MUTT mostly - enjoy!

You do not need a rule for each alias (mutt.org, gbnet.net, etc.).
Filtering on the Sender field, you catch them all. Basically, for
Mutt lists I have:

:0
* ^Sender: owner-mutt-\/[^@]+
{
# dev, users, announce, po
MUTTLIST=$MATCH

# CVS Changelog
:0:
* $MUTTLIST ?? dev
* ^Subject: \[.*\] CVS commit messages
ML/mutt-cvs-log

# bug reports
:0:
* $MUTTLIST ?? dev
* ^Subject:.*(bug#|Processed:)
Spool_Mutt_bug

# everything else goes in the appropriate spool
:0:
Spool_Mutt_$MUTTLIST
}

You could even skip the cvs log and bug report parts.

-- 
Cedric



AW: AW: IMAP to Exchange

2002-04-19 Thread mutt-users

 Unless you can come up with how it's already been done, I 
 don't expect that you'll find it.  Public Folders and news 
 are not the same as mail.
Hm, with Netscape and Imap i have no problem at all, browsinf reading and writing fron 
the Public Folders. 
Unfortunatly the first level is also possible with mutt, so to say i can already do 
reading and writing in public Folders with mutt, but only to a certain level of 
subfolders. 
Netscape has no Problem with that. 
 
 If you can telnet to the IMAP port on the exchange server and 
 somehow have a news article displayed to you, then document 
 that clearly and let us know and we'll go from there.
Unfortunatly i didn´t manage to switch to the right folders on the command line. Maybe 
there is a way to collect the mails via fetchmail. Otherwise there will be no ways 
around Netscape or Outlook on Win2k. Never thought this could be so difficult with 
mutt 

Thanks anyway 



Re: setting 'From' header

2002-04-19 Thread David T-G

Will --

...and then Will Yardley said...
% 
% so i know this *should* be easy, but i haven't had any luck.

Well, I don't know that it should...


% 
% if i try to set my header like:
%  From: [EMAIL PROTECTED] (Will Yardley)
% 
% instead of:
%  From: Will Yardley [EMAIL PROTECTED]

I'm curious about why you would care.  The two are functionally
equivalent, right?


% 
% the message still comes across like the second example, even if i
% comment out 'set envelope_from', 'set realname' and anything else
% remotely related to setting my from header.

I *think* that the latter form is preferred according to the RFC and so
mutt reformats whatever it gets into that uniform model.  It can certainly
take From: headers in a number of formats, but my vague recollection of
this discussion in the past is that it will write consistently.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27420/pgp0.pgp
Description: PGP signature


Re: message/partial

2002-04-19 Thread David T-G

Patrik --

...and then Patrik Wallstrom said...
% 
% I just received a file split up into 87 emails. Is there any way for

Ouch!


% mutt to decode those mails, all of which are of the MIME type
% message/partial?

What happens if tag them and then feed them to munpack?


% 
% -- 
% patrik_wallstrom-foodfight-[EMAIL PROTECTED]+46-709580442


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27421/pgp0.pgp
Description: PGP signature


Re: message/partial

2002-04-19 Thread Patrik Wallstrom

On Fri, 19 Apr 2002, David T-G wrote:

 % I just received a file split up into 87 emails. Is there any way for
 Ouch!

Yes, it seems that Outlook Express can send those ugly things.

 % mutt to decode those mails, all of which are of the MIME type
 % message/partial?
 
 What happens if tag them and then feed them to munpack?

Actually, I managed to solve it. This was needed in mailcap:
message/partial; showpartial %s %{id} %{number} %{total} ; copiousoutput

Then, when I read each mail, showpartial builds a lot of tmp-files and
when I read all of the emails there was a tmp-file in /tmp that
actually was the file I wanted, but with a strange name.

I don't know how showpartial works, but it did. I hope I will never
receive message/partial again. :)

-- 
patrik_wallstrom-foodfight-[EMAIL PROTECTED]+46-709580442



msg27423/pgp0.pgp
Description: PGP signature


Re: message/partial

2002-04-19 Thread David T-G

Patrik, et al --

Pat, I couldn't find your key...  Is it known to be on a particular
server?

...and then Patrik Wallstrom said...
% 
% On Fri, 19 Apr 2002, David T-G wrote:
% 
%  % I just received a file split up into 87 emails. Is there any way for
%  Ouch!
% 
% Yes, it seems that Outlook Express can send those ugly things.

Heh.  One more thing that hurts :-)


% 
%  % mutt to decode those mails, all of which are of the MIME type
%  % message/partial?
%  
%  What happens if tag them and then feed them to munpack?
% 
% Actually, I managed to solve it. This was needed in mailcap:
% message/partial; showpartial %s %{id} %{number} %{total} ; copiousoutput

Oh, good to know.  Thanks!


% 
...
% I don't know how showpartial works, but it did. I hope I will never
% receive message/partial again. :)

Yeah :-)

I checked the man page and it's actually quite simple; yay.

Now to see if I can figure out how to change it away from /tmp, which is
small here...


% 
% -- 
% patrik_wallstrom-foodfight-[EMAIL PROTECTED]+46-709580442


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27424/pgp0.pgp
Description: PGP signature


Re: quotes - set attribution=`script`

2002-04-19 Thread Bernard Massot

On Thu, Apr 18, 2002 at 04:26:14PM -0600, Rob 'Feztaa' Park wrote:
 Alas! Bernard Massot spake thus:
   try this:set attribution=`script`
   im mutt, of course.
  good idea but I need a way to give the script the date of the mail
  if I launch it with %d, the script doesn't see the date but the string
  %d
 
 Easy fix. In your muttrc do this: set attribution=`script %d`, and
 then in the script, $* will have the date of the mail in it.
that's exactly what I've done but the script sees the litteral string %d
instead of the date !
my script is called like that:
«/home/bernard/.mutt/deiziat.sh %d»
and not «/home/bernard/.mutt/deiziat.sh some_date»

-- 
Bernard Massot



msg27425/pgp0.pgp
Description: PGP signature


Re: message/partial

2002-04-19 Thread Patrik Wallstrom

On Fri, 19 Apr 2002, David T-G wrote:

 Pat, I couldn't find your key...  Is it known to be on a particular
 server?

I know it is on http://www.keyserver.net/ and another server (forgot
which).

Which is the most common, or the most active server to poll keys from
other servers?

 % I don't know how showpartial works, but it did. I hope I will never
 % receive message/partial again. :)
 
 Yeah :-)
 
 I checked the man page and it's actually quite simple; yay.
 
 Now to see if I can figure out how to change it away from /tmp, which is
 small here...

If you have more time on your hands, you could figure out how to send
those emails with mutt. :)

-- 
patrik_wallstrom-foodfight-[EMAIL PROTECTED]+46-709580442



msg27426/pgp0.pgp
Description: PGP signature


Re: message/partial

2002-04-19 Thread David T-G

Patrik, et al --

...and then Patrik Wallstrom said...
% 
% On Fri, 19 Apr 2002, David T-G wrote:
% 
%  Pat, I couldn't find your key...  Is it known to be on a particular
%  server?
% 
% I know it is on http://www.keyserver.net/ and another server (forgot
% which).

Oh, right.  I bet gpg actually uses port 80 for that, too.  Two steps
upstream of us changed some routing on Tuesday night and we were dark all
day Wednesday, and now I cannot surf from my server (strace shows timeout
after timeout).  This is probably the same issue.


% 
% Which is the most common, or the most active server to poll keys from
% other servers?

I've never figured that out, so I just have a big list of keyservers in
my options file.  I know that some work together in a clump and others
work together in a different clump, but I don't know how many clumps
there are out there.


% 
%  % I don't know how showpartial works, but it did. I hope I will never
%  % receive message/partial again. :)
...
%  Now to see if I can figure out how to change it away from /tmp, which is
%  small here...
% 
% If you have more time on your hands, you could figure out how to send
% those emails with mutt. :)

*snort*  Why, so you can foist them off on someone else?? :-)


% 
% -- 
% patrik_wallstrom-foodfight-[EMAIL PROTECTED]+46-709580442


Thanks  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27427/pgp0.pgp
Description: PGP signature


masquerading

2002-04-19 Thread Christoph Kukulies


I changed my hostname but want to have 
my previous hostname (which is a DNS CNAME alias to the new hostname)
in mail postings (I subscribed several mailing lists with the old name)

Is this possible with an entry in .muttrc/.mailrc?

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]



Re: masquerading

2002-04-19 Thread Michael Tatge

Christoph Kukulies ([EMAIL PROTECTED]) muttered:
 
 I changed my hostname but want to have 
 my previous hostname (which is a DNS CNAME alias to the new hostname)
 in mail postings (I subscribed several mailing lists with the old name)
 
 Is this possible with an entry in .muttrc/.mailrc?

- configure sendmail (or whatever MTA you're using to do propper
   masquerading

or

- for local mail
  set hostname=OLDHOST
  set use_domain

- Internet mail
  set from=you@oldhost
  set use_from

HTH,

Michael
-- 

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



Re: masquerading

2002-04-19 Thread William Park

On Fri, Apr 19, 2002 at 04:15:52PM +0200, Michael Tatge wrote:
 Christoph Kukulies ([EMAIL PROTECTED]) muttered:
  
  I changed my hostname but want to have 
  my previous hostname (which is a DNS CNAME alias to the new hostname)
  in mail postings (I subscribed several mailing lists with the old name)
  
  Is this possible with an entry in .muttrc/.mailrc?
 
 - configure sendmail (or whatever MTA you're using to do propper
masquerading
 
 or
 
 - for local mail
   set hostname=OLDHOST
   set use_domain
 
 - Internet mail
   set from=you@oldhost
   set use_from

Sendmail solution may be the only option, if the mailing list checks
sender address on the envelope instead of 'From:' header.

-- 
William Park, Open Geometry Consulting, [EMAIL PROTECTED]
8 CPU cluster, NAS, (Slackware) Linux, Python, LaTeX, Vim, Mutt, Tin



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread Rob Reid

At  6:19 AM EDT on April 19 Sven Guckes sent off:
 * Dan Lowe [EMAIL PROTECTED] [2002-04-17 17:18]:
  Previously, s. keeling wrote: [whatever]
  You seem to have sent this to something other than [EMAIL PROTECTED]
  because my list-reply did not work.  I had to enter the address manually.
  Don't tell me the list has more than one address...
  do I need to have multiple subscribe lines for it?  Ugh.
 
 there exist several local aliases for the mutt mailing lists -
 on gbnet.org, sonytel.be, and yahoogroups.com.
 
 so here are some of the addresses:
 
 [EMAIL PROTECTED]
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
 
  [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]
[EMAIL PROTECTED]
 
 I have appended my procmail rules
 which sort them into IN.MUTT mostly - enjoy!
 
 Sven  [who'd set up the lists to deny distribution
via arbitrary addresses from other domains]

Do you really get a lot of mail with mutt- in it that *isn't* for one of the
mutt lists?

I see a lot of gbnet grumbling but I've never had a problem because I use a
minimum match philosophy:

# Sort away mails from the mutt (mail user agent) mailing list
:0
* ^Return-Path: mutt-users-owner
{
:0:
* ? $FORMAIL -x Subject: | grep -isF -f ~/.mutt/killfiles/muttin
dumpedthreads

:0:
muttin
}

Granted, this doesn't catch the other mutt lists (because I don't need to), and
IN.mutt would be a better name than muttin.  Return-Path works (for now anyway)
and is cheaper than ^TO.

 ===  http://www.math.fu-berlin.de/~guckes/setup/procmailrc
 # 981009 - catch messages from gateway address on gbnet.net:
 :0
 * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net
 IN.MUTT

Just to clarify - are you using MH or maildirs, Sven?  mbox users should use
:0:

(And I only mean to warn mbox users, not start a mbox/maildir jihad.)

-- 
If Microsoft can change and compete on quality, I've won. -- L. Torvalds
Robert I. Reid | PGP/GPG Keys: http://astro.utoronto.ca/~reid/pgp.html



msg27431/pgp0.pgp
Description: PGP signature


Score by mailer (was: Re: ZipLip - KillFile)

2002-04-19 Thread Johannes Berth

* Sven Guckes [EMAIL PROTECTED] [19.04.02 02:15]:
 great - yet another broken mailer
 which gets added to my killfile.

Btw, am I right that there is no possibility to score by mailer with the
score function since ~h is not allowed?  So is there any other way to
score (not only kill) by mailer?  I searched in the mailing list archive
and asked google, but I didn't find anything.



Re: procmail script for deleting duplicates

2002-04-19 Thread Rob 'Feztaa' Park


--Q0rSlbzrZN6k9QnT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! David T-G spake thus:
 % A better solution is simply to have duplicates sent to ~/mail/duplicates
 % instead of /dev/null, so that way you know what's being filtered.
=20
 ... but you'd still have the same problem even though you could manually
 get the messages back.

It's better than losing them forever, and not knowing what procmail is
hiding from you.

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
It wasn't that she had a rose in her teeth, exactly.  It was more like
the rose and the teeth were in the same glass.

--Q0rSlbzrZN6k9QnT
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wFdBPTh2iSBKeccRAr0UAJ9Fdh79GVqsCG3nxfoPV+2PWaRZYACdFn9Q
531pom3qSnd0RFfKDmLGo64=
=w5wx
-END PGP SIGNATURE-

--Q0rSlbzrZN6k9QnT--



Re: message/partial

2002-04-19 Thread Rocco Rutte

Hi,

* Patrik Wallstrom [04/19/02 15:07:32 CEST] wrote:
 I don't know how showpartial works, but it did. I hope I will never
 receive message/partial again. :)

Well, I can image a reason to use message/partial. Some
mailversers do have limits set how large a single mail may be.
By splitting up and using message/partial you could easily
send DVD Iso images to anybody (Imagine a 4 GB mail! ;-).

Cheers, Rocco.



msg27434/pgp0.pgp
Description: PGP signature


Re: quotes - set attribution=`script`

2002-04-19 Thread Rob 'Feztaa' Park

Alas! Bernard Massot spake thus:
  Easy fix. In your muttrc do this: set attribution=`script %d`, and
  then in the script, $* will have the date of the mail in it.
 that's exactly what I've done but the script sees the litteral string %d
 instead of the date !
 my script is called like that:
 «/home/bernard/.mutt/deiziat.sh %d»
 and not «/home/bernard/.mutt/deiziat.sh some_date»

Ok, I've got it ;)

The set attribution thing is expanded when mutt starts, not when the
message is sent. That's why %d is being passed to the script: mutt
doesn't know what date, because mutt doesn't know what message.

As far as I know, it's not actually possible to pass the date to the
script because the script is run when mutt starts, not for every
message.

I forgot why you want to pass the date to the script, though. What's so
special about your attribution that it can't be a simple %n wrote:?

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
The way to a man's stomach is through his esophagus.



msg27435/pgp0.pgp
Description: PGP signature


Re: setting 'From' header

2002-04-19 Thread Michael Elkins

you need to use
./configure --enable-exact-address
if you want this functionality.  be aware it will use more memory this way
because mutt has to store the string it both the usable internal form, and
the display form.

Will Yardley wrote:
 if i try to set my header like:
  From: [EMAIL PROTECTED] (Will Yardley)
 
 instead of:
  From: Will Yardley [EMAIL PROTECTED]
 
 the message still comes across like the second example, even if i
 comment out 'set envelope_from', 'set realname' and anything else
 remotely related to setting my from header.



Re: IMAP to Exchange

2002-04-19 Thread Nik Engel

On Fri, 19 Apr 2002, mutt-users wrote:

 Hm, with Netscape and Imap i have no problem at all, browsinf reading
 and writing fron the Public Folders. 
 Unfortunatly the first level is also possible with mutt, so to say i
 can already do reading and writing in public Folders with mutt, but
 only to a certain level of subfolders. 
 Netscape has no Problem with that. 

Now as you can see it is also working with mutt, Unfortunatly the only
Problem was to specify the subfolders in detail.
Because the structure was like this

Öffentliche Ordner
|
|
\NOC
\Mailinglist
   |
   |
\test
\test

So there was aktually no subdirectory under the level of Mailinglists,
but one level below. I had just to give mutt the exact location. 

Thanks 



Re: quotes - set attribution=`script`

2002-04-19 Thread Simon White

19-Apr-02 at 11:58, Rob 'Feztaa' Park ([EMAIL PROTECTED]) wrote :
 I forgot why you want to pass the date to the script, though. What's so
 special about your attribution that it can't be a simple %n wrote:?

It was along these lines, IIRC:

If (date written=today) then quote normal attribution
Else quote some other attribution...

-- 
[Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:79.78% see www.mersenne.org]
Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind.  -- Dr. Seuss
[Linux user #170823 http://counter.li.org. Home cooked signature rotator.]



Re: message/partial

2002-04-19 Thread James Sneeringer

On Fri, Apr 19, 2002 at 08:24:27AM -0500, David T-G wrote:
| ...and then Patrik Wallstrom said...
| % I don't know how showpartial works, but it did. I hope I will never
| % receive message/partial again. :)
| 
| Now to see if I can figure out how to change it away from /tmp, which is
| small here...

If it's the same showpartial I have on my system (from the metamail
package), it's a shell script.  The first lines of code read:

if [ -z $METAMAIL_TMPDIR ]
then
METAMAIL_TMPDIR=/tmp
fi

Set METAMAIL_TMPDIR to something other than /tmp in your .profile (or
whatever) and off you go.

-James




Re: Announcing an Emacs mode for mutt configuration files

2002-04-19 Thread Gregor Zattler

Hi Dave,
* Dave Pearson [EMAIL PROTECTED] [Fre 19 Apr 2002 10:37:54 GMT]:
[...]
 I use:
 
 ,
 | davep@hagbard:~$ head -7 /usr/local/share/emacs/site-lisp/muttrc-mode.el
 | ;;; muttrc-mode.el --- Major mode to edit muttrc under Emacs
 | 
 | ;;; Copyright (C) 2000 Laurent Pelecq
 | ;;;
 | ;;; Author: Laurent Pelecq [EMAIL PROTECTED]
 | ;;;
 | ;;; $Id: muttrc-mode.el,v 2.12 2000/11/29 01:18:21 laurent Exp $
 `
 
 but, annoyingly, I can't remember where I got it from and I can't locate it
 in the ELL or via Google.

Could you please post it?


Ciao, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



Re: procmail script for deleting duplicates

2002-04-19 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Alas! David T-G spake thus:
%  % A better solution is simply to have duplicates sent to ~/mail/duplicates
%  % instead of /dev/null, so that way you know what's being filtered.
%  
%  ... but you'd still have the same problem even though you could manually
%  get the messages back.
% 
% It's better than losing them forever, and not knowing what procmail is
% hiding from you.

Yeah, but not as good as not losing them in the first place, which is the
whole point of using an md5 hash instead of the M-ID: field.


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% It wasn't that she had a rose in her teeth, exactly.  It was more like
% the rose and the teeth were in the same glass.


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27441/pgp0.pgp
Description: PGP signature


Re: message/partial

2002-04-19 Thread David T-G

James --

...and then James Sneeringer said...
% 
% On Fri, Apr 19, 2002 at 08:24:27AM -0500, David T-G wrote:
...
% | Now to see if I can figure out how to change it away from /tmp, which is
% | small here...
% 
% If it's the same showpartial I have on my system (from the metamail
% package), it's a shell script.  The first lines of code read:

Aha!  You're right!  See, I hadn't even gotten that far :-)


% 
% if [ -z $METAMAIL_TMPDIR ]

Thanks a bunch!


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27442/pgp0.pgp
Description: PGP signature


Re: quotes - set attribution=`script`

2002-04-19 Thread Rob 'Feztaa' Park

Alas! Simon White spake thus:
 It was along these lines, IIRC:
 
 If (date written=today) then quote normal attribution
 Else quote some other attribution...

In that case, why not just use message-hooks with ~d or ~r in the
pattern? Something like this:

message-hook . set attribution='On %d, %n said:'
message-hook ~d `date +%m` set attribution='Today, %n said:'

(untested)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
When I say the magic word to all these people, they will vanish forever.
I will then say the magic words to you, and you, too, will vanish -- never
to be seen again.
-- Kurt Vonnegut Jr., Between Time and Timbuktu



msg27443/pgp0.pgp
Description: PGP signature


Re: Score by mailer (was: Re: ZipLip - KillFile)

2002-04-19 Thread David T-G

Johannes, et al --

...and then Johannes Berth said...
% 
% Btw, am I right that there is no possibility to score by mailer with the
% score function since ~h is not allowed?  So is there any other way to

No direct possibility, I think, but there are indirect options.


% score (not only kill) by mailer?  I searched in the mailing list archive
% and asked google, but I didn't find anything.

I don't know if mutt will recognize any sort of score header, but you
could have procmail put one in for you if it did; check it out.  If not,
then you could put it into X-Label: since it's quite unlikely that you'll
get a message with a populated X-L: field that will matter to you.

In either case, it ought to be easy enough to whip up a procmail
filter recipe that sets your header field based on matching X-Mailer:
or User-Agent: or any other headers that you can use to identify an MUA.
From there you can either score directly or, if ~y isn't allowed, either,
perhaps color appropriately.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




Re: quotes - set attribution=`script`

2002-04-19 Thread David T-G

Rob, et al --

...and then Feztaa said...
% 
% Alas! Bernard Massot spake thus:
%   Easy fix. In your muttrc do this: set attribution=`script %d`, and
...
% 
% Ok, I've got it ;)

Are you sure? :-)


% 
% The set attribution thing is expanded when mutt starts, not when the
% message is sent. That's why %d is being passed to the script: mutt
% doesn't know what date, because mutt doesn't know what message.
% 
% As far as I know, it's not actually possible to pass the date to the
% script because the script is run when mutt starts, not for every
% message.

*If* you can pass %d at all (and I don't know that you can), then you
might look at a send-hook and wrapping your command in single quotes ('')
instead of double quotes () to protect the contents from evaluation
until calling time.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg27445/pgp0.pgp
Description: PGP signature


Re: mutt maillist distribution via alias@domain

2002-04-19 Thread parv

in message [EMAIL PROTECTED],
wrote Sven Guckes thusly...

 ===  http://www.math.fu-berlin.de/~guckes/setup/procmailrc
...
 # 981009 - catch messages from gateway address on gbnet.net:
 :0
 * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net
 IN.MUTT
 
 # 000710 - catch messages from gateway address on sonytel.be
 :0
 * ^[EMAIL PROTECTED]
 IN.MUTT
 
 # 000710 - added yahoogroups.com
 :0
 * ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
 IN.MUTT

all these can be easily combined as one OR'd recipe (assuming mbox)...

:0:
# 000710 - catch messages from gateway address on sonytel.be
* 2147483647^0 ^TOmutt-users@mail\.sonytel\.be
#
# 981009 - catch messages from gateway address on gbnet.net:
* 2147483647^0 ^TOmutt(-dev|-users)?@(ns.)?gbnet\.net
#
# 000710 - added yahoogroups.com
* 2147483647^0 ^TOmutt(-dev|-users)?@.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com)
# 
# below is the obvious combination of above two...
#* 2147483647^0 
^TOmutt(-dev|-users)?@((ns.)?gbnet\.net|.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com))
# 
IN.MUTT


..and, from procmailsc(5)...

MISCELLANEOUS
   As  soon  as  `plus infinity' (2147483647) is reached, any
   subsequent weighted conditions will simply be skipped

   As soon as `minus infinity' (-2147483647) is reached,  the
   condition  will be considered as `no match' and the recipe
   will terminate early.


...see various procmail man  web pages and mailing list for other details.


  - parv

-- 
 



Re: quotes - set attribution=`script`

2002-04-19 Thread Bernard Massot

On Fri, Apr 19, 2002 at 06:19:53PM +, Simon White wrote:
 19-Apr-02 at 11:58, Rob 'Feztaa' Park ([EMAIL PROTECTED]) wrote :
  I forgot why you want to pass the date to the script, though. What's so
  special about your attribution that it can't be a simple %n wrote:?
 
 It was along these lines, IIRC:
 
 If (date written=today) then quote normal attribution
 Else quote some other attribution...
it's not that !
it's :
If (date written=a_monday) then quote with D'al ...
Else quote with D'ar ...

In brezhoneg language, you must write d'al lun (on monday) but d'ar
meurzh (on tuesday), d'ar yaou (on thursday), etc...
*That* is what I want to do.
 
 -- 
 [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:79.78% see www.mersenne.org]
 Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind.  -- Dr. Seuss
 [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]

-- 
Bernard Massot



msg27447/pgp0.pgp
Description: PGP signature


Re: mutt maillist distribution via alias@domain

2002-04-19 Thread John Iverson

* On Fri, 19 Apr 2002, parv wrote:

 all these can be easily combined as one OR'd recipe (assuming mbox)...
 
 :0:
 # 000710 - catch messages from gateway address on sonytel.be
 * 2147483647^0 ^TOmutt-users@mail\.sonytel\.be
 #
 # 981009 - catch messages from gateway address on gbnet.net:
 * 2147483647^0 ^TOmutt(-dev|-users)?@(ns.)?gbnet\.net
 #
 # 000710 - added yahoogroups.com
 * 2147483647^0 ^TOmutt(-dev|-users)?@.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com)
 # 
 # below is the obvious combination of above two...
 #* 2147483647^0 
^TOmutt(-dev|-users)?@((ns.)?gbnet\.net|.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com))
 # 
 IN.MUTT

Why not Just use the regular OR operator?:

:0
* ^TOmutt(-dev|-users)?@(ns.)?gbnet.net|\
^[EMAIL PROTECTED]|\
^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
IN.MUTT

-- 
John



Re: Score by mailer (was: Re: ZipLip - KillFile)

2002-04-19 Thread Johannes Berth

* David T-G [EMAIL PROTECTED] [19.04.02 20:39]:
 % Btw, am I right that there is no possibility to score by mailer with the
 % score function since ~h is not allowed?  So is there any other way to
 No direct possibility, I think, but there are indirect options.
 
I do know about the possibility to do it with procmail, just wanted to
know if it is possible do do it directly with mutt.
Thx for your answer. 



Re: setting 'From' header

2002-04-19 Thread Gregor Zattler

Hi Michael et al.,
* Michael Elkins [EMAIL PROTECTED] [Fre 19 Apr 2002 11:06:27 GMT]:
 you need to use
   ./configure --enable-exact-address
 if you want this functionality.  be aware it will use more memory this way
 because mutt has to store the string it both the usable internal form, and
 the display form.

The documentation file INSTALL states:

 --enable-exact-address
 By default, Mutt will rewrite all addresses in the form
 Personal Name [EMAIL PROTECTED]
 regardless of the input.  By enabling this option, Mutt will write
 addresses in the same form they are parsed.  NOTE: this requires
 significantly more memory.
 
 WARNING: DO NOT USE THIS OPTION, IT IS BROKEN.

Do you think it isn't broken?



Ciao, Gregor
-- 
Kommunikation benoetigt gemeinsame /\ASCII Ribbon Campaign   
Standards -- unformatierter Text  \ /Respect for open standards
in E-Mails, als Anhaenge nur offene X No HTML/RTF in email 
Standards, keine Micro$oft-Dateien / \No M$ Word docs in email



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread parv

in message [EMAIL PROTECTED],
wrote John Iverson thusly...

 * On Fri, 19 Apr 2002, parv wrote:
 
  all these can be easily combined as one OR'd recipe (assuming mbox)...
  
  :0:
  * 2147483647^0 ^TOmutt-users@mail\.sonytel\.be
  * 2147483647^0 ^TOmutt(-dev|-users)?@(ns.)?gbnet\.net
  * 2147483647^0 ^TOmutt(-dev|-users)?@.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com)
  # 
  # below is the obvious combination of above two...
  #* 2147483647^0 
^TOmutt(-dev|-users)?@((ns.)?gbnet\.net|.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com))
  # 
  IN.MUTT
 
 Why not Just use the regular OR operator?:

when one has to debug complex recipe (as procmail doesn't say what
was actually matched), or during the creation of one, it's much
easier to work w/ weighted recpie as one can easily (un)comment 
test.

in addition, if both ^TO and ^TO_ had been used, it would be easier
to notice the difference in the weighted recipe.  so, maintainance
is another issue.


and another reason: there is more than one way to do it.


 :0
 * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net|\
 ^[EMAIL PROTECTED]|\
 ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
 IN.MUTT

for trivial/short/simple conditions, i do prefer the above, but then
why use multiple ^TO's...

:0:
#* ^TO(mutt(-dev|-users)?@(ns\.)?gbnet\.net|\
#mutt-users@mail\.sonytel\.be|\
#mutt(-dev|-users)?@.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com))
#
* ^TO(mutt(-dev|-users)?@((ns\.)?gbnet\.net|\
.*(cs\.hmc\.edu|mutt\.org|yahoogroups\.com))|\
mutt-users@mail\.sonytel\.be)
IN.MUTT


  - parv

-- 
 



Re: quotes - set attribution=`script`

2002-04-19 Thread Bernard Massot

On Fri, Apr 19, 2002 at 02:13:31PM -0600, Rob 'Feztaa' Park wrote:
 Alas! Bernard Massot spake thus:
  In brezhoneg language, you must write d'al lun (on monday) but d'ar
  meurzh (on tuesday), d'ar yaou (on thursday), etc...
  *That* is what I want to do.
 
 Then use the message-hooks idea that I posted, but replace the 
 `date +%m` bit with something that gives you the day-of-month of last
 monday.
I can't be sure the mail was written the previous monday.
I may answer an old mail.

-- 
Bernard Massot



msg27454/pgp0.pgp
Description: PGP signature


Re: mutt maillist distribution via alias@domain

2002-04-19 Thread John Iverson

* On Fri, 19 Apr 2002, parv wrote:

  Why not Just use the regular OR operator?:
 
 when one has to debug complex recipe (as procmail doesn't say what
 was actually matched), or during the creation of one, it's much
 easier to work w/ weighted recpie as one can easily (un)comment 
 test.

Good point.

 in addition, if both ^TO and ^TO_ had been used, it would be
 easier to notice the difference in the weighted recipe.  so,
 maintainance is another issue.
 
 
 and another reason: there is more than one way to do it.

True.

  :0 * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net|\
  ^[EMAIL PROTECTED]|\
  ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
  IN.MUTT
 
 for trivial/short/simple conditions, i do prefer the above, but
 then why use multiple ^TO's...

Not needed, but this also might make it easier to comment out
certain lines for testing, although you have to watch out for the
|\s at the ends of the lines. 

-- 
John



Re: setting 'From' header

2002-04-19 Thread Will Yardley

Gregor Zattler wrote:
 * Michael Elkins [EMAIL PROTECTED] [Fre 19 Apr 2002 11:06:27 GMT]:

  you need to use
  ./configure --enable-exact-address
  if you want this functionality.  be aware it will use more memory this way
  because mutt has to store the string it both the usable internal form, and
  the display form.
 
 The documentation file INSTALL states:
 
 --enable-exact-address
 By default, Mutt will rewrite all addresses in the form
 Personal Name [EMAIL PROTECTED]
 regardless of the input.  By enabling this option, Mutt will write
 addresses in the same form they are parsed.  NOTE: this requires
 significantly more memory.
 
 WARNING: DO NOT USE THIS OPTION, IT IS BROKEN.
 
 Do you think it isn't broken?

hrmmm... didn't read that bit.  it seems to work for me, but i'd be
curious to know exactly why it's considered broken.

i don't see how this can take *that* much more memory; it doesn't seem
to be putting too much undue strain on my mail machine (*knock wood*).

-- 
Will Yardley
input: william  @ hq . newdream . net . 




Re: masquerading

2002-04-19 Thread Dan Lowe

Previously, William Park wrote:

 Sendmail solution may be the only option, if the mailing list checks
 sender address on the envelope instead of 'From:' header.

Configuring masquerading is a bit extreme in some situations, and not
always possible either (many users don't control the local sendmail.cf).
I handle it with Sendmail's -f flag:

dan@lothlorien:~% grep sendmail Library/Mutt/snoopy/muttrc 
# How to call sendmail
set sendmail=/usr/sbin/sendmail [EMAIL PROTECTED]

One can do this is a folder-hook or something too, to have multiple
identities (I don't use folder-hook for this, but I used to; nowadays I
just have two separate muttrc's for two separate mailboxes to keep my work
and personal mail separate - maybe I'll get industrious someday and merge
them into one config).

-- 
Education is a progressive discovery of our own ignorance.  -Will Durant



Maildir mailboxes over IMAP.

2002-04-19 Thread muttuser

I'm using the Debian [unstable] packaged version of mutt [1.3.28-2]
against the Debian [testing] packaged version of uw-imapd
[2001adebian-6].

What I'm trying to do is set mailboxes to poll for new email.
Compounding factors are:

set spoolfile=imap://popess.manjusri.org/INBOX
set folder=imap://popess.manjusri.org/Mail

and

binder@popess:~$ grep -C Debian .procmailrc

:0 E:
# Is it debian-foo?  Put it in the Debian/foo folder
* MATCH ?? ^debian-\/[a-z]+
$MAILDIR/Debian/$MATCH/

binder@popess~$

If I start mutt and change folders to +Debian/devel/ it does The
Thing I Expect, it takes me to the set of messages stored in the
Maildir format in popess:/home/binder/Mail/Debian/devel/, and all
is well there.

But if I try to set mailboxes to watch it with the directive:

mailboxes +Debian/devel/

then mutt reports Connection to popess.manjusri.org closed followed by
Mailbox closed and then I'm looking at an empty mailbox, with
none of the nine or so emails I know are in my INBOX.

`mutt -d2` shows this at the tail end, grabbing the last message from
my inbox, presumbably, and then choking on the server response:

Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 271 bytes
 )
 a0004 OK FETCH completed
imap_open_mailbox: msgcount is 9
 a0005 STATUS Mail/Debian/devel/ (RECENT)^M
Connection to popess.manjusri.org closed
imap_cmd_step: Error reading server response.
Mailbox closed
parse_parameters: `charset=us-ascii'
parse_parameter: `charset' = `us-ascii'
read_rfc822_header(): no date found, using received time from msg
separator

I've RTFM and STFW; is it simply not possible to poll Maildir mailboxes
on IMAP servers for incoming mail with mutt?  If it's just not possible,
I'll live with some IMAP-aware biff-like thing + mutt but I'm not
finding any indications one way or another that it's [im]possible.

Surely someone else is delivering to Maildir and monitoring it with
mutt, over IMAP, successfully?

--Shannon.



msg27458/pgp0.pgp
Description: PGP signature


Re: quotes - set attribution=`script`

2002-04-19 Thread Rob 'Feztaa' Park


--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Bernard Massot spake thus:
 On Fri, Apr 19, 2002 at 02:13:31PM -0600, Rob 'Feztaa' Park wrote:
  Then use the message-hooks idea that I posted, but replace the=20
  `date +%m` bit with something that gives you the day-of-month of last
  monday.
=20
 I can't be sure the mail was written the previous monday.
 I may answer an old mail.

Then I guess you'll just have to settle on speaking broken brezhoneg
then, won't you?

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Boy!  Eucalyptus!

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8wKHhPTh2iSBKeccRAu9+AJ9WJmdckPOUD4vV//IRUcP+35LF6wCfXmKv
AtYTDXvPfzSrLfpvE/0LY8o=
=JHFD
-END PGP SIGNATURE-

--qMm9M+Fa2AknHoGS--



Thanks!

2002-04-19 Thread s. keeling

I've been hanging around this list for about a week now and I've found
so many goodies floating by here, it's terrific.  I think I have
folder hooks sorted out, I've learned some really slick procmail
stuff, and post.el makes emacs look as gorgeous editing mail as it is
at mangling scripts.

Despite the occasional digression into things like pgp/gpg, this is
probably the best signal to noise ratio I've seen in a mailing list.

So thanks all.  You've been very helpful.


-- 
Any technology distinguishable from magic is insufficiently advanced.
 TopQuark Software  Serv. Contract programmer, server bum.




Re: message/partial

2002-04-19 Thread Shawn McMahon

begin  Patrik Wallstrom quotation:
 
  Pat, I couldn't find your key...  Is it known to be on a particular
  server?
 
 I know it is on http://www.keyserver.net/ and another server (forgot
 which).

Your key is on the common keyservers.  (BTW, keyserver.net has evidently
collapsed down to a single server in Belgium, so it's not a good
choice.)

However, your key isn't self-signed, so no OpenPGP-compliant software
will accept it.  There are security issues with accepting
non-self-signed keys.


-- 
Shawn McMahon| McMahon's Laws of Linux support:
http://www.eiv.com   | 1) There's more than one way to do it
AIM: spmcmahonfedex, smcmahoneiv | 2) Somebody thinks your way is wrong



msg27461/pgp0.pgp
Description: PGP signature


Re: message/partial - uudeview

2002-04-19 Thread Sven Guckes

* Patrik Wallstrom [EMAIL PROTECTED] [2002-04-19 10:38]:
 I just received a file split up into 87 emails.
 Is there any way for mutt to decode those mails,
 all of which are of the MIME type message/partial?

mutt is not a partial file decoder.
tag them all, then use tag-prefix
to pipe to uudeview.

  T   pattern
  ;   tag-prefix
  |   pipe
  uudeview

done.

Sven



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread s. keeling

Incoming from Rob Reid:
 
 I see a lot of gbnet grumbling but I've never had a problem because I use a
 minimum match philosophy:
 
 # Sort away mails from the mutt (mail user agent) mailing list
 :0
 * ^Return-Path: mutt-users-owner

Does this actually work for you?  I just tested it and it doesn't for
me, and I can find no ^Return-Path: header in your mail at least.

Either of these two do work for me:

* ^TO_.*@mutt.org
* ^Sender:.*owner\-mutt\-users\@mutt\.org


... Or are you doing some formail magic of which I'm unaware?


-- 
Any technology distinguishable from magic is insufficiently advanced.
 TopQuark Software  Serv. Contract programmer, server bum.




Re: Hang while sorting - locking problem?

2002-04-19 Thread Sven Guckes

* Eric Christopherson [EMAIL PROTECTED] [2002-04-18 23:21]:
 [Sorry if this is a repeat; I initially tried sending it to mutt-users and
 mutt-dev, but it only seems to have made it onto mutt-dev.

not subscribed to the list?

 I'm having a bad problem with mutt: it tends to hang whenever
 it decides it says Sorting mailbox... (any time I try to
 quit, change folders, or recall a postponed message).  It
 simply stops responding, and only SIGKILL seems to kill it.

locking problem?

 My version is 1.3.28-1 from Debian sid;
 the full output of mutt -v follows:
 Mutt 1.3.28i (2002-03-13)
 System: Linux 2.4.18 (i686) [using ncurses 5.2]
 Compile options:
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK
 +DL_STANDALONE
 +USE_FCNTL  -USE_FLOCK
 [...]
 patch-1.5.tlr.mx_open_append.2
 patch-1.3.27.bse.xtitles.1
 patch-1.3.26.appoct.3
 patch-1.3.15.sw.pgp-outlook.1
 patch-1.3.27.admcd.gnutls.19
 Md.use_editor
 Md.paths_mutt.man
 Md.muttbug_no_list
 Md.use_etc_mailname
 Md.muttbug_warning
 Md.gpg_status_fd
 patch-1.3.24.rr.compressed.1
 patch-1.3.25.cd.edit_threads.9.1
 patch-1.3.23.1.ametzler.pgp_good_sign

lots of patches... including
a 1.5 patch on a 1.3 version?
good luck!

 I started noticing this problem a few days ago, but it was only happening
 with certain mailboxes, not with my inbox. Now my inbox is affected as well,
 and even a 0-byte mailbox I created makes it hang. I've tried commenting out
 the sort options in my config file, but that didn't help any.

have you treie it *without* a setup file?
mutt -F /dev/null -f folder

Sven



Re: Quoted-Printable header coding correct?

2002-04-19 Thread Sven Guckes

* Alexander Skwar [EMAIL PROTECTED] [2002-04-18 22:17]:
 »Sven Guckes« sagte am 2002-04-18 um 22:31:50 +0200 :
  beats me. do you have some more examples for which this happens?
  does mutt do the splitting of lines when the line is shorter?
  what happens now?
 Yes, it does.  All the time I get (well, sorta, of course):
   Subject: =?iso-8859-1?Q?=DCberpr=FCfun?=
=?iso-8859-1?Q?g?= von MailAdressen
 
 So, mutt always seperates the g from fun.

feature.  mutt knows how to separate
the fun things from the 'g' stuff.  ;-)

Sven  [now, that would explain... um, never mind]



Re: quotes - set attribution=`script`

2002-04-19 Thread Sven Guckes

* Bernard Massot [EMAIL PROTECTED] [2002-04-19 19:47]:
 it's :
   If (date written=a_monday) then quote with D'al ...
   Else quote with D'ar ...
 In brezhoneg language, you must write d'al lun
 (on monday) but d'ar meurzh (on tuesday), d'ar yaou
 (on thursday), etc...  *That* is what I want to do.

I'm sure Outlook will support it one day. HA!

Now, how about using just WHATEVER in the attribution
and replacing it from inside your editor?

Sven  [if mutt can't do it - then your editor can!]



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread Dan Lowe

Previously, s. keeling wrote:

 Does this actually work for you?  I just tested it and it doesn't for
 me, and I can find no ^Return-Path: header in your mail at least.

The Return-Path header is added by the final delivery MTA - so whether or
not it's added to a message will vary from one person to the next (since we
all have our own final delivery MTAs).  For instance, this message which
I'm replying to did not have a Return-Path header (at least, not in my
mailbox - it might have in yours).

-- 
Beware!  To touch these wires is instant death.  Anyone found doing so
will be prosecuted. -Sign at a railroad station 



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread Sven Guckes

* Rob Reid [EMAIL PROTECTED] [2002-04-19 17:06]:
 At  6:19 AM EDT on April 19 Sven Guckes sent off:
  so here are some of the addresses:
  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
[EMAIL PROTECTED]
 [EMAIL PROTECTED]
  I have appended my procmail rules
  which sort them into IN.MUTT mostly - enjoy!
 
 Do you really get a lot of mail with mutt-
 in it that *isn't* for one of the mutt lists?

well, the point is that i dont care how many false
positives there be with a smaller string in my rules.
using the full addresses gives me *no* false positives!  :-)

  ===  http://www.math.fu-berlin.de/~guckes/setup/procmailrc
  # 981009 - catch messages from gateway address on gbnet.net:
  :0
  * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net
  IN.MUTT
 Just to clarify - are you using MH or maildirs, Sven?
 mbox users should use :0:

right - I was lazy there.  so sue me.  ;-)

Sven



Re: procmail OR with +/- \infty

2002-04-19 Thread Sven Guckes

* parv [EMAIL PROTECTED] [2002-04-19 19:39]:
 wrote Sven Guckes thusly...
  ===  http://www.math.fu-berlin.de/~guckes/setup/procmailrc
  # 000710 - catch messages from gateway address on sonytel.be
  :0
  * ^[EMAIL PROTECTED]
  IN.MUTT
  
  # 000710 - added yahoogroups.com
  :0
  * ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
  IN.MUTT
 
 all these can be easily combined as one OR'd recipe (assuming mbox)...

i know, i know - but this just makes it all even more
complicated.  it's *much* easier to use simple rules.
you can test them and comment them out easily.  :-)

 ..and, from procmailsc(5)...
 MISCELLANEOUS
As  soon  as  `plus infinity' (2147483647) is reached, any
subsequent weighted conditions will simply be skipped
As soon as `minus infinity' (-2147483647) is reached,  the
condition  will be considered as `no match' and the recipe
will terminate early.

I'm sure everyone understands this.  but
does anyone find this an elegant solution?
i mean - seriously?  ;-)

Sven



Re: procmail and long regex - unwieldy

2002-04-19 Thread Sven Guckes

* John Iverson [EMAIL PROTECTED] [2002-04-19 20:48]:
 Why not Just use the regular OR operator?:
 
 :0
 * ^TOmutt(-dev|-users)?@(ns.)?gbnet.net|\
 ^[EMAIL PROTECTED]|\
 ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
 IN.MUTT

How do you *quickly* turn off recognition
for [EMAIL PROTECTED] with this?
exactly.  ;-)

Sven  [who really needs to put
  everything into *one* rule?]



Re: Kibo!

2002-04-19 Thread Sven Guckes

* David T-G [EMAIL PROTECTED] [2002-04-18 15:37]:
 ...and then s. keeling said...
 %   - Kibo probably already has the fix implemented.
 There he is!  I knew it would come to this soon :-)

I wonder whether Kibo will catch
these message from the google archive..

Sven  [dont worry - be happy!]

-- 
Sven Guckes [EMAIL PROTECTED]  | Multilingual KiboSig
KIBO In the name of Kibo the most fontious and sigful - Happynet be with you!
I Kibo den mest fontigaste och sigfullastes namn - Happynet må vara med dig
Im Namen Kibos des schrift- und signaturvollen - moege Happynet mit Dir sein!



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread s. keeling

Incoming from Dan Lowe:
 Previously, s. keeling wrote:
 
  Does this actually work for you?  I just tested it and it doesn't for
  me, and I can find no ^Return-Path: header in your mail at least.
 
 The Return-Path header is added by the final delivery MTA - so whether or
 not it's added to a message will vary from one person to the next (since we
 all have our own final delivery MTAs).  For instance, this message which
 I'm replying to did not have a Return-Path header (at least, not in my
 mailbox - it might have in yours).

Exactly.  It's an unreliable header.  So why use it?

I use sendmail + fetchmail + procmail + mutt.  No Return-Path: header
found.  Here's my full recipe for mutt-users.  Mangle to taste (I use
mbox folders; ymmv):

:0 H
* ^TO_.*@mutt.org
* ^Sender:.*owner\-mutt\-users\@mutt\.org
{
  :0
  { RULE=mutt users }
  :0:
  IN.mutt
}


Apologies to members of the list who couldn't give a flying #$%^
about procmail.  Stuff like this really ought to go to procmail-users
(another very good list IMO).

[Sorry 'bout the cc: Sven.  I still need practice on the L thing.]

-- 
Any technology distinguishable from magic is insufficiently advanced.
 TopQuark Software  Serv. Contract programmer, server bum.




Re: Outhouse on Mutt-Users?

2002-04-19 Thread Sven Guckes

* David Champion [EMAIL PROTECTED] [2002-04-08 19:11]:
  * Sven Guckes wrote:
   | Message-ID: 20020403210712.A1308@PROGENY
   | User-Agent: Mutt/1.3.19i
   broken MID and old mutt version.
   upgrade and get a FQDN!  :-p
 I think you're wrong: a dot in the Message-ID's RHS is
 not mandatory, and the Message-ID is not required to
 match your sending mail domain.  (This is recommended,
 not required.) See RFC 2822, section 3.6.4.

*sigh*

anyway, if someone with a non-FQDN MID
has a problem with his email setup then
I'd not help him unless he gets one.
same goes for people using pseudo names.

end of story.

Sven

-- 
Sven Guckes  [EMAIL PROTECTED]
Outcast/Outage Excess | Doubtlook Distress | Out-of-luck-Express
Outloo  LookOutExpress! Turn off HTML in mails - dammit:
Extras:Optionen:Senden:Nachricht_Senden-Format:Nur-Text



Re: Kibo!

2002-04-19 Thread s. keeling

Incoming from Sven Guckes:
 * David T-G [EMAIL PROTECTED] [2002-04-18 15:37]:
  ...and then s. keeling said...
  %   - Kibo probably already has the fix implemented.
  There he is!  I knew it would come to this soon :-)
 
 I wonder whether Kibo will catch
 these message from the google archive..

Aii!  We used to think it was pretty astonishing that someone would
grep his mail/news spool.  Unless he's upgraded recently, google's
gonna present a problem (I found a post today in groups.google.com
from a co-worker that was originally posted in '91 [I was only hoping
to explain groups.google.com to my mother]).

Yo, Kibo.  Que pasa?

WHAT A GREAT LIST THIS IS!  =[8]-)

[And to Sven: Do you want cc:'s?  It's my honor_followup_to that's
filling in my cc: header on replies to your posts.  Different strokes
...]


-- 
Any technology distinguishable from magic is insufficiently advanced.
 TopQuark Software  Serv. Contract programmer, server bum.




Re: Quoted-Printable header coding correct?

2002-04-19 Thread Rob Reid

At  9:50 PM EDT on April 19 Sven Guckes sent off:
 * Alexander Skwar [EMAIL PROTECTED] [2002-04-18 22:17]:
  ?Sven Guckes? sagte am 2002-04-18 um 22:31:50 +0200 :
   beats me. do you have some more examples for which this happens?
   does mutt do the splitting of lines when the line is shorter?
   what happens now?
  Yes, it does.  All the time I get (well, sorta, of course):
Subject: =?iso-8859-1?Q?=DCberpr=FCfun?=
 =?iso-8859-1?Q?g?= von MailAdressen
  
  So, mutt always seperates the g from fun.
 
 feature.  mutt knows how to separate
 the fun things from the 'g' stuff.  ;-)
 
 Sven  [now, that would explain... um, never mind]

Explain what?  Haven't you ever seen Mycologists are fun gis!?  (Pronounce
gis like guys, and yes, it's a bit sexist.)

-- 
A hypothetical paradox:
   What would happen in a battle between an Enterprise security team,
   who always get killed soon after appearing, and a squad of Imperial
   Stormtroopers, who can't hit the broad side of a planet?
-- Tom Galloway
Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: mutt maillist distribution via alias@domain

2002-04-19 Thread Rob Reid

At  4:26 PM EDT on April 19 John Iverson sent off:
 * On Fri, 19 Apr 2002, Rob Reid wrote:

  Return-Path works (for now anyway) and is cheaper than ^TO.
 
 My understanding is that some people prefer ^TO or ^TO_ to handle
 mail sent to both the list their personal address

Ah.  I'm not one of those people.

At  9:37 PM EDT on April 19 s. keeling sent off:
 Incoming from Rob Reid:
  
  # Sort away mails from the mutt (mail user agent) mailing list
  :0
  * ^Return-Path: mutt-users-owner
 
 Does this actually work for you?

Yep.

 .. Or are you doing some formail magic of which I'm unaware?

Not that I'm aware of.

At 10:05 PM EDT on April 19 Dan Lowe sent off:
 Previously, s. keeling wrote:
 
  Does this actually work for you?  I just tested it and it doesn't for
  me, and I can find no ^Return-Path: header in your mail at least.
 
 The Return-Path header is added by the final delivery MTA - so whether or
 not it's added to a message will vary from one person to the next

I didn't know that.  I'm using more or less standard Red Hat, with sendmail
handing off to procmail.  There's no /etc/procmailrc*, so sendmail must be
doing it (and I'm not going to wade into *there*).  My apologies, I thought the
Return-Path was being set by the mailing list distributor.
 
At 10:29 PM EDT on April 19 s. keeling sent off:
 Incoming from Dan Lowe:
  
  The Return-Path header is added by the final delivery MTA - so whether or
  not it's added to a message will vary from one person to the next (since we
  all have our own final delivery MTAs).  For instance, this message which
  I'm replying to did not have a Return-Path header (at least, not in my
  mailbox - it might have in yours).
 
 Exactly.  It's an unreliable header.  So why use it?

Not really.  It's perfectly reliable for me.

 :0 H
 * ^TO_.*@mutt.org
 * ^Sender:.*owner\-mutt\-users\@mutt\.org

Back to my original point, why not just use
:0H:
* ^Sender:.*owner\-mutt\-users\@ 

and catch all of the domains at once?  Sven's argument about avoiding false
postives doesn't really wash (unless you're on a dog sledder's list) because he
will miss *new* domains if and when they are added.
  
 Apologies to members of the list who couldn't give a flying @#$%^
 about procmail.  Stuff like this really ought to go to procmail-users

Well it is about the mutt lists.

-- 
loquacity, n.  A disorder which renders the sufferer unable to curb his
tongue when you wish to talk. - Ambrose Bierce, The Devil's Dictionary.
Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: procmail OR with +/- \infty

2002-04-19 Thread parv

in message [EMAIL PROTECTED],
wrote Sven Guckes thusly...

 * parv [EMAIL PROTECTED] [2002-04-19 19:39]:
  wrote Sven Guckes thusly...
...
   :0
   * ^[EMAIL PROTECTED]
   IN.MUTT
   
   :0
   * ^TOmutt(-dev|-users)?@.*(cs.hmc.edu|mutt.org|yahoogroups.com)
   IN.MUTT
  
  all these can be easily combined as one OR'd recipe (assuming mbox)...

...the omitted context showed use of scoring in one recipe...

 i know, i know - but this just makes it all even more
 complicated. 

having more than one recipe acting on single conditions delivering
to the only and same folder, as you had posted, is simpler (than
having one recipe simply OR'd to deliver to one folder)?


then of course words like simple, easy, complex are relative
terms.


  ..and, from procmailsc(5)...
  MISCELLANEOUS
 As  soon  as  `plus infinity' (2147483647) is reached, any
 subsequent weighted conditions will simply be skipped
 As soon as `minus infinity' (-2147483647) is reached,  the
 condition  will be considered as `no match' and the recipe
 will terminate early.
 
 I'm sure everyone understands this.  but does anyone find this an
 elegant solution?  i mean - seriously?  ;-)

elegant? it's procmail.

i take it you aren't much of a fan of procmail or its scoring.  if
you don't like infinities, you can use simpler numbers like 1^0 w/
some trade offs;  as i said earlier, see various procmail resources
for details.  perhaps i should list them this time...

http://www.procmail.org/
http://mirror.ncsa.uiuc.edu/procmail-faq/
http://mirror.ncsa.uiuc.edu/procmail-faq/procmailrc.0
http://mirror.ncsa.uiuc.edu/procmail-faq/procmailsc.0
http://mirror.ncsa.uiuc.edu/procmail-faq/procmailex.0
http://mirror.ncsa.uiuc.edu/procmail-faq/mini-faq.html
http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/


as far as i am concerned, scoring made my life easier to deal w/
procmail recipes.  i find procmail's scoring/conditions combining to
be weak as there are some AND, OR, NOT operations can't be done in
single recipe for the same action sometimes ... which, for me, would
have been simpler  better than having two or three recipes.


 - parv

--