Re: Set Notice-Requested-Upon-Delivery-To automagically

1999-07-25 Thread Frank Ellert

Marco Goetze <[EMAIL PROTECTED]> schreibt:

>>Is there a possibility to set Notice-Requested-Upon-Delivery-To-lines 
>>depending on the To- and Cc-lines automagically?
>
>  send-hook bob@foo\.bar my_hdr Notice-Requested-Upon-Delivery-To: [EMAIL PROTECTED]

Thank you.  Is there also a possibility for all possible To- and
Cc-lines with less than infinite my_hdr-lines?

Frank
-- 
"Wer den Swing in sich hat, kann nicht mehr im Gleichschritt
marschieren." Coco Schumann, Jazzer, Überlebender des KZ
Theresienstadt
http://www.free.de/~fe/>



Re: Backslashes in regexp quoting?

1999-07-25 Thread Marco Goetze

On Sun, Jul 25 1999, at 02:36 -0500, David DeSimone wrote:
>Marco Goetze <[EMAIL PROTECTED]> wrote:
>>   set alternates=brian@(darkstar\.)?brie\.com
>Something I've been wondering lately...
>
>Is the above proper quoting?  That is, are the backslashes correct?
>
>Doubtless the intent is to quote the '.' characters so that they are
>interpreted as literal dots.  But as I understand Mutt's quoting
>algorithm, the first pass of Mutt reading the .muttrc file will remove
>the backslashes, making the regexp come out essentially to
>"brian@(darkstar.)?brie.com", which will probably work, but is
>technically incorrect.
>
>So what is really needed is this, right?
>
>set alternates=brian@(darkstar\\.)?brie\\.com

As a quick test indicates, you're obviously right.  Funny thing I never 
noticed my unquoted "\." sequences were always interpreted as "."'s. %-]

Thanks for pointing this out.


Marco



generating mailboxes from reverse_alias

1999-07-25 Thread esoR ocsirF

Greetings all,
I apologize if you get this twice, I am not sending from my default
account and the first try has been held for authorization by
owner-mutt-users.

My problem is that I would like to be able to generate mailboxes based
on the alias I give to some one sending me a message. I have the
following in my .muttrc

set reverse_name
set reverse_alias
alias joe Joseph User <[EMAIL PROTECTED]>

plus other settings which ( I think :-) are not relevant.

Can I get mutt to create a default mailbox name of joe instead of 12345?

TIA, 
ps. I have RTFM, even if I didn't understand all of it ;-)

-- 
Frisco Rose REU Student
[EMAIL PROTECTED]



Re: Set Notice-Requested-Upon-Delivery-To automagically

1999-07-25 Thread Marco Goetze

On Sun, Jul 25 1999, at 08:11 +0200, Frank Ellert wrote:
>Marco Goetze <[EMAIL PROTECTED]> schreibt:
>>>Is there a possibility to set Notice-Requested-Upon-Delivery-To-
>>>lines depending on the To- and Cc-lines automagically?
>>send-hook bob@foo\\.bar my_hdr Notice-Requested-Upon-Delivery-To: 
>>[EMAIL PROTECTED]
>Thank you.  Is there also a possibility for all possible To- and Cc-
>lines with less than infinite my_hdr-lines?

None that I would be aware of, unless...  Well, you could define an 
auto-command inside your editor that filters your mail through some 
script gathering addresses from said fields and adding a "Notice-
Requested-Upon-Delivery-To:" header composed of those to the original 
headers.


Marco



Re: Problems with 'set editor'

1999-07-25 Thread Ronny Haryanto

On 23-Jul-1999, Steve Crane wrote:
> Earlier this week someone recommended adding
>   set editor ="vim +'/^[ ,\t]*> --/,/^-- /-2d'"
> to .muttrc to strip out the signature on a reply so I implemented this.
> It works fine but but if the regexp is not found (when sending a new
> message for instance), I get an error message and must press return to
> continue.  This is rather irritating and I was wondering if there is any
> way around it.

This is what I use, a less strict modification on someone's suggestion
probably in this list or vim list. In .vimrc:

   au BufRead mutt-fluke* normal :g/^> *[-_]\{2,} *$/,/^$/-1d
gg

Notes:
1. mutt-fluke* is the pattern for temp files created by mutt,
   fluke is my machine, change it to yours, or maybe you can use
   'mutt-*', or dynamically get the hostname
