Re: Setting the hostname used in HELO

2002-02-28 Thread Simon White

On 27-Feb-02 at 20:46, Knute's inspired musing was thus :
> On Wed, 27 Feb 2002, Bob McLaren wrote:
> 
> > What can I do to force the HELO generated by mutt to use my outside SMTP
> > hostname?

Mutt doesn't generate a HELO, it's a MUA not an MTA.

You are probably running sendmail or something similar locally, and passing on to the
SMTP server on your local network. What you need to do is to configure your
sendmail (or other MTA) on your box to send a faked hostname which is
acceptable, or to check with the sysadmin for the mail server with the real
hostname/IP on the network and ask if the MTA there can be tweaked for you.

MUA = Mail User Agent (like Mutt)
MTA = Mail Transfer Agent (like Sendmail (ugh!), Postfix, Exim, Qmail...)

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



Re: mutt paints over background image

2002-02-28 Thread Dominik Vogt

> On Wed, Feb 27, 2002 at 03:11:21PM +0100, Dominik Vogt wrote:
> > On Wed, Feb 27, 2002 at 08:37:22AM -0500, Thomas E. Dickey wrote:
> > > On Wed, 27 Feb 2002, Dominik Vogt wrote:
> > > > > > I have been using mutt in an rxvt window with a background xpm
> > > > for a long time, using the version from the SuSE distribution
> > > > withouth compilling myself.  Since SuSE 7.2 however, rxvt covers
> > > > the background image with a black character background itself.  I
> > > > guess this has something to do with slang vs. ncurses.  The older
> > > > versions were using ncurses and the new ones are compiles with
> > > > slang.
> > > >
> > > > Is there any way to get back my background image without having to
> > > > compile mutt myself?
> > > > > it's most likely the choice of $TERM (the terminfo entry should have
> > > 'op' using \E[39m;\E[49m, for instance).
> > Ahem, could you explain that again for complete idiots?  I don't
> > have the terminfo sources installed, so I can't check the settings
> > in the rxvt terminfo file (unless someone tells me how to do it).
> 
> the color terminfo for rxvt should look like this (I used infocmp to dump
> it, could use tic on the same text to install it):
> 
> #   Reconstructed via infocmp from file: /usr/lib/terminfo/r/rxvt
> rxvt|rxvt terminal emulator (X Window System), 
> am, bce, eo, km, mir, msgr, xenl, xon, 
...

Ah yes, I see.  I must have misread the infocmp man page.  But the
"op" entry looks exactly like you said.

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20



Re: mutt paints over background image

2002-02-28 Thread Thomas E. Dickey

On Thu, 28 Feb 2002, Dominik Vogt wrote:

> > #   Reconstructed via infocmp from file: /usr/lib/terminfo/r/rxvt
> > rxvt|rxvt terminal emulator (X Window System),
> > am, bce, eo, km, mir, msgr, xenl, xon,
> ...
>
> Ah yes, I see.  I must have misread the infocmp man page.  But the
> "op" entry looks exactly like you said.

then the problem is likely on the other end - something didn't work in
mutt's configure script, so it doesn't see the functions that control
color (use_default_colors, for instance).

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net




Re: mutt paints over background image

2002-02-28 Thread Dominik Vogt

On Thu, Feb 28, 2002 at 07:25:51AM -0500, Thomas E. Dickey wrote:
> On Thu, 28 Feb 2002, Dominik Vogt wrote:
> 
> > > #   Reconstructed via infocmp from file: /usr/lib/terminfo/r/rxvt
> > > rxvt|rxvt terminal emulator (X Window System),
> > > am, bce, eo, km, mir, msgr, xenl, xon,
> > ...
> >
> > Ah yes, I see.  I must have misread the infocmp man page.  But the
> > "op" entry looks exactly like you said.
> 
> then the problem is likely on the other end - something didn't work in
> mutt's configure script, so it doesn't see the functions that control
> color (use_default_colors, for instance).

Can I do somthing to check that out?

Bye

Dominik ^_^  ^_^

-- 
Dominik Vogt, email: [EMAIL PROTECTED]
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20



regexp problem with parentheses

2002-02-28 Thread Scott

Hi all,
trying to color entries in the index matching on the from field, I use the following:

color index blue black '~f (Person1|Person2)'

However, I get a 'parentheses not matched error'

Also, the example in the doco: ~f ("Jim +Somebody"|"Ed +SomeoneElse") doesn't work 
(same error).

TIA,
Scott
ps. pls. cc my direct email as I am not subscribed to this list.



Re: regexp problem with parentheses

2002-02-28 Thread Volker Moell

Scott wrote:
> trying to color entries in the index matching on the from field, I use
> the following:
> 
> color index blue black '~f (Person1|Person2)'
> 
> However, I get a 'parentheses not matched error'

Try:
color index blue black '~f "(Person1|Person2)"'
   ^ ^

Adios muchacho,

-volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

Wer Glück im Spiel hat, hat auch Geld für die Liebe.



Re: regexp problem with parentheses

2002-02-28 Thread Louis-David Mitterrand

On Thu, Feb 28, 2002 at 02:33:35PM +0100, Volker Moell wrote:
> Scott wrote:
> > trying to color entries in the index matching on the from field, I use
> > the following:
> > 
> > color index blue black '~f (Person1|Person2)'
> > 
> > However, I get a 'parentheses not matched error'
> 
> Try:
> color index blue black '~f "(Person1|Person2)"'

After much struggle understanding mutt's quoting rules I finally came up
with that kind of stuff, which works:

folder-hook =[a-z] score ~s'([ot]\\|newbie\\|off-topic\\|your\\\ 
mail\\|(unidentified\\|no)\\\ suject)' -10

