Hang while sorting

2002-04-18 Thread Eric Christopherson

Hi. 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. My version is 1.3.28-1 from Debian sid; the full output of
mutt -v follows:

Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `Mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `Mutt -vv' for details.

System: Linux 2.4.18 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_GNUTLS  +USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
MIXMASTER=mixmaster
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

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


I ran strace on it, and the last few lines of that
were:

open(/tmp/mutt-zapp-15233-0, O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
fcntl64(4, F_GETFL) = 0x1 (flags O_WRONLY)
fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40022000
_llseek(4, 0, [0], SEEK_CUR)= 0
rt_sigprocmask(SIG_SETMASK, NULL, [HUP INT TERM TSTP WINCH RTMIN], 8) = 0
rt_sigsuspend([HUP INT TERM TSTP WINCH]

At this point the strace just idles; the cursor is still on the same line,
even.

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. That config
file follows, although I've edited out the comments and personal
information:

# begin .muttrc

ignore from  received content- mime-version status x-status message-id
ignore sender references return-path lines

macro index \eb '/~b ' 'search in message bodies'

bind editor \edeletekill-word
bind editor \ebackspace kill-word

bind editor delete  delete-char

bind pager  up  previous-line
bind pager  downnext-line

bind pager  delete delete-message
bind index  delete delete-message
macro generic   backspace 'delete-messageprevious-undeleted' 'delete and move up'
macro pager backspace 'delete-messageprevious-undeleted' 'delete and move up'
macro index backspace 'delete-messageprevious-undeleted' 'delete and move up'

unset use_domain

color hdrdefault cyan black
color quotedgreen black
color signature cyan black
color attachment brightyellow black
color indicator black cyan
color statusbrightgreen blue
color tree  red black
color markers   brightred black
color tilde blue black
color headerbrightcyan black ^From:
color headerbrightwhite black ^Subject:
color body  brightblue black (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
color headerbrightcyan black ^Content-.*:


unset write_bcc


macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

macro generic f1 !zless /usr/doc/mutt/manual.txt.gz\n Show Mutt documentation
macro index   f1 !zless /usr/doc/mutt/manual.txt.gz\n Show Mutt documentation
macro pager   f1 !zless /usr/doc/mutt/manual.txt.gz\n Show Mutt documentation

macro generic \ef !fetchmail\n Fetch POP mail

macro generic i c=inbox\n Change to inbox
macro index   i c=inbox\n Change to inbox

macro generic \ea | uudeview -a -i +o -p ~/download/email -\n Extract all 
attachments
macro index   \ea | uudeview -a -i +o -p ~/download/email -\n Extract all 
attachments
macro pager   \ea | uudeview -a -i +o -p ~/download/email -\n Extract all 
attachments

set abort_unmodified=no
set ascii_chars
unset beep
set charset=latin-1
unset confirmappend
set delete=yes
set editor=joe -wordwrap
set folder_format=%N %8s %d %f
set index_format=%4C %Z %{%b %d} %-15.15F (%4l) %s
set mbox=~/Mail/inbox
set pager_context=1
set pager_index_lines=4
set pager_stop

Re: limit to subjects with only CAPITALS

2002-04-18 Thread Michal 'hramrach' Suchanek

On Wed, Apr 17, 2002 at 08:35:09PM -0700, Gary Johnson wrote:
 On Thu, Apr 18, 2002 at 05:15:54AM +0200, Sven Guckes wrote:
  
  here are some examples to test your ideas:
  
Subject: THIS SUBJECT IS IN CAPS ONLY
Subject: THIS 1 2!
Subject: !ME TOO!
Subject: A N D  M E  T H R E E
Subject: !$#A^N%@D#*M%*E!#^
 
 I tested the search pattern
 
 [A-Z0-9 [:punct:]]+
 
If you want an even more complicated pattern you could try one of these:
^[^a-z]*[A-Z][^a-z]*$
^Subject:[^a-z]*[A-Z][^a-z]*$
I think it is exactly wat you said (at least one letter and no lowercase).


-- 
Michal Suchanek
[EMAIL PROTECTED]



List filtering [Was: Re: List-Reply]

2002-04-18 Thread Michal 'hramrach' Suchanek

On Wed, Apr 17, 2002 at 02:16:47PM -0400, Mike Schiraldi wrote:
  (the mail would end up in my inbox instead of the list folder).
 
 That should not happen. What does, say, your mutt-users procmail recipe look
 like?
 
 Mine's:
 
 :0 H
 * ^TO.*@mutt.org
 mutt/
 
As I'm mostly only listening I use 
* ^Sender:.*owner-mutt-users
and I got a duplicate into inbox

As for catching the correct duplicates which was mentioned at the start
of this thread you can test for TO to determine it's mutt-users and if
you detect a duplicate (using MD5 or message-id or whatever) with the
correct Sender (or matching FROM_DAEMON) _and_ are using maildirs or
such you can delete the offendig message that was already delivered
because it should not be too hard to find it. 

BTW: Some lists tag the subject with [listname] and are aesy to filter
even on less capable systems like freemail services.




-- 
Michal Suchanek
[EMAIL PROTECTED]



Re: procmail script for deleting duplicates

2002-04-18 Thread Edmund GRIMLEY EVANS

David Kelly [EMAIL PROTECTED]:

 Somehow I've missed the start of Edmund's .procmailrc. But why wouldn't
 one do it this way rather than MD5 all that stuff manually? Have you
 found the message-id header to be that unreliable?

Pointless paranoia really, but imagine this: someone could subscribe
to the same mailing list as you, with an address starting with 'a', so
they get the messages before you, then send you messages with the same
Message-ID as each message on the list. If their messages reach you
first, the real messages could be deleted by your formail script.

Edmund



Re: procmail script for deleting duplicates

2002-04-18 Thread David Kelly

Edmund GRIMLEY EVANS writes:
 David Kelly [EMAIL PROTECTED]:
 
  Somehow I've missed the start of Edmund's .procmailrc. But why wouldn't
  one do it this way rather than MD5 all that stuff manually? Have you
  found the message-id header to be that unreliable?
 
 Pointless paranoia really, but imagine this: someone could subscribe
 to the same mailing list as you, with an address starting with 'a', so
 they get the messages before you, then send you messages with the same
 Message-ID as each message on the list. If their messages reach you
 first, the real messages could be deleted by your formail script.

So you are protecting against a DoS? One where the perpetrator sticks 
out like a sore thumb? If that is the fear then use a separate formail 
dupe database for each mailing list or sort rule.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.





setting envelope-from

2002-04-18 Thread Volker Kuhlmann

Hi all,

how can I set the envelope-from independently from From: ? As is, mutt
copies From: into envelope-from. I want to use a mangled From: as spam
protection, but list servers need to see a correct envelope-from
(unless it's lists like this, which seems to accept any 'ol stuff)?

Of course it wouldn't work if list servers identify subscribers by
From:, but it's a good start.

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: procmail script for deleting duplicates

2002-04-18 Thread Nicolas Rachinsky

* Edmund GRIMLEY EVANS [EMAIL PROTECTED] [2002-04-17 23:59:39 +0100]:
 David Kelly [EMAIL PROTECTED]:
 
  Somehow I've missed the start of Edmund's .procmailrc. But why wouldn't
  one do it this way rather than MD5 all that stuff manually? Have you
  found the message-id header to be that unreliable?
 
 Pointless paranoia really, but imagine this: someone could subscribe
 to the same mailing list as you, with an address starting with 'a', so
 they get the messages before you, then send you messages with the same
 Message-ID as each message on the list. If their messages reach you
 first, the real messages could be deleted by your formail script.

And there are some broken mailers in use which generate duplicate MIDs.

Nicolas



Re: setting envelope-from

2002-04-18 Thread Christoph Maurer

On 2002-04-18 Volker Kuhlmann wrote:
 Hi all,
 
 how can I set the envelope-from independently from From: ? As is, mutt
 copies From: into envelope-from. I want to use a mangled From: as spam
 protection, but list servers need to see a correct envelope-from
 (unless it's lists like this, which seems to accept any 'ol stuff)?
 

Don't use envelope_from but set sendmail directly.
AFAIK envelope_from does nothing but invokes sendmail with parameter
-f From:-Header
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:

 Of course it wouldn't work if list servers identify subscribers by
 From:, but it's a good start.

Never heard this.

Gruß

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: mutt, pop, and HOWTOs (was Re: fork() ?)

2002-04-18 Thread David T-G

Simon, et al --

...and then Simon White said...
% 
% functionality retired in favour of good IMAP support and a HOWTO for
% fetchmail included in the Mutt distribution package?

Since mutt doesn't have the ability to send mail itself, but depends on
an MTA, I think it makes perfect sense to not bother with receiving
mail itself, and I'm all for tossing out that chunk of code.

How many people actually use mutt's pop and that's it for getting their
messages, other than newbies who try it first and then realize that they
should use a real downloading program?

I don't think we should bother with a fetchmail HOWTO just like we don't
bother with a sendmail HOWTO, but *perhaps* pointers to web sites for
fetchmail and getmail as well as sendmail, qmail, postfix, exim, ssmtp,
and maybe a few others (or maybe only one or two, but I don't want to
start a no, list MY favorite MTA! flame war :-) would cover the right
amount of ground.


% 
% -- 
% [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:76.25% see www.mersenne.org]
% Programming today is a race between software engineers striving to build
% bigger and better idiot-proof programs, and the Universe trying to produce
% bigger and better idiots.  So far, the Universe is winning.  -- Rich Cook


:-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!




msg27348/pgp0.pgp
Description: PGP signature


Way OT: procmail and dupes

2002-04-18 Thread Mike Schiraldi

 if large enough cache size is used, late arriving duplicate mail
 could be caught by procmail.

Right, but this whole subthread is about throwing away the first message and
keeping the second. As has been mentioned, if a large cache is used, it
means you have to hide the first message for a large amount of time and
only reveal it if no second message arrives before the first leaves the
cache.


-- 
Mike Schiraldi
VeriSign Applied Research



msg27350/pgp0.pgp
Description: PGP signature


Re: Organizing mailfolders (strategies and using with mutt)

2002-04-18 Thread David T-G

David, et al --

...and then David Rock said...
% 
...
% Mutt's default for saving messages seems to revolve around the From
% address (e.g. mail from [EMAIL PROTECTED] wants to save to ~/Mail/foo). Does

Right (though there is a save_alias patch that will let you save to the
alias rather than the actual addressee).


% anyone have some good ideas about how to manage their mailboxes? What

There are lots out there, but none have yet solved this problem.


% happens when you have a thread involving multiple people? If you use the
% above example, the thread would be destroyed as you save to different

The problem is one of saving your messages into multiple places;
sometimes it makes sense to stick it in Bob's folder, and sometimes in
Sue's, but sometimes it really pertains to both of them.  You also don't
want to duplicate your messages, because that costs disk space.

What you really need for this sort of thing is a RDB back-end that can
take the message itself and then link it to multiple users' mailboxes
as they are defined by a schema.  Then *everything* relating to Bob, even
if it were a simple offshoot from Sue, would be available, and threading
would be pretty.  That's a long way off, though.

One idea I had was moderately insane but manageable with shell scripts
and accessable from the filesystem (one bad thing about the RDB idea,
unless you also tie in a filesystem view -- which can be done, AIUI; I
think that Oracle has just such a product).  You need one Maildir which
keeps *all* of your mail, and then you have a bunch of fake Maildirs
which all have symlinks in cur which point to the proper message in the
real Maildir.

This is obviously just a small germ of an idea, and of quite possibly no
value whatsoever, but either of these proposals might get some ideas
kicking around and one of these days we might see an answer.


% folders. Is there a way to track a thread across different folders
% (maybe by message ids)?

You could certainly grepmail them together, but that still keeps things
separate, and you have to go and dig out a Message-ID: first.  Still,
that's probably the best for today.


% 
% -- 
% David Rock
% [EMAIL PROTECTED]


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!




msg27351/pgp0.pgp
Description: PGP signature


Re: mutt, pop, and HOWTOs (was Re: fork() ?)

2002-04-18 Thread Martin Karlsson

* David T-G [EMAIL PROTECTED] [2002-04-18 08.20 -0500]:
 Since mutt doesn't have the ability to send mail itself, but depends on
 an MTA, I think it makes perfect sense to not bother with receiving
 mail itself, and I'm all for tossing out that chunk of code.

I second that.

[...snip...]

 I don't think we should bother with a fetchmail HOWTO just like we don't
 bother with a sendmail HOWTO, but *perhaps* pointers to web sites for
 fetchmail and getmail as well as sendmail, qmail, postfix, exim, ssmtp,
 and maybe a few others (or maybe only one or two
[...snip...]

hmmm,
just a quick thought: perhaps a pointer to an existing resource? Is
there something like the Internet e-mail how-to over at linux-doc?
Someplace else? I don't see why the mutt docs should provide info
that's already available at a place devoted to it.

Just my 2whatever.

-- 
Martin Karlsson -- 0x9C924660

You can't teach people to be lazy -
 either they have it, or they don't. --Dagwood Bumstead




msg27352/pgp0.pgp
Description: PGP signature


Re: mutt, pop, and HOWTOs (was Re: fork() ?)

2002-04-18 Thread Sam Roberts

mutt has two varieties of pop support, and its not clear which (or
both) varieties you are talking about:

1 - The fetch-mail function

This doesn't seem enormously useful now that mutt has mailbox
support for pop://.

2 - browsing pop:// mailboxes

This is critical. I and others I know use mutt on varieties of
machines, where we need to check our email online, and DON'T have
imap access. The ability to do a quick check of our mail, without
disturbing the mail store, and without installing and configuring
software on all the machines we check mail from, is a huge advantage
to using mutt.

I hope that nobody is even considering removing this support.

The fetch-mail function looks to me like it could be replaced with a
macro that changes to a pop mailbox, selects all the messages, and saves
them in the last mailbox.

Sam

On Thu, Apr 18, 2002 at 08:20:24AM -0500, David T-G 
[EMAIL PROTECTED] wrote:
 Simon, et al --
 
 ...and then Simon White said...
 % 
 % functionality retired in favour of good IMAP support and a HOWTO for
 % fetchmail included in the Mutt distribution package?
 
 Since mutt doesn't have the ability to send mail itself, but depends on
 an MTA, I think it makes perfect sense to not bother with receiving
 mail itself, and I'm all for tossing out that chunk of code.
 
 How many people actually use mutt's pop and that's it for getting their
 messages, other than newbies who try it first and then realize that they
 should use a real downloading program?
 
 I don't think we should bother with a fetchmail HOWTO just like we don't
 bother with a sendmail HOWTO, but *perhaps* pointers to web sites for
 fetchmail and getmail as well as sendmail, qmail, postfix, exim, ssmtp,
 and maybe a few others (or maybe only one or two, but I don't want to
 start a no, list MY favorite MTA! flame war :-) would cover the right
 amount of ground.
 
 
 % 
 % -- 
 % [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:76.25% see www.mersenne.org]
 % Programming today is a race between software engineers striving to build
 % bigger and better idiot-proof programs, and the Universe trying to produce
 % bigger and better idiots.  So far, the Universe is winning.  -- Rich Cook
 
 
 :-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!
 



-- 
Sam Roberts [EMAIL PROTECTED]



Re: List-Reply

2002-04-18 Thread David T-G

Hi, all --

...and then s. keeling said...
% 
%   - Kibo probably already has the fix implemented.

There he is!  I knew it would come to this soon :-)


It's fun, though!

:-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!




msg27354/pgp0.pgp
Description: PGP signature


Re: folder-hook index_format

2002-04-18 Thread Michael Montagne

On 17/04/02, from the brain of Rocco Rutte tumbled:

 Hi,
 
 * Michael Montagne [04/17/02 20:25:08 CEST] wrote:
  I want my sentbox folder to show me the recipient's name,
  the date, etc.  So I use this line in .muttrc.  But all I get are
 blank
  lines.  
 
  folder-hook sentbox set index_format=%d %t (%3l) %s 
 
 Works here.
 
 Why not use %v or %L instead ot %t? So you wouldn't have to use
 folder-hooks, I guess, because %v makes exactly the distinction
 you'd like to have.
 
  If I use this line:
  folder-hook sentbox set index_format=%d %s
 
 Hmm, you could try enclosing the command in ''. %d requires a
 $date_format to be set, so check that, too.
 
 And btw, your first version really will look ugly. You
 probably would want to use something like:
 
   %d %-15.15t (%3l) %s
 
 HTH,
 
 Cheers, Rocco.

I know it's ugly, it was only an example.  The solution for me was to
put all the formating in another file and source it into my .muttrc.  It
must've had something to do with the order I called things.  I've had
issues with that before, but it's only a guess.  I used this terrific
web page as a template
http://www.davep.org/mutt/muttrc/folder-hooks.html



-- 
Michael Montagne
[EMAIL PROTECTED]
http://www.boora.com



Re: List-Reply

2002-04-18 Thread David T-G

Akkana --

...and then Akkana said...
% 
...
% Mike Schiraldi writes:
...
%  the request is for a command which will initiate a reply to A list but not
%  Alice.
% 
% Exactly!
...
% 
% So I gather that mutt currently has no way of doing this.  If I add

Yup.


% one, is there any chance it might make it back into the source tree?

Um, any?  Yeah, of course.  Any reasonably measurable probability?
I doubt it.  There are lots of very-much-loved feature patches that
aren't in the source tree, though, so you could still have your cake
and offer it to others.


% Or are people really opposed to this on principle?

Oh, no; if you can get it to really work, then I'd certainly be
interested.


% 
%   ...Akkana


:-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!




msg27356/pgp0.pgp
Description: PGP signature


Re: List-Reply

2002-04-18 Thread David T-G

Dan --

...and then Dan Lowe said...
% 
...
% Don't tell me the list has more than one address... do I need to have
% multiple subscribe lines for it?  Ugh.

While it only has one correct address, sometimes the gbnet address leaks
through.  You probably don't want to subscribe [EMAIL PROTECTED],
though, because you'd only be propagating the problem.


% 
% -- 
% It is necessary for us to learn from others' mistakes.  You will not live
% long enough to make them all yourself.-Hyman George Rickover


:-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!




msg27357/pgp0.pgp
Description: PGP signature


Re: mutt, pop, and HOWTOs (was Re: fork() ?)

2002-04-18 Thread David T-G

Martin, et al --

...and then Martin Karlsson said...
% 
% * David T-G [EMAIL PROTECTED] [2002-04-18 08.20 -0500]:
...
%  bother with a sendmail HOWTO, but *perhaps* pointers to web sites for
...
% 
% hmmm,
% just a quick thought: perhaps a pointer to an existing resource? Is
% there something like the Internet e-mail how-to over at linux-doc?
% Someplace else? I don't see why the mutt docs should provide info
% that's already available at a place devoted to it.

If we can count no that existing metaresource, then that's great; if it
might (as in has a moderate to high probability, not in case pigs
start flying) go away, though, I'd say to point to the tool pages
themselves.  It once again saves us from the no, include MY favorite
OS-of-choice-mail-configuration-site debate but also is one less thing
to maintain in the docs.


% 
% Just my 2whatever.

Thanks for contributing!


% 
% -- 
% Martin Karlsson -- 0x9C924660
% 
% You can't teach people to be lazy -
%  either they have it, or they don't. --Dagwood Bumstead
% 


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!




msg27358/pgp0.pgp
Description: PGP signature


Re: mutt, pop, and HOWTOs (was Re: fork() ?)

2002-04-18 Thread Matej Cepl

On Thu, Apr 18, 2002 at 11:00:03AM -0400, Sam Roberts wrote:
 2 - browsing pop:// mailboxes
 
 This is critical. I and others I know use mutt on varieties of
 machines, where we need to check our email online, and DON'T have
 imap access. The ability to do a quick check of our mail, without
 disturbing the mail store, and without installing and configuring
 software on all the machines we check mail from, is a huge advantage
 to using mutt.

I like this one too -- it is very usefull when I use Win32
(MinGW) port of mutt on the university network (so I do not have
to install any MTA a MDA programs). Please, keep it there.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat




IMAP Refresh

2002-04-18 Thread Colin Wetherbee

Greetings.

I checked the list archive, and I can't seem to find an answer to this 
particular question.  I'm using imap://localhost/ as my mailbox, which 
works fine with other MUAs, such as Netscape.

Normally, when using a local mail spool, rather than an IMAP connection 
(I use IMAP for my email at work and a mail spool at home), I can go 
through the inbox, and new mails will appear, as they've been received.  
Also, I can hit $, and the inbox will update.

With IMAP, however, none of this works.  As far as I can tell, the only 
way to refresh the inbox listing is to hit C and change back to my IMAP 
connection.  This is rather tedious, of course.

So, my question is this.  Is there some way to refresh an IMAP mailbox 
at an arbitrary time by hitting some key?  I don't mind putting things 
in my .muttrc, if it becomes necessary.

Thanks.

Colin

-- 
Colin W. Wetherbee
http://www.denterprises.org/

Man's basic vice, the source of all his evils, is the
 act of unfocusing his mind, the suspension of his
 consciousness, which is not blindness, but the refusal
 to see, not ignorance, but the refusal to know.
-- Ayn Rand



Re: IMAP synchronization w/o maildir???

2002-04-18 Thread Michael Elkins

Matej Cepl wrote:
 Do you know whether isync is/will be ever extended so that it
 would be able to synchronize two IMPAP stores (I guess, that
 adding that capability should not be so complicated, but of
 course I will not do it, so I may be totally wrong)?

This is not something that I plan to work on for isync, but if someone else
wants to give it a shot, they can.



Re: IMAP synchronization w/o maildir???

2002-04-18 Thread Matej Cepl

On Thu, Apr 18, 2002 at 09:31:44AM -0700, Michael Elkins wrote:
 This is not something that I plan to work on for isync, but if
 someone else wants to give it a shot, they can.

Oh, well. I was afraid of that :-(.

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
   on Nobel Prize awards for year 2001




Re: mutt, pop, and HOWTOs (was Re: fork() ?)

2002-04-18 Thread Shawn McMahon

begin  David T-G quotation:
 
 I don't think we should bother with a fetchmail HOWTO just like we don't
 bother with a sendmail HOWTO, but *perhaps* pointers to web sites for
 fetchmail and getmail as well as sendmail, qmail, postfix, exim, ssmtp,
 and maybe a few others (or maybe only one or two, but I don't want to
 start a no, list MY favorite MTA! flame war :-) would cover the right
 amount of ground.

IMHO, list as many as you can think of, but only if they have free
licenses.

Which of the above are excluded by this is left as an exercise for the
reader, for obvious reasons.


-- 
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



msg27364/pgp0.pgp
Description: PGP signature


fetchmail

2002-04-18 Thread keeper1

I have a pop3 mail account. I currently use fetchmail with mutt. Is pop3
support built into mutt? Which is better to use with mutt, fetchmail or
the pop3 support? I also use procmail. Any hints will be greatly
appreciated.

Regards,
Mike

[EMAIL PROTECTED]
Don't Fear The Penguin.



msg27365/pgp0.pgp
Description: PGP signature


Quoted-Printable header coding correct?

2002-04-18 Thread Alexander Skwar

Hi!

I've just received a message with these headers:

Subject: Re: =?iso-8859-1?Q?=DCberpr=FCfun?=
=?iso-8859-1?Q?g?= von E-Mail Adressen?
User-Agent: Mutt/1.3.28i

Is this the best way to encode the word Überprüfung at this
position?  What makes me wonder, is why the g has been put on the next
line and why it was encoded at all?  I'm not too sure on the RfC part,
but I would have expected something like:

Subject: Re: =?iso-8859-1?Q?=DCberpr=FCfung?=
von E-Mail Adressen?

Would this be wrong?

Hmm, and why was the g encoded with iso-8859-1?  Wouldn't us-ascii be
more conservative (and also 2 bytes shorter (that's no question *G*))?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 3 days 23 hours 8 minutes



Re: fetchmail

2002-04-18 Thread David T-G

Mike --

...and then keeper1 said...
% 
% I have a pop3 mail account. I currently use fetchmail with mutt. Is pop3
% support built into mutt? Which is better to use with mutt, fetchmail or
% the pop3 support? I also use procmail. Any hints will be greatly
% appreciated.

Although I hear that mutt's POP functionality works and is even loved by
some, the generally deafening answer you will get is use fetchmail.
See the archives for lots, lots, lots more of the same, with some details
thrown in for good measure.


% 
% Regards,
% Mike
% 
% [EMAIL PROTECTED]
% Don't Fear The Penguin.


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!




msg27367/pgp0.pgp
Description: PGP signature


Re: fetchmail

2002-04-18 Thread David Champion

* On 2002.04.18, in 20020418175408.GA@watcher,
*   keeper1 [EMAIL PROTECTED] wrote:
 I have a pop3 mail account. I currently use fetchmail with mutt. Is pop3
 support built into mutt? Which is better to use with mutt, fetchmail or
 the pop3 support? I also use procmail. Any hints will be greatly
 appreciated.

It depends. Some of my POP accounts only receive messages occasionally,
and I don't mind mixing them in with my local mailbox. For those, I use
fetchmail, though I'm thinking of having a look at getmail sometime.

But I have a few POP accounts that I'd rather leave there, and not mix
in with my local mailbox. For those, I use mutt's POP support:
mutt -f pop:[EMAIL PROTECTED]/

I can browse it as if it's a regular mailbox that way.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Replying with headers

2002-04-18 Thread mstevenson

Hello,

Is it possible to include (quote) the headers for a message I'm replying to?
In some special situations I'd like a reply to appear like a forward, yet
preserving the references (In-Reply-To: and such). Something like
 

You bastards!
 
- Original message follows -
Date: Mon, 01 Apr 2002 22:24:23 -0500
From: Eric Cartman [EMAIL PROTECTED]
To: Kyle Broflovski [EMAIL PROTECTED], Stan Marsh [EMAIL PROTECTED]
Subject: Not again
 
Oh my God! They killed Kenny!


 
I know how to set $attribution and $indent_string, but I don't know how to
get the headers in the quoted message.
 
Thanks for your input,

--
Matthew K Stevenson
[EMAIL PROTECTED]




Forwarding Email

2002-04-18 Thread dean

Hi all

Sometimes when I forward an email, I want the email to appear in the
same message and not as an attachment.  Is this possible using mutt?

Many thanks

Dean Benson



msg27370/pgp0.pgp
Description: PGP signature


Re: IMAP Refresh

2002-04-18 Thread Colin Wetherbee

Dean,

 I use the following in my ~/.muttrc to make sure my imap folders refresh
 in a timely manner.
 
 set timeout=15
 set mail_check=60

Thank you.  But, is there a way to make it update whenever I want by 
pressing a certain key? :)

Thanks.

Colin

-- 
Colin W. Wetherbee
http://www.denterprises.org/

Man's basic vice, the source of all his evils, is the
 act of unfocusing his mind, the suspension of his
 consciousness, which is not blindness, but the refusal
 to see, not ignorance, but the refusal to know.
-- Ayn Rand



Re: Forwarding Email

2002-04-18 Thread David T-G

Dean --

...and then [EMAIL PROTECTED] said...
% 
% Hi all

Hello!


% 
% Sometimes when I forward an email, I want the email to appear in the
% same message and not as an attachment.  Is this possible using mutt?

Yes.


% 
% Many thanks

Many welcomes.


% 
% Dean Benson


HTH  HAND  RTFM for more

:-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!




msg27372/pgp0.pgp
Description: PGP signature


Re: IMAP Refresh

2002-04-18 Thread Dan Lowe

Previously, Colin Wetherbee wrote:
 
 Thank you.  But, is there a way to make it update whenever I want by 
 pressing a certain key? :)

qmuttCR:)

Seriously, I have to do that sometimes if I'm waiting impatiently for
something I know should be there by now.  If you find a way to do what you
want, I'd also love to hear about it.

-- 
If you don't understand that you work for your mislabeled subordinates,
then you know nothing of leadership.  You know only tyranny.
-Dee Hock, Founder and CEO Emeritus, Visa



Re: IMAP Refresh

2002-04-18 Thread Colin Wetherbee

 I use the following in my ~/.muttrc to make sure my imap folders refresh
 in a timely manner.
 
 set timeout=15
 set mail_check=60

Ah, nevermind.  I found a key binding to use.  In case anyone else is 
interested, I've used the following line in my .muttrc.

bind index ^ imap-fetch-mail

Thanks for your help.

Colin

-- 
Colin W. Wetherbee
http://www.denterprises.org/

Man's basic vice, the source of all his evils, is the
 act of unfocusing his mind, the suspension of his
 consciousness, which is not blindness, but the refusal
 to see, not ignorance, but the refusal to know.
-- Ayn Rand



Re: Forwarding Email

2002-04-18 Thread Dan Lowe

Previously, [EMAIL PROTECTED] wrote:
 
 Sometimes when I forward an email, I want the email to appear in the
 same message and not as an attachment.  Is this possible using mutt?

# Use MIME (file attachment) when forwarding, or just inline text?
set mime_forward=ask-yes

I prefer 'ask-yes' so that when I forward, it will use an attachment by
default, but I have the option of saying 'no' to make it an inline forward.

Other possibles:

yes Always use attachment
no  Never use attachment
ask-no  Attachment is possible, but is not the default

-- 
In every respect the burden is hard on those who attack an almost universal
opinion.  They must be very fortunate as well as unusually capable if they
obtain a hearing at all.-John Stuart Mill



Re: fetchmail

2002-04-18 Thread parv

in message [EMAIL PROTECTED],
wrote David Champion thusly...

 * On 2002.04.18, in 20020418175408.GA@watcher,
 * keeper1 [EMAIL PROTECTED] wrote:
  I have a pop3 mail account. I currently use fetchmail with mutt. Is pop3
  support built into mutt? Which is better to use with mutt, fetchmail or
  the pop3 support? I also use procmail. Any hints will be greatly
  appreciated.
...
 But I have a few POP accounts that I'd rather leave there, and not mix
 in with my local mailbox. For those, I use mutt's POP support:
   mutt -f pop:[EMAIL PROTECTED]/

just so that there is no misunderstanding for the uninitiated ...
fetchmail can fetch  leave mail on the server as easily -- ok
almost as easily -- as it can fetch  delete mail.  rtfm for
details.


 I can browse it as if it's a regular mailbox that way.

if one needs that functionality, sure, use mutt instead.

  - parv

-- 
 



Re: quotes - set attribution=`script`

2002-04-18 Thread Sven Guckes

* Bernard Massot [EMAIL PROTECTED] [2002-04-18 13:20]:
 I've got a prb with quoting, in my .muttrc I wrote:

 send-hook [EMAIL PROTECTED] \
 set attribution = \D'`if [ \`date '+%w'\` = 1 ];then echo al;else echo
 ar;fi` %d, %n en deus skrivet:\
 and when I launch mutt, I got
 sh: [: too many arguments

 But when I type ... it works :
 $ echo set attribution = [...] 
 set attribution = D'ar %d,

shell parsing is different from mutt's parsing.
what else is new?

try this:set attribution=`script`
im mutt, of course.

anyway, words in the attribution are superfluous.
all that it takes are name+address:
  set attribution=* %n %a:

the '*' and ':' are simply used to
align the name with the quoted text
and make this line unique (which is
quite helpful with header editing).

PS:  iab prb problem

Sven



Re: Quoted-Printable header coding correct?

2002-04-18 Thread Sven Guckes

* Alexander Skwar [EMAIL PROTECTED] [2002-04-18 17:57]:
 I've just received a message with these headers:
 
 Subject: Re: =?iso-8859-1?Q?=DCberpr=FCfun?=
 =?iso-8859-1?Q?g?= von E-Mail Adressen?
 User-Agent: Mutt/1.3.28i
 
 Is this the best way to encode the
 word Überprüfung at this position?

No.  Better is Test.  ;-)

 What makes me wonder, is why the g has been put
 on the next line and why it was encoded at all?

i suppose the mail user agent decided
to split the rest onto the next line.

 I'm not too sure on the RfC part,
 but I would have expected something like:
 Subject: Re: =?iso-8859-1?Q?=DCberpr=FCfung?=
 von E-Mail Adressen?

tell the programmers of that mail client then!

 Hmm, and why was the g encoded with iso-8859-1?

Because RFC0815 defines it as an Ueber-Umlaut. ;-)

Sven  [whio never uses umlauts in headers, anyway]



Re: Replying with headers

2002-04-18 Thread David T-G

Matthew --

...and then mstevenson said...
% 
% Hello,

Hi!


% 
% Is it possible to include (quote) the headers for a message I'm replying to?
% In some special situations I'd like a reply to appear like a forward, yet
% preserving the references (In-Reply-To: and such). Something like

The only way I've seen to do it in mutt is to mouse the headers and then
paste them into your reply.

Based on what I see of your example, however, you can probably get
exactly the behavior you describe by switching to Outlook.  Enjoy! :-)


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!




msg27379/pgp0.pgp
Description: PGP signature


Re: Replying with headers

2002-04-18 Thread Michael Elkins

mstevenson wrote:
 Is it possible to include (quote) the headers for a message I'm replying to?

set header



Re: Replying with headers

2002-04-18 Thread mstevenson

Hi David,

On April 18, 2002, 12:31 PM, David T-G wrote:
 ...and then mstevenson said...
 % 
 % Is it possible to include (quote) the headers for a message I'm replying to?
 % In some special situations I'd like a reply to appear like a forward, yet
 % preserving the references (In-Reply-To: and such). Something like
 
 The only way I've seen to do it in mutt is to mouse the headers and then
 paste them into your reply.

Yep, I was trying to avoid this. Thanks for sharing the info, anyway.

 Based on what I see of your example, however, you can probably get
 exactly the behavior you describe by switching to Outlook.  Enjoy! :-)

Hey, man, be serious ;-)

Take care,

--
Matthew K Stevenson
[EMAIL PROTECTED]





Re: Quoted-Printable header coding correct?

2002-04-18 Thread Alexander Skwar

»Sven Guckes« sagte am 2002-04-18 um 21:13:57 +0200 :
 * Alexander Skwar [EMAIL PROTECTED] [2002-04-18 17:57]:
  Subject: Re: =?iso-8859-1?Q?=DCberpr=FCfun?=
  =?iso-8859-1?Q?g?= von E-Mail Adressen?
  User-Agent: Mutt/1.3.28i
  
  Is this the best way to encode the
  word Überprüfung at this position?
 
 No.  Better is Test.  ;-)

;)

 i suppose the mail user agent decided
 to split the rest onto the next line.

Well, but why did mutt do this?  Even with the g, the line would have
been shorter than 75 characters, and thus would still comply to RfC.

Or does the RfC require the next line to start with a QP header?

 tell the programmers of that mail client then!

Uhm, that's the *mutt*-users list, isn't it?  ;)  In case you simply
overlooked, the User-Agent was Mutt/1.3.28i.

Or are you saying I should post this to mutt-dev?

 Because RFC0815 defines it as an Ueber-Umlaut. ;-)

;)

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 4 days 0 hours 59 minutes



Re: fetchmail

2002-04-18 Thread Alexander Skwar

»keeper1« sagte am 2002-04-18 um 13:54:08 -0400 :
 the pop3 support? I also use procmail. Any hints will be greatly
 appreciated.

If you also use procmail, then I'd definitaly sp? stick with
fetchmail.  This way, you're also independant of the MUA, in case you
ever wish to downgrade to something else.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 4 days 1 hour 4 minutes



Re: Replying with headers

2002-04-18 Thread Dave Price

On Thu, Apr 18, 2002 at 12:40:09PM -0700, mstevenson wrote:
 Hi David,
 
 On April 18, 2002, 12:31 PM, David T-G wrote:
  ...and then mstevenson said...
  % 
  % Is it possible to include (quote) the headers for a message I'm replying to?
  % In some special situations I'd like a reply to appear like a forward, yet
  % preserving the references (In-Reply-To: and such). Something like
  
  The only way I've seen to do it in mutt is to mouse the headers and then
  paste them into your reply.

Another way is to edit (e) the original message and save off the
headers as a text block to be inserted into the reply.

aloha, 
dave




msg27384/pgp0.pgp
Description: PGP signature


[OT] procmail rule

2002-04-18 Thread Benjamin Michotte

hello,

sorry for the off-topic but I would like to add a rules to my procmailrc
to create archive by month; ie mutt-users.april.2002

Any Idea ?

yours,
binny

-- 

... et si nous sommes tous embarqués sur la même planète, nous ne
sommes décidement pas du même monde.
-- Bertrand Cantat

°v°  Benjamin Michotte[EMAIL PROTECTED]
_o_  web  : http://www.baby-linux.net



Re: Replying with headers (SOLVED)

2002-04-18 Thread mstevenson

On April 18, 2002, 12:36 PM, Michael Elkins wrote:
 
 mstevenson wrote:
  Is it possible to include (quote) the headers for a message I'm replying to?
 
 set header

Just for the record: the complete solution to achieve an Outlook-like behavior 
(yuck) with mutt is

  set header
  set indent_string=
  set attribution=- Original message -

It works like a charm.

Thanks for your help,

--
Matthew K Stevenson
[EMAIL PROTECTED]




Re: [OT] procmail rule

2002-04-18 Thread Mads Martin Jørgensen

* Benjamin Michotte [EMAIL PROTECTED] [Apr 18. 2002 21:56]:
 hello,
 
 sorry for the off-topic but I would like to add a rules to my procmailrc
 to create archive by month; ie mutt-users.april.2002
 
 Any Idea ?

man 8 cron
man 5 crontab
man crontab

-- 
Mads Martin Jørgensen, http://mmj.dk
Why make things difficult, when it is possible to make them cryptic
 and totally illogic, with just a little bit more effort?
-- A. P. J.



Re: [OT] procmail rule

2002-04-18 Thread darren chamberlain

* Benjamin Michotte [EMAIL PROTECTED] [2002-04-18 15:55]:
 sorry for the off-topic but I would like to add a rules to my procmailrc
 to create archive by month; ie mutt-users.april.2002

:0
* ^[EMAIL PROTECTED]
mutt-users.`date +%B.%Y | tr 'A-Z' 'a-z'`

The tr will do lower casing, as well.  Tested on Linux and Solaris.

(darren)

-- 
Any sufficiently advanced bug is indistinguishable from a feature.
-- Rich Kulawiec



Re: limit to subjects with only CAPITALS - solved!

2002-04-18 Thread Sven Guckes

* David Champion [EMAIL PROTECTED] [2002-04-18 03:32]:
 * On 2002.04.17, in [EMAIL PROTECTED],
 * Rob 'Feztaa' Park [EMAIL PROTECTED] wrote:
  So then how about ^[^a-z]+$ ? That would match anything that contained
  only non-lowercase-letters, wouldn't it?
 This should work:
   ~s ^A*[^a-z]+$

why - of *course*!

the capital letters forces mutt
to check for capitals - but making
that one capital letter optional
it might as well not appear at all.
why didn'y I think of that?  ;-)

well done!  thanks! :-)

I just tested this on my +SPAM folder
6755 matches out of 30108 - over 22%! :-)

Sven



including signature when mailing from the command line

2002-04-18 Thread Eric Smith

Could someone suggest why this dont include the signature in the email:
[eric@cherry ~] 1 $ mutt eric@localhost -s'test signature when mailing from command 
line'/etc/passwd -F /tmp/sig
cat /tmp/sig
set signature=echo Eric Smith|'

Eric Smith



Re: Replying with headers (SOLVED)

2002-04-18 Thread David Champion

* On 2002.04.18, in [EMAIL PROTECTED],
*   mstevenson [EMAIL PROTECTED] wrote:
 
 Just for the record: the complete solution to achieve an Outlook-like behavior 
(yuck) with mutt is
 
   set header
   set indent_string=
   set attribution=- Original message -
 
 It works like a charm.

Don't forget
  set perversely_place_reply_text_in_front_of_attributed_quotation

Looks like you left that one out.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Reply including headers

2002-04-18 Thread mstevenson

Hello,

Is it possible to include (quote) the headers for a message I'm replying to?
In some special situations I'd like a reply to appear like a forward, yet 
preserving the references (In-Reply-To: and such). Something like


You bastards!

- Original message follows -
Date: Mon, 01 Apr 2002 22:24:23 -0500
From: Eric Cartman [EMAIL PROTECTED]
To: Kyle Broflovski [EMAIL PROTECTED], Stan Marsh [EMAIL PROTECTED]
Subject: Not again

Oh my God! They killed Kenny!



I know how to set $attribution and $indent_string, but I don't know how to
get the headers in the quoted message.

Thanks for your input,

--
Matthew K Stevenson
[EMAIL PROTECTED]





Re: Reply including headers

2002-04-18 Thread Shawn McMahon

begin  mstevenson quotation:
 
 Is it possible to include (quote) the headers for a message I'm replying to?

Yes.

-- 
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



msg27393/pgp0.pgp
Description: PGP signature


Re: quotes - set attribution=`script`

2002-04-18 Thread Bernard Massot

On Thu, Apr 18, 2002 at 09:10:34PM +0200, Sven Guckes wrote:
 * Bernard Massot [EMAIL PROTECTED] [2002-04-18 13:20]:
  I've got a prb with quoting, in my .muttrc I wrote:
 
  send-hook [EMAIL PROTECTED] \
  set attribution = \D'`if [ \`date '+%w'\` = 1 ];then echo al;else echo
  ar;fi` %d, %n en deus skrivet:\
  and when I launch mutt, I got
  sh: [: too many arguments
 
  But when I type ... it works :
  $ echo set attribution = [...] 
  set attribution = D'ar %d,
 
 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

 
 anyway, words in the attribution are superfluous.
off course but making mutt doing complicated things is very fun ;)

 all that it takes are name+address:
   set attribution=* %n %a:
 
 the '*' and ':' are simply used to
 align the name with the quoted text
 and make this line unique (which is
 quite helpful with header editing).
 
 PS:  iab prb problem
 
 Sven

-- 
Bernard Massot



msg27394/pgp0.pgp
Description: PGP signature


Re: Quoted-Printable header coding correct?

2002-04-18 Thread Sven Guckes

* Alexander Skwar [EMAIL PROTECTED] [2002-04-18 19:43]:
 »Sven Guckes« sagte am 2002-04-18 um 21:13:57 +0200 :
  * Alexander Skwar [EMAIL PROTECTED] [2002-04-18 17:57]:
   Subject: Re: =?iso-8859-1?Q?=DCberpr=FCfun?=
   =?iso-8859-1?Q?g?= von E-Mail Adressen?
   User-Agent: Mutt/1.3.28i
  i suppose the mail user agent decided
  to split the rest onto the next line.
 Well, but why did mutt do this?  Even with the g, the line would have
 been shorter than 75 characters, and thus would still comply to RfC.
 Or does the RfC require the next line to start with a QP header?

beats me. do you have some more examples for which this happens?
does mutt do the splitting of lines when the line is shorter?

try these:
 Subject: Überprüfung von E-Mail Adressen?
 Subject: Überprüfung von E-MailAdressen
 Subject: Überprüfung von EMailAdressen
 Subject: Überprüfung von MailAdressen
 Subject: Überprüfung von Adressen

what happens now?

  tell the programmers of that mail client then!
 Uhm, that's the *mutt*-users list, isn't it?  ;)
 Or are you saying I should post this to mutt-dev?

yep

Sven



Re: including signature when mailing from the command line

2002-04-18 Thread Sven Guckes

* Eric Smith [EMAIL PROTECTED] [2002-04-18 20:10]:
 Could someone suggest why this dont include the signature in the email:
 $ mutt eric@localhost -s test /etc/passwd -F /tmp/sig
 $ cat /tmp/sig
   set signature=echo Eric Smith|'

the option -F specifies a *setup* file -
but your's contains the signature itself.
what's wrong with this picture?  ;-)

Sven



Re: including signature when mailing from the command line

2002-04-18 Thread David Champion

* On 2002.04.18, in [EMAIL PROTECTED],
*   Eric Smith [EMAIL PROTECTED] wrote:
 Could someone suggest why this dont include the signature in the email:
 [eric@cherry ~] 1 $ mutt eric@localhost -s'test signature when mailing from command 
line'/etc/passwd -F /tmp/sig
 cat /tmp/sig
 set signature=echo Eric Smith|'

Reading the message body from stdin doesn't apply the signature, whether
it's a pipe or a file. You could use, rather:

(cat /etc/passwd;
 echo -- ;
 cat $HOME/.signature) | mutt -s 'testing signature' eric@localhost


BTW, the address needs to come after all the options in my mutt
(1.3.28). Does it work as above in 1.2.5?

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: using mutt like OE - KILL

2002-04-18 Thread Sven Guckes

* mstevenson [EMAIL PROTECTED] [2002-04-18 19:59]:
 Just for the record: the complete solution to
 achieve an Outlook-like behavior (yuck) with mutt is

   set header
   set indent_string=
   set attribution=- Original message -

 It works like a charm.

this also earns you a
line in my killfile.

Sven

--
Jr arrq xvyysvyrf gung npghnyyl *xvyy*!



Re: Quoted-Printable header coding correct?

2002-04-18 Thread Alexander Skwar

»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?

Yes, it does.

 what happens now?

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.

 yep

Will do.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 4 days 3 hours 35 minutes



Re: quotes - set attribution=`script`

2002-04-18 Thread Rob 'Feztaa' Park

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.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
BOFH excuse #108:
The air conditioning water supply pipe ruptured over the machine room



msg27400/pgp0.pgp
Description: PGP signature


Re: [OT] procmail rule

2002-04-18 Thread Rob 'Feztaa' Park


--c3bfwLpm8qysLVxt
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Mads Martin J=F8rgensen spake thus:
  sorry for the off-topic but I would like to add a rules to my procmailrc
  to create archive by month; ie mutt-users.april.2002
 =20
  Any Idea ?
=20
 man 8 cron
 man 5 crontab
 man crontab

That would be The Wrong Way (tm) of doing it. What you need to do is get
them organized in the first place, not after-the-fact.

That procmail rule suggested in the other email will work fine, but I do
it differently here:

I let procmail put everything into ~/mail/mbox, and then I use mbox
hooks to move old mail from ~/mail/mbox to
~/mail/archives/.MM.mbox ;)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
I'm sorry, our software is perfect. The problem must be you.
-- Dogbert

--c3bfwLpm8qysLVxt
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

iD8DBQE8v0pvPTh2iSBKeccRAvRcAJ4pdU22MXP6JOg4xclnF9H95Ktn0wCfS7rg
p4CQT2eD3LYpfh/MAJVK73s=
=8wNx
-END PGP SIGNATURE-

--c3bfwLpm8qysLVxt--



Re: Quoted-Printable header coding correct?

2002-04-18 Thread Rob 'Feztaa' Park


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

Alas! Alexander Skwar spake thus:
 All the time I get (well, sorta, of course):
=20
 Subject: =3D?iso-8859-1?Q?=3DDCberpr=3DFCfun?=3D
 =3D?iso-8859-1?Q?g?=3D von MailAdressen
=20
 So, mutt always seperates the g from fun.

That's what you get for using wonky foreign characters like 'g' ;)

--=20
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
We are Pentium of Borg. Division is futile. You will be approximated.
(seen in someone's .signature)

--bajzpZikUji1w+G9
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

iD8DBQE8v0rZPTh2iSBKeccRAmMUAJ0UQ7AaEGf90se8LgjisLFazveuoACcDe2Q
OnG6nyl4yGfJSSVcyfLw2dk=
=9gak
-END PGP SIGNATURE-

--bajzpZikUji1w+G9--



Hang while sorting

2002-04-18 Thread Eric Christopherson

[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. If anyone can
help me, I would be most appreciative!]

[I apologize if it's bad form to post this to both lists in the first
place.]

Hi. 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. My version is 1.3.28-1 from Debian sid; the full output of
mutt -v follows:

Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `Mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `Mutt -vv' for details.

System: Linux 2.4.18 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_GNUTLS  +USE_SASL
+HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
+HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/share/mutt
SYSCONFDIR=/etc
EXECSHELL=/bin/sh
MIXMASTER=mixmaster
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

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


(I also tried using the 2002-4-18 CVS unstable snapshot, with the same
results.)

I ran strace on it, and the last few lines of that
were:

open(/tmp/mutt-zapp-15233-0, O_WRONLY|O_CREAT|O_EXCL, 0600) = 4
fcntl64(4, F_GETFL) = 0x1 (flags O_WRONLY)
fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40022000
_llseek(4, 0, [0], SEEK_CUR)= 0
rt_sigprocmask(SIG_SETMASK, NULL, [HUP INT TERM TSTP WINCH RTMIN], 8) = 0
rt_sigsuspend([HUP INT TERM TSTP WINCH]

At this point the strace just idles; the cursor is still on the same line,
even.

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. That config
file follows, although I've edited out the comments and personal
information:

# begin .muttrc

ignore from  received content- mime-version status x-status message-id
ignore sender references return-path lines

macro index \eb '/~b ' 'search in message bodies'

bind editor \edeletekill-word
bind editor \ebackspace kill-word

bind editor delete  delete-char

bind pager  up  previous-line
bind pager  downnext-line

bind pager  delete delete-message
bind index  delete delete-message
macro generic   backspace 'delete-messageprevious-undeleted' 'delete and move up'
macro pager backspace 'delete-messageprevious-undeleted' 'delete and move up'
macro index backspace 'delete-messageprevious-undeleted' 'delete and move up'

unset use_domain

color hdrdefault cyan black
color quotedgreen black
color signature cyan black
color attachment brightyellow black
color indicator black cyan
color statusbrightgreen blue
color tree  red black
color markers   brightred black
color tilde blue black
color headerbrightcyan black ^From:
color headerbrightwhite black ^Subject:
color body  brightblue black (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+
color headerbrightcyan black ^Content-.*:


unset write_bcc


macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

macro generic f1 !zless /usr/doc/mutt/manual.txt.gz\n Show Mutt documentation
macro index   f1 !zless /usr/doc/mutt/manual.txt.gz\n Show Mutt documentation
macro pager   f1 !zless /usr/doc/mutt/manual.txt.gz\n Show Mutt documentation

macro generic \ef !fetchmail\n Fetch POP mail

macro generic i c=inbox\n Change to inbox
macro index   i c=inbox\n Change to inbox

macro generic \ea | uudeview -a -i +o -p ~/download/email -\n Extract all 
attachments
macro index   \ea | uudeview -a -i +o -p ~/download/email -\n Extract all 
attachments
macro pager   \ea | uudeview -a 

Re: procmail script for deleting duplicates

2002-04-18 Thread Rob 'Feztaa' Park


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

Alas! Edmund GRIMLEY EVANS spake thus:
 Pointless paranoia really, but imagine this: someone could subscribe
 to the same mailing list as you, with an address starting with 'a', so
 they get the messages before you, then send you messages with the same
 Message-ID as each message on the list. If their messages reach you
 first, the real messages could be deleted by your formail script.

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
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Basically my wife was immature.  I'd be at home in the bath and she'd
come in and sink my boats.
-- Woody Allen

--OXfL5xGRrasGEqWY
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

iD8DBQE8v0R/PTh2iSBKeccRAnkTAJ9ALcNihtNK4OAgCCHSGjJS/s1NQQCcDPz9
h3DdJFktVWgAxrhX2nOMgoY=
=U/id
-END PGP SIGNATURE-

--OXfL5xGRrasGEqWY--



Announcing an Emacs mode for mutt configuration files

2002-04-18 Thread Rob Reid

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.

It's small, so I attached it.

-- 
Your armadillos smell lemony fresh!
Robert I. Reid | PGP/GPG Keys: http://astro.utoronto.ca/~reid/pgp.html


;;; muttrc.el --- generic mode for mutt configuration files  
;   $Id: muttrc.el,v 1.3 2002/04/18 23:19:05 reid Exp $ 

;; Copyright (C) 2002  Free Software Foundation, Inc.

;; Author: Rob Reid [EMAIL PROTECTED]
;; Keywords: faces, mail

;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.

;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to
;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.

;;; Commentary:

;; Provides syntax highlighting for the configuaration files of mutt, the mail
;; user agent.  It isn't perfect, but it highlights the keywords and comments
;; in my ~/.muttrc slightly better than sh-mode does.  generic-x is REALLY
;; convienient, but I don't see any simple way to make it smarter about cut
;; characters and keyword vs. variable conflicts.

;; $Log: muttrc.el,v $
;; Revision 1.3  2002/04/18 23:19:05  reid
;; Changed $log$ to $Log$.
;;

;;; Code:
(require 'generic)
(require 'generic-x)

(define-generic-mode 'muttrc-mode
  (list ?#)
  (list alternative_order append-hook ask-no ask-yes attach
attachment auto_view bind black blue body brightblue
bringhtcyan brightgreen brightmagenta brightred brightyellow
brightwhite close-hook color compose cyan default editor
error folder-hook generic green header ignore index
indicator macro magenta markers no normal open-hook
pager red save-hook send-hook set source status tilde
tree unset white yes)
  
'((\\(abort_unmodified\\|alias_file\\|attribution\\|confirmcreate\\|edit_hdrs\\|editor\\|folder\\|forw_decode\\|forw_quote\\|nohelp\\|hidden_host\\|history\\|include\\|mailcap_path\\|noconfirmappend\\|nomove\\|pager_context\\|pager_format\\|pager_index_lines\\|pager_stop\\|pgp_timeout\\|pgp_verify_sig\\|pgp_v2_language\\|postponed\\|print_cmd\\|noprompt_after\\|quote_regexp\\|quote_sig\\|quoted*\\|save_empty\\|record\\|signature\\|sort\\|sort_aux\\|status_format\\|suspend\\|timeout\\|tmpdir\\|use_8bitmime\\|web_browser\\)
 1
 'font-lock-variable-name-face))
  (list Muttrc \\.muttrc)
  nil)

(provide 'muttrc)
;;; muttrc.el ends here



msg27405/pgp0.pgp
Description: PGP signature


gbnet.net was Re: List-Reply

2002-04-18 Thread V K

 % Don't tell me the list has more than one address... do I need to have
 % multiple subscribe lines for it?  Ugh.
 
 While it only has one correct address, sometimes the gbnet address leaks
 through.  You probably don't want to subscribe [EMAIL PROTECTED],
 though, because you'd only be propagating the problem.

It would help of course if subscribing from www.mutt.org would result in
a response from @mutt.org, not @gbnet.net. If the list manager itself
doesn't quite know how to pass itself off than it's not really
surprising if the wrong domain keeps on popping up. Or are there
technical reasons why this can't be fixed?

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: ZipLip - KillFile

2002-04-18 Thread Sven Guckes

* 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.

Sven  [no mercy for bad software]

-- 
Intolerant people should be shot.