2. the sig delimeter I use is not only dash-dash-space, also including
   more than two dashes or underscores (eg. Hotmail's annoying "Get
   your free email..."), will delete everything from
   that line up to the first blank line, press enter in case search
   fails, refresh screen and go to the first line.

If you want strictly dash-dash-space for sig delimeter:

   au BufRead mutt-fluke* normal :g/^> *-- $/,/^$/-1d
gg

PS. To insert a real ^M, type Ctrl-V-M or Ctrl-V Ctrl-M.

Hope that helps,

-- 
Ronny Haryanto



Off-topic? Cleanup after html2txt

1999-07-25 Thread Howard Arons

I use Cees van de Griend's perl script (html2txt; V 1.10) to view those 
pesky html messages directly from Mutt via this entry in my mailcap 
file: text/html; html2txt; copiousoutput

Works great, except that the /tmp/html2txt..html files are never 
deleted. Right now I'm cleaning out the files in /tmp at shutdown via my 
halt.local script.

Anything wrong with this approach? Has anyone else encountered this problem 
with html2txt?

Howard Arons
-- 
Powered by SuSE Linux 5.2 -- Upgraded to kernel 2.0.36
Communications by Mutt 0.93.2i



Email client poll - Conclusion

1999-07-25 Thread Lars Hecking


 As I brought this onto the list, tlr has asked me to post the results.

 http://slashdot.org/pollBooth.pl?qid=emailclient&aid=-1

 Which e-mail client do you use?

 Elm1643 /  4% 
*Mutt   3115 /  8% 
 Pine   9615 / 25%
 Eudora 3455 /  9%
 Communicator   8319 / 22%
 Outlook5798 / 15%
 Other  4758 / 12%
 xxx Sux 857 /  2%
 =
 Total 37560 / 97% (rounding error)

 One of the more interesting results IMHO is that the percentages are almost
 unchanged (+/- 1%) from very early in the poll. So much for advocacy :)



Re: Off-topic? Cleanup after html2txt

1999-07-25 Thread Shao Zhang

I believe all standard linux distro will have provide a shell script to clean up /tmp 
when the system
boots up. If you haven't already got one, just write a little shell script to clean 
/tmp in /etc/init.d(in debian)
or wherever yours is...

On Sun, Jul 25, 1999 at 01:11:46PM -0400, Howard Arons wrote:
> I use Cees van de Griend's perl script (html2txt; V 1.10) to view those 
> pesky html messages directly from Mutt via this entry in my mailcap 
> file: text/html; html2txt; copiousoutput
> 
> Works great, except that the /tmp/html2txt..html files are never 
> deleted. Right now I'm cleaning out the files in /tmp at shutdown via my 
> halt.local script.
> 
> Anything wrong with this approach? Has anyone else encountered this problem 
> with html2txt?
> 
> Howard Arons
> -- 
> Powered by SuSE Linux 5.2 -- Upgraded to kernel 2.0.36
> Communications by Mutt 0.93.2i
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: Email client poll

1999-07-25 Thread Joerg Uecker
 On Thu, Jul 15, 1999 at 11:21:47PM -0400, Mark Mielke wrote: 
It's so much cooler to have messages fade and titles bold/unbold in front of your eyes. Rich text email (in the form of HTML) can be exchanged using Netscape/IE... 
You can have that with redmutt too. Use text/enriched, defined in RFC 1563. yellowNetscape also understands it. 

generating mailbox from reverse_alias

1999-07-25 Thread Frisco Rose

Greetings all,
I am *very* much a newbie to mutt. First I would like to say that I
found most of the documentation relatively easy, thanks to the author.

My problem, perhaps a trivial one, is that I would like to be able to
generate mailboxes based upon the reverse_alias of the sender.

I have these in my .muttrc

set reverse_name
set reverse_alias
alias joe Joseph User <[EMAIL PROTECTED]>

plus other things that I don't think are related.

I would like for the default mailbox name to be 'joe' and not '12345'.
Is this possible? TIA,

-- 
Frisco Rose REU Student
[EMAIL PROTECTED]



Re: How to save message in non-maildir format?

1999-07-25 Thread lang

On Thu, Jul 22, 1999 at 04:11:24PM -, Lorens Kockum wrote:

> On mutt-users [EMAIL PROTECTED] wrote:
> >How can I save an E-Mail message in 'not a maildir' format
> >when, for example, I want to import it into another program?

> With $MAILDIR a directory (with attendant $MAILDIR/tmp,
> $MAILDIR/new, and $MAILDIR/cur), with folder="$MAILDIR/", when I
> save a message to =foo, I get an mbox $MAILDIR/zorglub.

I think this is true only if =foo already exists. If it doesn't, you
get a prompt asking if you want to create it. If you answer yes,
it creates a maildir format one. If you answer no, the process is
cancelled. 

What I do at the moment is pipe the email to cat>foo.txt
I am going to try the other suggestions of going into the
attachments screen and piping to formail.

This problem is a very important one to me. I would like to be
able to make it easier to move between vim, my editor, and mutt.
Ideally, what I want is to be able to get from mutt the name of
the file that the email is in (I don't want to do all this
copying and piping), but the file browser doesn't allow
me to do this? 

Then I can use vim's tab-completion to read in the correct file. 
This is like a writer pulling out material from a pile of papers
they want to quote. It needs to be as easy as possible.

-- 
Greg Matheson   The Internet from time
Chinmin College, Taiwan to time claims this 
[EMAIL PROTECTED]  address does not exist