Notice:

- quadruple backslash to escape a [,
- triple backslash to escape a space,
- double backslash for a an alternation pipe (non-escaped),

-- 
ARICIE: Mais n'étant point liés par un lien si doux,
Me puis avec honneur dérober avec vous ?
  (Phèdre, J-B Racine, acte 5, scène 1)



Scoring known addresses

2002-02-28 Thread Volker Moell

Hi, all!

Is there a posibillity to score all known mail addresses (i.e. all
addresses defined in aliases) in one single score statement?

I only found then ~l for all messages addressed to a known mailing list:
   score ~l +100

Greetings,

   -volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

Qnf vfg qre Orjrvf, qnff Fvtf arhtvrevt znpura.



Re: Pity that mutt doesn't read news - what's the best match?

2002-02-28 Thread Charles Jie

Hi,

Thank you all for good advices on my questions. Now I've tried both slrn
and patch.vvv.nntp. I'm happy to report comments from my point of view,
as a newbie of news groups.

1. vvv.nntp is easier to take up because you don't have to learn a lot
   before you can use it. (If you are not on the steep part of mutt's
   learning curve.  ;-)

2. slrn's help of keys can not reflect the changes you made until you
   modify the help.txt, while mutt does a great job and vvv.nntp
   benefits from it. It's very helpful to newbies. (More important, you
   may *search* in help of mutt, but not in help of slrn.)

3. I can not agree very much to `at present it most closely resembles
   slrn'. At least the most important UI - keybindings. (I found I can
   not operate its driving wheel and buttons in ease in short term.)
   It's pretty emacs-style, while mutt's something hybrid - it's no pain
   for a Vim user to drive mutt.

   I wonder very much - how could you operate mutt+vim and emacs-style
   slrn in daily life without difficulty? Isn't it like switching
   driving between left-side and right-side? Or it's more like switching
   languages for you bilinguals?  :-)

I agree that slrn is pretty professional in news group and someday I may
not live without it. But vvv.nntp patch is pretty good, too, and it can
save my life at this moment.

best regards,
charlie


On Thu, Jan 31, 2002 at 01:16:39PM -0600, Jeremy Blosser wrote:
> On Jan 31, Michael Elkins [[EMAIL PROTECTED]] wrote:
> > Jeremy Blosser wrote:
> > > SLRN.  Much of Mutt's user interface was based on SLRN originally.
> > > 
> >
> > This is not exactly true.  The interface for Mutt was most influenced by
> > MUSH (Mail User's SHell) and ELM.  I didn't start using SLRN until quite
> > some time after I started Mutt (was using trn at the time).  The note on
> > the web page says that .
> > That's why it's not a surprise that lots of Mutt users use SLRN to read
> > news.
>
> Oops.  Mea culpa.
>
> On Feb 01, Charles Jie [[EMAIL PROTECTED]] wrote:
> > Great! Thank you all.
> >
> > And I need some further suggestions:
> >
> > * Which is better for me to start? Using slrn or using the patch for mutt?
> >
> > * After a long time, which would be more probable for my working mode?
> >   mutt + slrn, or mutt + patches? (ie ultimate mode of using mail/news)
>
> It depends on how you operate, probably.
>
> Do you see news as just another kind of mail, and you want to operate on it
> exactly like you operate on your mail?  If so, using the patches will let
> you have all your accustomed mutt mail functionality (hooks, commands,
> etc.) available regardless of the medium.
>
> If you see news and mail as different things, and would prefer a client
> that is very good at mail for your mail, and one that is very good at news
> for your news, you probably will prefer mutt + slrn.
>
> (Some of the patches may well make mutt have both very good mail features
> and very good news features, I don't know... I don't personally prefer to
> operate that way, I'd rather use different tools for differing tasks.)





Re: Pity that mutt doesn't read news - what's the best match?

2002-02-28 Thread Will Yardley

Charles Jie wrote:
> 
>I wonder very much - how could you operate mutt+vim and emacs-style
>slrn in daily life without difficulty? Isn't it like switching
>driving between left-side and right-side? Or it's more like
>switching languages for you bilinguals?  :-)

switch the key bindings around in slrn so they're more to your liking?

i switched a few keys around; personally i didn't find slrn very hard to
use after using mutt; the two are fairly similar, although some of the
keybindings are different.

-- 
Will Yardley
william @ newdream . net




Re: Pity that mutt doesn't read news - what's the best match?

2002-02-28 Thread Andre Berger

* Will Yardley <[EMAIL PROTECTED]>, 2002-02-28 10:37 -0500:
> Charles Jie wrote:
> > 
> >I wonder very much - how could you operate mutt+vim and emacs-style
> >slrn in daily life without difficulty? Isn't it like switching
> >driving between left-side and right-side? Or it's more like
> >switching languages for you bilinguals?  :-)
> 
> switch the key bindings around in slrn so they're more to your liking?
> 
> i switched a few keys around; personally i didn't find slrn very hard to
> use after using mutt; the two are fairly similar, although some of the
> keybindings are different.

Are there key bindings for slrn around that make it use the same keys
as mutt?

-Andre




msg24852/pgp0.pgp
Description: PGP signature


Re: Pity that mutt doesn't read news - what's the best match?

2002-02-28 Thread Will Yardley

Andre Berger wrote:
> 
> Are there key bindings for slrn around that make it use the same keys
> as mutt?

i asked this very question on the mutt newsgroup, and didn't get any
responses. however i think it would be great if someone came up with
this and posted their .slrnrc for us.

anyone anyone??

-- 
Will Yardley
william @ newdream . net




Problem when using IMAP: "Could not copy message"

2002-02-28 Thread Hendrik Hoeth

Hi,

when I start mutt and change to an IMAP folder, mutt sometimes shows the
right date and flags for each mail in the folder, but no sender or
subject. When trying to read a mail, I only get the error-message "Could
not copy message" (after "Fetching message"). This problem doesn't occur
always, and I can't reproduce it. I'm using 1.3.27i on that box (see
below). I don't have any problems reading mail from another computer
(mutt 1.2.5i on OSF1 V4.0).

What exactly does this error mean, and what could be the reason?

Cheers,

Hendrik


hoeth@wppc91:~ $ mutt -v
Mutt 1.3.27i (2002-01-22)
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.17 (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_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  -HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
++HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[EMAIL PROTECTED]>.
To report a bug, please use the flea(1) utility.

hoeth@wppc91:~ $ 


-- 
Hendrik Hoeth
Groenhoffstr. 14
42285 Wuppertal



Re: Hooks & order of precedence

2002-02-28 Thread Rob Reid

At  6:56 PM EST on February 27 David DeSimone sent off:
> Rob Reid <[EMAIL PROTECTED]> wrote:
> >
> > I thought that was what . is for, matching any folder, as in:
> > 
> > folder-hook . unset save_empty
> 
> Maybe I should explain it a little clearer:
> 
> Suppose you have a set of hooks like this:
> 
> folder-hook  .   'set variable=AAA'
> folder-hook  +folder 'set variable=BBB'
> 
> send-hook'~C user@domain''set variable=CCC'
> 
> Now, given this, I believe the original poster in this thread expects
> that $variable would be set to "AAA" when he is sending to some other
> user, and not in +folder, and expects it to be set to "BBB" if he sends
> to another user while in +folder, and expects it to be set to "CCC" when
> he sends to , regardless of the folder.
> 
> In fact, though, only the last statement is true.  The others are true
> SOMETIMES.  Depending on what has happened before.
> 

I thought it probably wasn't that simple.  I wasn't paying attention at the
start of the thread.

> 
> Now, if we were to add a new send-hook before the other:
> 
> send-hook   ~A  'set variable=DDD'
> 
> This wouldn't have the desired effect either, because the variable would
> no longer depend on the folder that was entered.  When sending to
> , $variable has the value "CCC".  When sending to anyone
> else, it has the value "DDD".  Regardless of folder.

Maybe it could be made folder specific by tying the send-hook to an alias, or
even user+folder@domain, that is only used when emailing user from folder.

-- 
The time will come when men such as I look upon the murder of animals as they
now look on the murder of men.  - Leonardo da Vinci
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: Pity that mutt doesn't read news - what's the best match?

2002-02-28 Thread darren chamberlain

Quoting Will Yardley <[EMAIL PROTECTED]> [Feb 28, 2002 10:48]:
> Andre Berger wrote:
> > Are there key bindings for slrn around that make it use the
> > same keys as mutt?
> 
> i asked this very question on the mutt newsgroup, and didn't
> get any responses. however i think it would be great if someone
> came up with this and posted their .slrnrc for us.
> 
> anyone anyone??

It would be great to have this in contrib/ as well.  I'd do it,
but I don't use slrn.

(darren)

-- 
Beware all enterprises that require new clothes.
-- Henry David Thoreau



Re: How to avoid and handle looong lines

2002-02-28 Thread Wolfgang Kaufmann

* Thus spake Will Yardley [26-02-02^04:46]:

Hallo,
 
> tell him to wrap his lines in his editor. how to do this will vary
> depending on the editor he's using. if he's using vi (probably nvi in
> debian), setting wm=8 should work. using vim, set tw=74. emacs i'm not
> sure, but i doubt it's that hard.

wk@localhost:~$ less .emacs

(setq-default-major-mode 'message-mode)
(setq-default fill-column 72)
(add hook 'message-mode-hook 'turn-on-auto-fill)

[...]

alternativ mode: mail-mode

Meta-q

-- 
The history of Liberty is a history of the limitation of government
power.
-Woodrow Wilson.



set Folder

2002-02-28 Thread Todd Kokoszka

Hi,

I'm using the set folder command and I use the default
value. But when I don't open it in the default folder
there's a problem. I notice it when I change
mailboxes.

If I change from my home directory and try to use tab
completion it won't complete the folder name. But when
I try and manually choose it, mutt is in the correct
folder.

Has anyone else had problems with this or could give
me any advice?

Thanks,
Todd

__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com



Re: Setting the hostname used in HELO

2002-02-28 Thread Bob McLaren

Wait a minute,

If that's the case, can't I configure Mutt to connect to my public SMTP server to send
mail rather than trying to send it from it's own local sendmail program?

I don't see any configuration directive in the muttrc to specify an SMTP server to
connect to.

Simon White wrote:

> On 27-Feb-02 at 20:46, Knute's inspired musing was thus :
> > On Wed, 27 Feb 2002, Bob McLaren wrote:
> >
> > > What can I do to force the HELO generated by mutt to use my outside SMTP
> > > hostname?
>
> Mutt doesn't generate a HELO, it's a MUA not an MTA.
>
> You are probably running sendmail or something similar locally, and passing on to the
> SMTP server on your local network. What you need to do is to configure your
> sendmail (or other MTA) on your box to send a faked hostname which is
> acceptable, or to check with the sysadmin for the mail server with the real
> hostname/IP on the network and ask if the MTA there can be tweaked for you.
>
> MUA = Mail User Agent (like Mutt)
> MTA = Mail Transfer Agent (like Sendmail (ugh!), Postfix, Exim, Qmail...)
>
> --
> |-Simon White
> |-Internet Services Manager
> |-MTDS S.A.
> |-tel +212.3.767.4861
> |-fax +212.3.767.4863
> |-14, rue 16 novembre
> |-Rabat, Kingdom of Morocco




Re: Setting the hostname used in HELO

2002-02-28 Thread Simon White

On 28-Feb-02 at 09:54, Bob McLaren's inspired musing was thus :
> Wait a minute,
> 
> If that's the case, can't I configure Mutt to connect to my public SMTP
server to send > mail rather than trying to send it from it's own local
sendmail program?
> 

No, what I was trying to say (perhaps I wasn't clear) is that you cannot get
mutt to send mail to your public SMTP server, you have to run an SMTP server
on your machine in order to get mutt to send mail. There are several
suggestions depending on your setup, see the mutt web pages and the manual,
usually in /usr/local/doc/mutt/manual.txt.

> I don't see any configuration directive in the muttrc to specify an SMTP
server to > connect to.

There isn't one.

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



Re: Hooks & order of precedence

2002-02-28 Thread Gary Johnson

On Thu, Feb 28, 2002 at 11:06:39AM -0500, Rob Reid wrote:

> Maybe it could be made folder specific by tying the send-hook to an alias, or
> even user+folder@domain, that is only used when emailing user from folder.

You can have a folder-hook set a send-hook, like this:

folder-hook .unhook send-hook
folder-hook folder1  send-hook . 'my_hdr From: One Me '
folder-hook folder2  send-hook . 'my_hdr From: Another Me '
folder-hook .   'send-hook "~t somebody" "unmy_hdr From:"'

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



Is mutt really "handicapped"?

2002-02-28 Thread Tim Johnson

Hello All:
  Now that I have your attention - I and friends publish a webzine:
http://www.frozen-north-linuxonline.com/

And we publish monthly.
We also have a local linux user's group and a mailing list.
A comment was made to the mailing list that mutt was "handicapped".
As you may well imagine, that comment was not received well.

Is there anyone on this list that would like to contribute some
comments about the advantages of switching from something like
netscape mail to mutt?

   If you do so, use your own judgement as to whether you want to
   send your comments to this list or directly to me.
   Let me know if you wish to be quoted or if I should paraphrase
   your comments. Feel free to be "colorful".

I'm putting together a march column in which I'm going to talk
about my useage of vim, mutt, fetchmail, procmail, lynx, slrn, ncftp,
and MC as my suite of tools, and I would like to user your comments
in that column.

BTW: Sven is a "contributing columnist" and we are always looking
for contributing columnists. In the current issue, I write about
mailing lists and mention mutt there.

Best regards
Tim



Re: regexp problem with parentheses

2002-02-28 Thread parv

in message <[EMAIL PROTECTED]>, 
wrote Louis-David Mitterrand thusly...
>
> After much struggle understanding mutt's quoting rules I finally came up
> with that kind of stuff, which works:
> 
> folder-hook =[a-z] score ~s'([ot]\\|newbie\\|off-topic\\|your\\\ 
>mail\\|(unidentified\\|no)\\\ suject)' -10
> 
> Notice:
> 
> - quadruple backslash to escape a [,
> - triple backslash to escape a space,
> - double backslash for a an alternation pipe (non-escaped),

...or, if you use double- and single quotes carefully, you could just
use this (untested)...

folder-hook =[a-z] "score '~s \"([ot]|newbie|off-topic|your mail|unidentified|no 
subject)\"' -10"

...i haven't used scoring, but i have something similar as far as
quoting is concerned...

# delete messages, mostly replies, if 'X-FreeBSD-CVS-Branch:' header
# is missing
# 
# beginning of X-FreeBSD... header is escaped so that mutt does not
# create "Ctrl-X" character out of plain text "^X" character combination
# 
folder-hook IN\.f-cvs "push '!~h \"^\\X-FreeBSD-CVS-Branch:\"'"


 



Re: Is mutt really "handicapped"? - ha!

2002-02-28 Thread Sven Guckes

* Tim Johnson <[EMAIL PROTECTED]> [020228 19:55]:
> Is there anyone on this list that would like to
> contribute some comments about the advantages of
> switching from something like netscape mail to mutt?

  echo you cannot do this with netscape | mutt netscape-weenie

nuff said.

I have guided some Linux people to switch from Netscape to mutt.
So far they are not sorry at all.  But it does take a few things
to make them switch because you have to explain about some concepts.
If you want a full report, well, give a week to write it up.

> I'm putting together a march column in which I'm going to
> talk about my useage of vim, mutt, fetchmail, procmail,
> lynx, slrn, ncftp, and MC as my suite of tools, and
> I would like to user your comments in that column.

hmm...  see sig.

> In the current issue, I write about mailing
> lists and mention mutt there.

http://www.math.fu-berlin.de/~guckes/faq/maillist.html ;-)

Sven  [who will present mutt in a demo on the next Linux event]

-- 
Sven Guckes [EMAIL PROTECTED]   www.guckes.net or go.to/guckes
PROGRAMSWeb pages about these programs:  agrep, awk, ed, elm, ftp,
PROGRAMSirc, ispell, less, links, lynx, mutt, ncftp, nn, pico, pine,
PROGRAMSprocmail, rxvt,   screen, sed, slrn, vi, vim, w3m, xterm, zsh.



Re: Is mutt really "handicapped"? - ha!

2002-02-28 Thread Thomas Hurst

* Sven Guckes ([EMAIL PROTECTED]) wrote:

>   echo you cannot do this with netscape | mutt netscape-weenie
>
> nuff said.

But I can't view all my HTML pr0n spam without an external program, mutt
sucks111

> I have guided some Linux people to switch from Netscape to mutt.  So
> far they are not sorry at all.  But it does take a few things to make
> them switch because you have to explain about some concepts.  If you
> want a full report, well, give a week to write it up.

Mutt's learning curve is a bit steep for some, especially after you
cross the threshold and have to unlearn half of it while you redefine
it from .muttrc :)

I doubt I'd last long with mutt with the default keys.. 

> > In the current issue, I write about mailing
> > lists and mention mutt there.
> 
> http://www.math.fu-berlin.de/~guckes/faq/maillist.html ;-)

Hmm, I should do a nice long rant on why laying out stuff using tables,
 tags, all the stupid style attributes and not including doctype
declorations is concidered harmful ;)

> Sven  [who will present mutt in a demo on the next Linux event]

Don't forget to leave the machine mutt is running on half way around the
world ;)

> -- 
[..]
> PROGRAMSirc, ispell, less, links, lynx, mutt, ncftp, nn, pico, pine,

I've completely replaced my use of ncftp with lftp.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
-
Never underestimate the bandwidth of a station wagon full of tapes.
-- Dr. Warren Jackson, Director, UTCS



Re: Is mutt really "handicapped"? - ha! ha!

2002-02-28 Thread Tim Johnson

* Sven Guckes <[EMAIL PROTECTED]> [020228 14:30]:
 
> I have guided some Linux people to switch from Netscape to mutt.
> So far they are not sorry at all.  But it does take a few things
> to make them switch because you have to explain about some concepts.
> If you want a full report, well, give a week to write it up.
 
  Go for it Sven. Like to see it. tj



Re: Hooks & order of precedence

2002-02-28 Thread Erik Rothwell

On Thu, Feb 28, 2002 at 10:28:49AM -0800, Gary Johnson wrote:
> On Thu, Feb 28, 2002 at 11:06:39AM -0500, Rob Reid wrote:
> 
> > Maybe it could be made folder specific by tying the send-hook to an alias, or
> > even user+folder@domain, that is only used when emailing user from folder.
> 
> You can have a folder-hook set a send-hook, like this:
> 
> folder-hook .unhook send-hook
> folder-hook folder1  send-hook . 'my_hdr From: One Me '
> folder-hook folder2  send-hook . 'my_hdr From: Another Me '
> folder-hook .   'send-hook "~t somebody" "unmy_hdr From:"'
> 

Still, if I'm in a folder & I send to somebody, the send-hook has taken
control *until* I re-enter the folder... then it's reset. Or am I
reading the above wrong?

What I'm trying to do is this:

If I'm in a folder, set my from address for the folder, *unless* I'm
emailing to user@domain, then, use a different address.

Now, after using the send hook, I don't want it to persist. I'd like it
to "reset" as it were. 

I can do this with folder hooks -- use address A if in folder A, but,
address B in folder B, or address C by default... but it's the *unless*
exception I can't seem to set. (For instance, folder hooks are read
again when I enter another folder... I can then use a defaults.global to
unset headers before setting them based on folder. If I do the same for
send-hooks, while also using folder-hooks, I cannot use folder-hooks at
all... the send-hooks will always get used. OTOH, if I use a send-hook
in a folder, the folder-hook is not re-asserted on the next send... as:
folder hooks are evaluated only on folder entry, whereas send-hooks are
evaluated on each send.)

Does that make any more sense?

What would be nice is something equivalent to Pine's roles, then I could
decide what address to send from when I hit 'm', but, automation based
on address would be superior in my case, if it were possible.

Or--what if I had a default send-hook that somehow forced the
re-evaluation of folder-hooks?

Erik.

-- 
"...ironically, perhaps, the best organised dissenters in the world today
are anarchists, who are busily undermining capitalism while the rest of
the left is still trying to form committees." Jeremy Hardy, The Guardian.



Re: Is mutt really "handicapped"? - ha!

2002-02-28 Thread Michael P. Soulier

On 28/02/02 Thomas Hurst did speaketh:

> I doubt I'd last long with mutt with the default keys..  backup of ~/.src>

I'd be interested in seeing the changes you made. I like the default keys,
but then, I like Vi. :)

Mike



msg24868/pgp0.pgp
Description: PGP signature


Re: Hooks & order of precedence

2002-02-28 Thread Knute

On Thu, 28 Feb 2002, Erik Rothwell wrote:

> On Thu, Feb 28, 2002 at 10:28:49AM -0800, Gary Johnson wrote:
> > On Thu, Feb 28, 2002 at 11:06:39AM -0500, Rob Reid wrote:
> > 
> > > Maybe it could be made folder specific by tying the send-hook to an alias, or
> > > even user+folder@domain, that is only used when emailing user from folder.
> > 
> > You can have a folder-hook set a send-hook, like this:
> > 
> > folder-hook .unhook send-hook
> > folder-hook folder1  send-hook . 'my_hdr From: One Me '
> > folder-hook folder2  send-hook . 'my_hdr From: Another Me '
> > folder-hook .   'send-hook "~t somebody" "unmy_hdr From:"'
> > 

> Still, if I'm in a folder & I send to somebody, the send-hook has taken
> control *until* I re-enter the folder... then it's reset. Or am I
> reading the above wrong?

> What I'm trying to do is this:

> If I'm in a folder, set my from address for the folder, *unless* I'm
> emailing to user@domain, then, use a different address.

Ok, if I follow you up to this point, you need to use a send-hook that 
makes sure that it doesn't match something.

send-hook !~t user@domain "my_hdr From: address C"

then another send-hook
send-hook ~t user@domain "my_hdr From: address whatever"

You could embed these send-hooks into a folder-hooks for the 
appropriate folder, and then it should set up dynamically as you have
covered the cases that you mention later in your email.

> Now, after using the send hook, I don't want it to persist. I'd like it
> to "reset" as it were. 

I haven't tested my above examples, but they should work.

> I can do this with folder hooks -- use address A if in folder A, but,
> address B in folder B, or address C by default... but it's the *unless*
> exception I can't seem to set. (For instance, folder hooks are read
> again when I enter another folder... I can then use a defaults.global to
> unset headers before setting them based on folder. If I do the same for
> send-hooks, while also using folder-hooks, I cannot use folder-hooks at
> all... the send-hooks will always get used. OTOH, if I use a send-hook
> in a folder, the folder-hook is not re-asserted on the next send... as:
> folder hooks are evaluated only on folder entry, whereas send-hooks are
> evaluated on each send.)

> Does that make any more sense?

So embedding the changes to the send-hooks inside folder-hooks may be
what you are looking for then.

> What would be nice is something equivalent to Pine's roles, then I could
> decide what address to send from when I hit 'm', but, automation based
> on address would be superior in my case, if it were possible.

Sorry, don't know enough about pine for that to help me as a reference
any.  :(

HTH

--
Knute



msg24869/pgp0.pgp
Description: PGP signature


Re: Is mutt really "handicapped"?

2002-02-28 Thread Ryan Singer

On Thu, Feb 28, 2002 at 11:05:16AM -0900, Tim Johnson wrote:
> 
> Is there anyone on this list that would like to contribute some
> comments about the advantages of switching from something like
> netscape mail to mutt?

the biggest advantage for me is speed. i can fly through my email w/ mutt, whereas 
most GUI clients force you to putz around with scroll bars and double clicking, etc 
etc. the producitivity increase is so significant that i can't imagine using any other 
client.

the other advantage for me has been the fact that i can now centralize my email. mutt 
and my mailboxes are on my computer at work, to which i can SSH whenever i want to 
check, read, or futz with my mail.

oh, and turning those obnoxious HTML emails into text? i love it :)

Ryan