Re: S/MIME "encrypt-to" functionality as in GnuPG

2002-09-25 Thread René Clerc

* Omen Wild <[EMAIL PROTECTED]> [24-09-2002 21:24]:

> Quoting Ren? Clerc <[EMAIL PROTECTED]> on Tue, Sep 24 19:08:
> >
> > I'm looking for the S/MIME equivalent of the GnuPG option:
> > 
> > encrypt-to 
> 
> As far as I could tell, it doesn't exist.  This patch add that
> functionality.  Set $smime_encrypt_self to true and S/MIME encrypted
> messages you send will also be encrypted to $smime_default_key.


This patch makes mutt segfault right after sending the e-mail. Despite
of this, it works: both recipient and I are able to decrypt and read
the message.

A clue, anyone?

-- 
René Clerc  - ([EMAIL PROTECTED])

A Smith and Wesson beats four aces.
-Canada Bill Jones



msg31183/pgp0.pgp
Description: PGP signature


mbox opened read only after update to mutt 1.4i

2002-09-25 Thread jochen issing

Hi List,

after my recent update to 1.4i, I am not able able to remove any mails
out of my spool files. I can open /var/mail/jochen with vim and can
write it, but mutt refuses writing.
I found in the internet the configure switch --enable-extern-dotlock
and compiled it once more, but this did not help.
I am using debian woody stable.

Thanks,

jochen

-- 

 jochen issing
 mailto:[EMAIL PROTECTED]
 http://www.mcf-music.de
 GPG:0A121BC




Re: imap and new mail

2002-09-25 Thread D. J. Bolderman

On Tue, 24 Sep 2002, Mike Leone wrote:

> > So how do all you IMAP users get an overview of all new mails per folder
> > when you start Mutt ? Do you have to browse each folder to see if there
> > are any new mails ??
> 
> Yes. :-( The  command (normally "c") shows no new mail
> indicator, when changing to different IMAP folders. 
> 
> Note: the messages within the folders are properly marked as "N" (new). And
> will stay that way until read, presuming that you "unset mark_old". It's
> just the list of folders that does not tell you if there is new mail in a
> folder, so you have to look in each folder.

Bummer...are there new IMAP features in future versions of Mutt
scheduled ? I only have IMAP folders, so working with Mutt is not very
ideal for me. 

Guess I have to use evolution again... :-(

Adios,
Dick




Problems with mutt compilation on Solaris 7

2002-09-25 Thread Piotr Kasztelowicz

Hello

I have problems with compilation mutt with Solaris 7.
Libivconv 1.8 has been previously installed, but
with gcc 2.95.3 (not 3.0).
I attempt to configure mutt with gcc 2.95.3
on my Solaris7 system (gcc 3.0 does not properly work)
an such error has been reported after "./configure"
command:

checking for iconv declaration...
 extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for bison... bison
checking version of bison... 1.25, bad
checking for catalogs to be installed...  de ru it es uk fr pl nl cs id sk
ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca
checking for iconv.h... yes
checking whether iconv.h defines iconv_t... yes
checking whether this iconv is good enough... no
configure: error: Try using libiconv instead

Please help how I shall solve this problem

Piotr

--
Piotr Kasztelowicz  [EMAIL PROTECTED]
http://www.am.torun.pl/~pekasz




Re: S/MIME "encrypt-to" functionality as in GnuPG

2002-09-25 Thread René Clerc

* René Clerc <[EMAIL PROTECTED]> [25-09-2002 10:30]:

> This patch makes mutt segfault right after sending the e-mail. Despite
> of this, it works: both recipient and I are able to decrypt and read
> the message.
> 
> A clue, anyone?

Let me be more specific: like I've already mailed Omen, I applied the
patch to the 1.5.1 tarball. I will try the cvs version too, and post
my results here.

-- 
René Clerc  - ([EMAIL PROTECTED])

We are not retreating - we are advancing in another direction.
-General Douglas MacArthur 



msg31187/pgp0.pgp
Description: PGP signature


looking for a better send-hook

2002-09-25 Thread Eugene Lee

The command:

send-hook '~h address' command

causes Mutt to generate an error "h: not supported in this mode" that
isn't documented anywhere.  How do I get a send-hook to match a pattern
within a custom header of the current message?  Thanks in advance.


-- 
Eugene Lee
[EMAIL PROTECTED]



mbox opened read only after update to mutt 1.4i

2002-09-25 Thread jochen issing

Hi List,

after my recent update to 1.4i, I am not able able to remove any mails
out of my spool files. I can open /var/mail/jochen with vim and can
write it, but mutt refuses writing.
I found in the internet the configure switch --enable-extern-dotlock
and compiled it once more, but this did not help.
I am using debian woody stable.

Thanks,

jochen

-- 

 jochen issing
 mailto:[EMAIL PROTECTED]
 http://www.mcf-music.de
 GPG:0A121BC




Re: S/MIME "encrypt-to" functionality as in GnuPG

2002-09-25 Thread René Clerc

* René Clerc <[EMAIL PROTECTED]> [25-09-2002 14:25]:

> * René Clerc <[EMAIL PROTECTED]> [25-09-2002 10:30]:
> 
> > This patch makes mutt segfault right after sending the e-mail. Despite
> > of this, it works: both recipient and I are able to decrypt and read
> > the message.
> > 
> > A clue, anyone?
> 
> Let me be more specific: like I've already mailed Omen, I applied the
> patch to the 1.5.1 tarball. I will try the cvs version too, and post
> my results here.

Results are the same. Note that the patch had 1.5.1 in it's name, so
it should have worked, I guess...

Does anybody have any options? It was a small patch, so it must tickle
someone...???

-- 
René Clerc  - ([EMAIL PROTECTED])

Birthdays are good for you. Statistics show that the people who
have the most live the longest.
-Rev. Larry Lorenzoni



msg31190/pgp0.pgp
Description: PGP signature


complete-query

2002-09-25 Thread Sascha Huedepohl

Hi,
i don't realy have a problem but, its a litle strange...

When i set:
bind compose   ^T  complete-query
in .muttrc, i get:
complete-query: unknown command
when i start mutt.

But CTRL-T works works in the Compose-Screen.
When i remove the set from my .muttrc there is no error during
muttstartup but CTRL-T still works (as complete-query). And in
the Help of the Compose-menu there is:
^T  edit-type

strange!?

sascha

--
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.




msg31191/pgp0.pgp
Description: PGP signature


Re: S/MIME "encrypt-to" functionality as in GnuPG

2002-09-25 Thread René Clerc

* René Clerc <[EMAIL PROTECTED]> [25-09-2002 14:47]:

> * René Clerc <[EMAIL PROTECTED]> [25-09-2002 14:25]:
> 
> > * René Clerc <[EMAIL PROTECTED]> [25-09-2002 10:30]:
> > 
> > > This patch makes mutt segfault right after sending the e-mail. Despite
> > > of this, it works: both recipient and I are able to decrypt and read
> > > the message.
> > > 
> > > A clue, anyone?
> > 
> > Let me be more specific: like I've already mailed Omen, I applied the
> > patch to the 1.5.1 tarball. I will try the cvs version too, and post
> > my results here.
> 
> Results are the same. Note that the patch had 1.5.1 in it's name, so
> it should have worked, I guess...
> 
> Does anybody have any options? It was a small patch, so it must tickle
> someone...???

Typically PEBCAK. The segfault was a result of not setting this
variable. Strange side-effect, of course, but it works now!

Thanks very much!

-- 
René Clerc  - ([EMAIL PROTECTED])

Birthdays are good for you. Statistics show that the people who
have the most live the longest.
-Rev. Larry Lorenzoni



msg31192/pgp0.pgp
Description: PGP signature


$check-new

2002-09-25 Thread Johan Svedberg

Hi, all.

I'm using 'mutt -y' alot to monitor my mailboxes, and I have this to be
able to see where I have new mail: bind browser $ check-new
Although I'm experienceing some "buggy" behaivor by mutt. Sometimes (I
can't see a pattern) it doesn't give the mailbox the "N" flag marking
new mails, although there really are new mails in that box because I can see
the filesize of the mailbox change and when I enter it there are new
mails in it. Has anyone else seen this?

-- 
Johan Svedberg, [EMAIL PROTECTED], http://www.acc.umu.se/~winkle



Re: $check-new

2002-09-25 Thread Sven Guckes

* Johan Svedberg <[EMAIL PROTECTED]> [2002-09-25 13:15]:
> I'm using 'mutt -y' alot to monitor my mailboxes, and I have
> this to be able to see where I have new mail: bind browser $
> check-new Although I'm experienceing some "buggy" behaivor by
> mutt.  Sometimes (I can't see a pattern) it doesn't give the
> mailbox the "N" flag marking new mails, although there really
> are new mails in that box because I can see the filesize of the
> mailbox change and when I enter it there are new mails in it.
> Has anyone else seen this?

yes, it has been reported about a dozen times now. -> archive

Sven



Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread David T-G

Jochen --

...and then jochen issing said...
% 
% Hi List,

Hello!


% 
% after my recent update to 1.4i, I am not able able to remove any mails

How did you install mutt?  Were you root, or just jochen?


% out of my spool files. I can open /var/mail/jochen with vim and can
% write it, but mutt refuses writing.
% I found in the internet the configure switch --enable-extern-dotlock
% and compiled it once more, but this did not help.
% I am using debian woody stable.

Please show us what

  ls -lFd /var/mail /var/mailjochen `which mutt` `which mutt_dotlock`
  mutt -v

gives you.  I suspect that /var/mail is writable only by owner (root)
and group (mail) and that either mutt (if it is -DL_STANDALONE) or
mutt_dotlock (if mutt is +DL_STANDALONE) is not installed with the SGID
bit set and mail groupship.


% 
% Thanks,

Sure thing!


% 
% jochen


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!




msg31195/pgp0.pgp
Description: PGP signature


Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread David T-G

Jochen --

...and then jochen issing said...
% 
% after my recent update to 1.4i, I am not able able to remove any mails

What, it's still that way an hour later?

See my reply to your first post :-)


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!




msg31196/pgp0.pgp
Description: PGP signature


Re: looking for a better send-hook

2002-09-25 Thread Sven Guckes

* Eugene Lee <[EMAIL PROTECTED]> [2002-09-25 12:33]:
> The command send-hook '~h address' command
> causes Mutt to generate an error "h: not supported
> in this mode" that isn't documented anywhere.

one more thing to fix in the documentation then.

> How do I get a send-hook to match a pattern within
> a custom header of the current message?

do you mean "current header" as in "generated with 'my_hdr'"?

maybe your problem can be solved by other means -
but this required that you describe it in full.

Sven



Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread Sven Guckes

* jochen issing <[EMAIL PROTECTED]> [2002-09-25 12:39]:
> after my recent update to 1.4i, I am not able able to remove
> any mails out of my spool files. I can open /var/mail/jochen
> with vim and can write it, but mutt refuses writing.

sounds like a locking problem..

> I found in the internet the configure switch --enable-extern-dotlock
> and compiled it once more, but this did not help.
> I am using debian woody stable.

but do you mind sharing more info than
"mutt 1.4 on debian woody stable"?
perhaps something like "mutt -v"?

Sven



Bouncing emails from the command line!

2002-09-25 Thread Bright, Frank

Hi all,

I would like to bounce emails with a command line entry.  Is there a way to
do this with mutt?  I read through the manual of how it does thru the
interface but not how it can be done from the command line.

Any help would be appreciated.

Thanks in advance

Frank
mailto:[EMAIL PROTECTED]

--
Frank M. Bright, Jr.
Administrative Computing[EMAIL PROTECTED]
University of the Arts (A15)www.uarts.edu
320 S. Broad St.215-717-6081(w)
Philadelphia, PA   19102215-717-6087(f)
Colleague 16.461AIX 4.3.3 Unidata 5.139



Setting up archive folders

2002-09-25 Thread D. J. Bolderman

Hi,

Although I was planning to go back to evolution, I'm still trying mutt
(it's so cool:)

Now, I have the following question: is it possible to define different
'archive' folders for messages per folder ? What I want to achieve is, when
I press 's' for a message in (imap)folder Inbox.Test I want to save the
message automatically to Inbox.Test.Archive without looking up the
folder in the list.

Is this possible ??

Dick




Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread jochen issing

On Wed, Sep 25, 2002 at 03:37:12PM +0200, Sven Guckes wrote:
> * jochen issing <[EMAIL PROTECTED]> [2002-09-25 12:39]:
> > after my recent update to 1.4i, I am not able able to remove
> > any mails out of my spool files. I can open /var/mail/jochen
> > with vim and can write it, but mutt refuses writing.
> 
> sounds like a locking problem..
> 
> > I found in the internet the configure switch --enable-extern-dotlock
> > and compiled it once more, but this did not help.
> > I am using debian woody stable.
> 
> but do you mind sharing more info than
> "mutt 1.4 on debian woody stable"?
> perhaps something like "mutt -v"?
> 
> Sven

Here you are:

System: Linux 2.4.19 (i686) [using ncurses 5.2]
Einstellungen bei der Compilierung:
-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="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/usr/etc"
EXECSHELL="/bin/sh"
-MIXMASTER


-- 

 jochen issing
 mailto:[EMAIL PROTECTED]
 http://www.mcf-music.de
 GPG:0A121BC




Re: S/MIME "encrypt-to" functionality as in GnuPG

2002-09-25 Thread Omen Wild

Quoting Ren? Clerc <[EMAIL PROTECTED]> on Wed, Sep 25 15:01:
> 
> Typically PEBCAK. The segfault was a result of not setting this
> variable. Strange side-effect, of course, but it works now!

I'll look into this.  If that's the cause, then the problem is between
my keyboard and chair, not yours.  ;-)

Omen

-- 
Hlade's Law:  If you have a difficult task, give it to
a lazy person -- they will find an easier way to do it.



smime.p7s
Description: application/pkcs7-signature


Re: complete-query -> input field

2002-09-25 Thread Sven Guckes

* Sascha Huedepohl <[EMAIL PROTECTED]> [2002-09-25 12:54]:
> i don't realy have a problem but, its a litle strange...
> When i set "bind compose   ^T  complete-query" in .muttrc,
> i get: "complete-query: unknown command" when i start mutt.

feature.

> But CTRL-T works works in the Compose-Screen.

wrong.  "in the compose screen" is
not the same as "in the compose menu".
complete-query is not a command in that
menu but a command for input fields.
so you got the wrong context there.

rtfm: "2.2.  Editing Input Fields"

Sven



Re: Bouncing emails from the command line! - not possible

2002-09-25 Thread Sven Guckes

* Bright, Frank <[EMAIL PROTECTED]> [2002-09-25 14:25]:
> I would like to bounce emails with a command line entry.
> Is there a way to do this with mutt?

no.

but what does it take to make you use proper sigdashes? *hrmpf*

Sven



Re: Setting up archive folders

2002-09-25 Thread Sven Guckes

* D. J. Bolderman <[EMAIL PROTECTED]> [2002-09-25 14:37]:
> is it possible to define different 'archive' folders for messages per
> folder ? What I want to achieve is, when I press 's' for a message in
> (imap)folder Inbox.Test I want to save the message automatically to
> Inbox.Test.Archive without looking up the folder in the list.
>
> Is this possible ??

yes:   save-hook Inbox.Test +Inbox.Test.Archive

Sven  [sensing that the query was stated incomplete
   but avoiding to take guesses]



Re: following url links -> urlview

2002-09-25 Thread Sven Guckes

* Andy Wilson <[EMAIL PROTECTED]> [2002-09-25 14:45]:
> Is there a way to follow URL links in mutt?

man urlview

> -- 
> Andy
> 
>
> There are 10 kinds of people in the world: Those who understand binary, and those 
>who don't.
> 
>

incomplete name, missing address, too wide.

and please mind the text in my signature.

Sven

-- 
Sven Guckes   [EMAIL PROTECTED]
use "lists address"   when you are *not* subscribed
use "subscribe address"   when you   *are*   subscribed
-> http://www.math.fu-berlin.de/~guckes/mutt/setup.html



Re: following url links

2002-09-25 Thread D. J. Bolderman

On Wed, 25 Sep 2002, Andy Wilson wrote:

> Is there a way to follow URL links in mutt?

Try urlview (^B)



Re: Setting up archive folders

2002-09-25 Thread Burton Samograd

On Wed, Sep 25, 2002 at 04:30:33PM +0200, D. J. Bolderman wrote:
> Hi,
> 
> Although I was planning to go back to evolution, I'm still trying mutt
> (it's so cool:)
> 
> Now, I have the following question: is it possible to define different
> 'archive' folders for messages per folder ? What I want to achieve is, when
> I press 's' for a message in (imap)folder Inbox.Test I want to save the
> message automatically to Inbox.Test.Archive without looking up the
> folder in the list.
> 

Look at save-hook in the manual. I would think you would want
something like:

folder-hook Inbox.Test "save-hook . Inbox.Test.Archive"

I think this should work, but the best thing to do is assume that
doesn't work and read a bit more about those commands in the manual :)

burton




msg31208/pgp0.pgp
Description: PGP signature


Re: adding cc automatically -> use the editor

2002-09-25 Thread Sven Guckes

* David Ellement <[EMAIL PROTECTED]> [2002-09-24 23:21]:
> > then again, you did not describe the purpose of this idea
> > so i'm just wasting my time with guesses again.
> I suppose it is silly...
>
> I typically have a couple of projects going where I'm part of a small
> team here, working with another small team at another company.
>
> For each project, I have one engineer at the other company
> that is my principal contact; we have a list setup that
> includes all the members of both teams (and we usually have an
> internal list that includes just our company team members).
>
> The normal etiquette is to address messages
> directly to my contact, and copy the list.

as i understand it, the situation is something like this:

  "our team":  A1 B1 C1
"their team":  A2 B2 C2
"me":  A1
"my contact":  B1
  "list":  A1 B1 C1 A2 B2 C2 =: L

and your mails to them would look like this:

  From: A1
  To:   B1, L

so why not define an alias for "B1, L" then?

  alias project  [EMAIL PROTECTED], listaddress

and i do not see a need to put these addresses onto separate lines.

> Most of us handle related messages the same way: we dump messages
> addressed to us into our inbox (which we'll check often) and messages
> to the list into a list box (which we check once or twice a day).
> I could accomplish the same thing by just addressing the list,
> but it interferes with the sorting the urgent (to me) messages
> from the informational (to someone else on the team) messages.

i understand that the urgent messages will be from your contact person,
so you could simply copy messages "From: B1" to your inbox, too:

  :0 c
  * From:.*B1
  * TOlistaddress
  LIST

> Having my editor add the CC line is a reasonable solution.

an alias is much cleaner.  ymmv.

Sven



Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread jochen issing

On Wed, Sep 25, 2002 at 04:34:57PM +0200, jochen issing wrote:
> On Wed, Sep 25, 2002 at 03:37:12PM +0200, Sven Guckes wrote:
> > * jochen issing <[EMAIL PROTECTED]> [2002-09-25 12:39]:
> > > after my recent update to 1.4i, I am not able able to remove
> > > any mails out of my spool files. I can open /var/mail/jochen
> > > with vim and can write it, but mutt refuses writing.
> > 
> > sounds like a locking problem..
> > 
> > > I found in the internet the configure switch --enable-extern-dotlock
> > > and compiled it once more, but this did not help.
> > > I am using debian woody stable.
> > 
> > but do you mind sharing more info than
> > "mutt 1.4 on debian woody stable"?
> > perhaps something like "mutt -v"?
> > 
> > Sven
> 
> Here you are:
> 
> System: Linux 2.4.19 (i686) [using ncurses 5.2]
> Einstellungen bei der Compilierung:
> -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="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/usr/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER

And still more:
-rwxr-xr-x1 root root   412136 25. Sep 12:07 /usr/bin/mutt*
-rwxr-xr-x1 root root 7116 25. Sep 12:07
/usr/bin/mutt_dotlock*
drwxrwsr-x2 root mail 4096 25. Sep 17:05 /var/mail/
-rw-rw1 jochen   mail79673 25. Sep 17:05
/var/mail/jochen


-- 

 jochen issing
 mailto:[EMAIL PROTECTED]
 http://www.mcf-music.de
 GPG:0A121BC




Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread jochen issing

On Wed, Sep 25, 2002 at 02:33:24PM +0200, jochen issing wrote:
> Hi List,
> 
> after my recent update to 1.4i, I am not able able to remove any mails
> out of my spool files. I can open /var/mail/jochen with vim and can
> write it, but mutt refuses writing.
> I found in the internet the configure switch --enable-extern-dotlock
> and compiled it once more, but this did not help.
> I am using debian woody stable.
Ah, I have solved the Problem!!
It was the directory access to /var/mail, which was rwxrwxr-x and I have
been "other". Hence, I actually was not able to write into the
directory. I find it quite interesting that mutt 1.4i has a problem with
it and vim and my old mutt (1.3.28?) not.

Thanks so far to Sven and David!!

-- 

 jochen issing
 mailto:[EMAIL PROTECTED]
 http://www.mcf-music.de
 GPG:0A121BC




Auto Reply?

2002-09-25 Thread Fred Dech

hi.

i'm going out of town for a week tomorrow.  i've never done an auto-reply
(i'm out of town till next year) type of thing.  i checked some mutt FAQs
and sifted through man mutt and man muttrc but didn't see anything alluding
to this sort of thing.

is this something i can do with Mutt in a relatively straightforward manner?

thanks.

--fred
-- 
  Fred Dech   [EMAIL PROTECTED]
  University of Chicago Dept. of Surgery
  Ph: (773) 834-8359, Fax: (773) 702-0564



Re: Setting up archive folders (already solved, sorry)

2002-09-25 Thread D. J. Bolderman


> Now, I have the following question: is it possible to define different
> 'archive' folders for messages per folder ? What I want to achieve is, when
> I press 's' for a message in (imap)folder Inbox.Test I want to save the
> message automatically to Inbox.Test.Archive without looking up the
> folder in the list.

sorry guys, i missed the save-hook feature...it's working now



Re: Bouncing emails from the command line!

2002-09-25 Thread David Champion

* On 2002.09.25, in <[EMAIL PROTECTED]>,
*   "Bright, Frank" <[EMAIL PROTECTED]> wrote:
> 
> I would like to bounce emails with a command line entry.  Is there a way to
> do this with mutt?  I read through the manual of how it does thru the
> interface but not how it can be done from the command line.
> 
> Any help would be appreciated.

It's not clear to me what you're trying to do -- what mail are you
trying to bounce? It is in a chunk of data in a script, in a file, in a
folder containing multiple messages? It might be possible, but it might
be difficult, depending on these answers.

-- 
 -D.We establised a fine coffee. What everybody can say
 Sun Project, APC/UCCO  TASTY! It's fresh, so-mild, with some special coffee's
 University of Chicago  bitter and sourtaste. "LET'S HAVE SUCH A COFFEE! NOW!"
 [EMAIL PROTECTED]   Please love CAFE MIAMI. Many thanks.



Re: complete-query -> input field

2002-09-25 Thread Sascha Huedepohl

* Sven Guckes ([EMAIL PROTECTED]) wrote:
> * Sascha Huedepohl <[EMAIL PROTECTED]> [2002-09-25 12:54]:
> > i don't realy have a problem but, its a litle strange...
> > When i set "bind compose   ^T  complete-query" in .muttrc,
> > i get: "complete-query: unknown command" when i start mutt.
> 
> complete-query is not a command in that
> menu but a command for input fields.
> so you got the wrong context there.
> 
> rtfm: "2.2.  Editing Input Fields"

Ahhh, now its clear, THX
(the confusion was between the earphones)

regards
sascha



msg31215/pgp0.pgp
Description: PGP signature


Re: Auto Reply?

2002-09-25 Thread Ricardo SIGNES

On Wed, Sep 25, 2002 at 10:04:15AM -0500, Fred Dech wrote:
> hi.
> 
> i'm going out of town for a week tomorrow.  i've never done an auto-reply
> (i'm out of town till next year) type of thing.  i checked some mutt FAQs
> and sifted through man mutt and man muttrc but didn't see anything alluding
> to this sort of thing.
> 
> is this something i can do with Mutt in a relatively straightforward manner?

This isn't mutt's field of expertise.

Look at using something like procmail or maildrop, or even 'vacation.'

Your local MTA probably hands off messages for local delivery to some MDA.
Look at the files .forward or .qmail in your home directory, and/or consult
your local wizards or M(D|T)A documentation.

-- 
rjbs



msg31216/pgp0.pgp
Description: PGP signature


Re: mbox opened read only after update to mutt 1.4i

2002-09-25 Thread Sven Guckes

* jochen issing <[EMAIL PROTECTED]> [2002-09-25 16:25]:
> > after my recent update to 1.4i, I am not able able to remove any mails
> > out of my spool files. I can open /var/mail/jochen with vim and can
> > write it, but mutt refuses writing.
> Ah, I have solved the Problem!!
> It was the directory access to /var/mail, which was rwxrwxr-x
> and I have been "other". Hence, I actually was not able to write
> into the directory. I find it quite interesting that mutt 1.4i
> has a problem with it and vim and my old mutt (1.3.28?) not.

check the permissions on the binary of mutt 1.3.28 then.
is it owned by root:other?

as for vim - if it allows writing to the mail spool
then you can have lots of fun with it...

Sven



Re: Auto Reply? - DONT!

2002-09-25 Thread Sven Guckes

* Fred Dech <[EMAIL PROTECTED]> [2002-09-25 16:40]:
> i'm going out of town for a week tomorrow.  i've never done an
> auto-reply (i'm out of town till next year) type of thing.
> i checked some mutt FAQs and sifted through man mutt and man
> muttrc but didn't see anything alluding to this sort of thing.
> is this something i can do with Mutt
> in a relatively straightforward manner?

no.

but if any of your clients or filters will send an
"out of town" message to any of the lists i'm on
then i will have you drawn and quartered by your
own towns people - and unsubscribed, too.

my suggestion is to not reply at all.  you will
read your email when you get back.  period.

and it should be possible to read email
from other places, too, via IMAP or POP.

Sven



Re: fast conversion of html mail to text

2002-09-25 Thread Laurabelle

On Sep 25 2002, Erik Christiansen shared a puddle of experience:


>   (Of the 2247 advertising spams I've received since February, 1899
>were html.)

Am I the only one who read that as "February 1899" and thought "what,
they had the internet back *then*?"

Laurabelle
-- 
ASCII silly question, get a silly ANSI.



Re: fast conversion of html mail to text

2002-09-25 Thread Michael Leone


Laurabelle said:
> On Sep 25 2002, Erik Christiansen shared a puddle of experience:
>
> 
>>   (Of the 2247 advertising spams I've received since February, 1899
>>were html.)
>
> Am I the only one who read that as "February 1899" and thought "what,
> they had the internet back *then*?"

Yes, but only teletype machines. :-)

Actually, I've gotten many non-HTML spams, too. And I get many valid HTML
mail, both newsletters and private correspondence.


-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project AIM: MikeLeone
Public Key - 
Registered Linux user# 201348


Random Thought:
--





Problem with folder-hook

2002-09-25 Thread D. J. Bolderman

Hi,
I'm having some difficulties on using folder-hooks. For some reason, my
folder-hooks are not 'executed'

Relevant lines in my .hooks file:

send-hook . my_hdr From: 

send-hook mutt-users my_hdr From: 

folder-hook '!'INBOX.MailingLists.Mutt my_hdr From: 

Now, when I send mail to this list, all goes fine, my headers are ok.
When I'm in the Mutt folder, and I want to send mail to someone else
besides the list, it gets the header from my  account instead
of the .

So, it seems that the folder-hook setting is not used, but why ? '!'
refers to my IMAP server, and I have no problems with using the '!' in
other rules, so that must be ok.

Thanks

--
D.J. Bolderman
[EMAIL PROTECTED]



Re: Auto Reply?

2002-09-25 Thread Fred Dech

On Wed, Sep 25, 2002 at 12:46:30PM -0400, Ricardo SIGNES wrote:
> 
> On Wed, Sep 25, 2002 at 10:04:15AM -0500, Fred Dech wrote:
> > hi.
> > 
> > i'm going out of town for a week tomorrow.  i've never done an auto-reply
> > (i'm out of town till next year) type of thing.  i checked some mutt FAQs
> > and sifted through man mutt and man muttrc but didn't see anything alluding
> > to this sort of thing.
> > 
> > is this something i can do with Mutt in a relatively straightforward manner?
> 
> This isn't mutt's field of expertise.
> 
> Look at using something like procmail or maildrop, or even 'vacation.'
> 
> Your local MTA probably hands off messages for local delivery to some MDA.
> Look at the files .forward or .qmail in your home directory, and/or consult
> your local wizards or M(D|T)A documentation.
> 
> -- 
> rjbs

ok.  thanks, Ricardo.  i'm running sendmail locally on my linux box.  maybe
i'll just shut down my computer tonight before i leave.  that'll give an auto
reply of sorts ;^)

--fred




Re: $check-new

2002-09-25 Thread Johan Svedberg

On Wed, Sep 25, 2002 at 03:30:31PM +0200, Sven Guckes wrote:
> * Johan Svedberg <[EMAIL PROTECTED]> [2002-09-25 13:15]:
> > I'm using 'mutt -y' alot to monitor my mailboxes, and I have
> > this to be able to see where I have new mail: bind browser $
> > check-new Although I'm experienceing some "buggy" behaivor by
> > mutt.  Sometimes (I can't see a pattern) it doesn't give the
> > mailbox the "N" flag marking new mails, although there really
> > are new mails in that box because I can see the filesize of the
> > mailbox change and when I enter it there are new mails in it.
> > Has anyone else seen this?
> 
> yes, it has been reported about a dozen times now. -> archive

My search skills must suck, because I can't find anything. :-( Do you
(or anyone else) have the strength to explain? :)

Johan Svedberg



Re: custom flags or priorities? -> X-Label + %y %Y ~y

2002-09-25 Thread Rob Lingelbach

On Tue, 24 Sep 2002, Sven Guckes wrote:

> > .. search the manual for %y and ~y. Perhaps these can
> > do what you want (perhaps together with the above patch).
> 
>   4.8.  Handling Mailing Lists
>   [...]
>   The ``X-Label:'' header field can be used to further identify mailing

>   [...etc.]

> mailing lists are not the only application, of course..

it seems x-label is going to be fun to implement and use as a 
sorting/scoring tool, though what i was after was a simper idea.
I must say however that if I wanted simple (and limited ability 
to configure) i wouldn't be using Mutt, Procmal, exim, Redhat  
and Solaris,  I'd have s subscription  to aol or other hemispherce's
equivalent. 

-- 
Rob Lingelbach  Senior Colorist UCLA Film and Television Archive
[EMAIL PROTECTED]   http://www.alegria.com   [EMAIL PROTECTED]



Re: subscribe command and %L in index_format

2002-09-25 Thread Rob Lingelbach

On Tue, 24 Sep 2002, Sven Guckes wrote:

>   set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s"
> 
> you are mixing up %Z with %F there.  rtfm.

thank you Sven.  I read the fine manual a few times and can't find
--you know, it's part of human nature to make the same mistake more 
than once, according to physicist Edward O Wilson-  [; i can't find out
what the '-17.17F' or -15.15 rerfer to.

-- 
Rob Lingelbach  Senior Colorist UCLA Film and Television Archive
[EMAIL PROTECTED]   http://www.alegria.com   [EMAIL PROTECTED]



Re: subscribe command and %L in index_format

2002-09-25 Thread kevin lyda

On Wed, Sep 25, 2002 at 12:42:36PM -0700, Rob Lingelbach wrote:
> >   set index_format="%4C %Z %[!%y%m%d] %-17.17F (%3l) %s"
> thank you Sven.  I read the fine manual a few times and can't find
> --you know, it's part of human nature to make the same mistake more 
> than once, according to physicist Edward O Wilson-  [; i can't find out
> what the '-17.17F' or -15.15 rerfer to.

see the printf man page for more info, but essentially -17.17 means 17
chars wide - no more, no less and the initial dash means left justified
(without the dash it's right justified)

> Rob Lingelbach  Senior Colorist UCLA Film and Television Archive

you do things like colorise casablanca?  you realise that's evil right?
it's actually worse then using outlook or running that little s/w house
over in redmond.  you've got some serious karma repair work to do buddy.

just thought i'd mention that.  8^)

kevin

-- 
[EMAIL PROTECTED]  "How do we know Saddam has weapons of mass
fork()'ed on 37058400  destruction?  We looked at the receipt."
meatspace place: home--Bill Hicks
http://ie.suberic.net/~kevin



msg31226/pgp0.pgp
Description: PGP signature


reread configuration file

2002-09-25 Thread Hans Ginzel

Hello,

   can mutt reread hiis configuration file ~/.muttrc? Has mutt command
"source" like VIM?

Regards
--
Hans Ginzel

http://interviews.slashdot.org/article.pl?sid=02/09/06/1343222
http://www.infoworld.com/articles/op/xml/02/08/26/020826opsource.xml



LC filename of attachement

2002-09-25 Thread Hans Ginzel

Hello,

  In the view attachements menu I see name of attachement

=?iso-8859-2?Q?poutn=ED_slavnost_SW.doc?

  I thing this encoding is used in mail headers. Is it correct to use it
also in attachement names? Does mutt support such names? I want to
decode them when viewing name or saving attachement.

  I use Mutt 1.3.28i (2002-03-13) on Debian Linux Woody,
with locales: LC_ALL unset, LANG=C, LC_COLLATE=cs_CZ, LC_CTYPE=cs_CZ.


Thanks
--
Hans Ginzel

http://interviews.slashdot.org/article.pl?sid=02/09/06/1343222
http://www.infoworld.com/articles/op/xml/02/08/26/020826opsource.xml



Re: reread configuration file

2002-09-25 Thread Ricardo SIGNES

On Wed, Sep 25, 2002 at 10:31:26PM +0200, Hans Ginzel wrote:
> 
>can mutt reread hiis configuration file ~/.muttrc? Has mutt command
> "source" like VIM?

It's so similar, it's got the same name.

Please look at the man page for muttrc.  You'll find an entry for the command
"source."  

source filename
The given file will be evaluated as a configuration file.

-- 
rjbs



msg31229/pgp0.pgp
Description: PGP signature


Re: reread configuration file

2002-09-25 Thread Christian Schneider

Thus spake Hans Ginzel ([EMAIL PROTECTED]):
> can mutt reread hiis configuration file ~/.muttrc? Has mutt command
> "source" like VIM?

¸
| :source /path/to/.muttrc
`

-- 
The student in question is performing minimally for his peer group and
is an emerging underachiever.




RE: Problems with mutt compilation on Solaris 7

2002-09-25 Thread John Haviland

Make sure you have environment variables LD_RUN_PATH and LD_LIBRARY_PATH set
to /usr/local/lib.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Piotr Kasztelowicz
Sent: Wednesday, 25 September 2002 21:53
To: [EMAIL PROTECTED]
Subject: Problems with mutt compilation on Solaris 7


Hello

I have problems with compilation mutt with Solaris 7.
Libivconv 1.8 has been previously installed, but
with gcc 2.95.3 (not 3.0).
I attempt to configure mutt with gcc 2.95.3
on my Solaris7 system (gcc 3.0 does not properly work)
an such error has been reported after "./configure"
command:

checking for iconv declaration...
 extern size_t iconv (iconv_t cd, const char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for bison... bison
checking version of bison... 1.25, bad
checking for catalogs to be installed...  de ru it es uk fr pl nl cs id sk
ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca
checking for iconv.h... yes
checking whether iconv.h defines iconv_t... yes
checking whether this iconv is good enough... no
configure: error: Try using libiconv instead

Please help how I shall solve this problem

Piotr

--
Piotr Kasztelowicz  [EMAIL PROTECTED]
http://www.am.torun.pl/~pekasz




Coloring full line in header

2002-09-25 Thread D. J. Bolderman

Hi,

I want to color my headers, but something goes wrong here. For example:
I have the subject colored white, with a blue background, but the rest of the
line stays black... I've searched the archives but didn't find a proper
solution.

I'm using 'color index white blue "^Subject:"

-- 

D.J. Bolderman
[EMAIL PROTECTED]



Re: reread configuration file

2002-09-25 Thread Hans Ginzel


On Wed, Sep 25, 2002 at 04:39:41PM -0400, Ricardo SIGNES wrote:

> >can mutt reread hiis configuration file ~/.muttrc?

> > Has mutt command "source" like VIM?
>
>   source filename
>   The given file will be evaluated as a configuration file.

But how to get rid of lines that are no more in new config file?
Something like:
:function reread_cfg_files
:   reset all options to compile time
:   source startup files as by usual start
:endfunction
--
Hans Ginzel

PS: My wish

:! should be a synonymum for !

because I used to use it in VIM.



Re: looking for a better send-hook

2002-09-25 Thread Eugene Lee

On Wed, Sep 25, 2002 at 03:34:50PM +0200, Sven Guckes wrote:
: 
: * Eugene Lee <[EMAIL PROTECTED]> [2002-09-25 12:33]:
: > 
: > The command "send-hook '~h address' command"
: > causes Mutt to generate an error "h: not supported
: > in this mode" that isn't documented anywhere.
: 
: one more thing to fix in the documentation then.

BTW, I get the same error with send-hook and ~B too.  :-)

: > How do I get a send-hook to match a pattern within
: > a custom header of the current message?
: 
: do you mean "current header" as in "generated with 'my_hdr'"?

Nope.  That came off as vague.  Let me specify.

I'm looking at the header "Received:" and trying to find a match within
for the pattern "for email_address_pattern".  There's no search pattern
to look at the "Received:" header (since "Received:" is almost always a
multi-line header, the docs don't say whether its other search patterns
match multi-line headers).  That's where I'm stuck with send-hook and
trying to use "~h".

So to clarify what I meant above, "current message" is the message that
I've currrently selected in index mode, or that I'm currently viewing.
And I meant "custom header" to describe a header that's not specified
by existing Mutt search patterns.

I know message-hook supports ~h, but it only activates when I view the
current message.  And I don't want to remember to view a message to
activate the hook.  This wouldn't be a such problem with your standard
GUI mail client because selecting the current message also means viewing
the current message.  But selecting and viewing are two different things
according to Mutt, which IMO has unnecessarily complicated the way some
hooks work.

Sven, thanks for the help!


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: reread configuration file

2002-09-25 Thread Burton Samograd

On Wed, Sep 25, 2002 at 11:36:38PM +0200, Hans Ginzel wrote:
>
> Something like:
>   :function reread_cfg_files
>   :   reset all options to compile time
>   :   source startup files as by usual start
>   :endfunction
> --

At the top of your .muttrc

unset *
unhook *

should do the trick.

burton


msg31235/pgp0.pgp
Description: PGP signature


Re: reread configuration file

2002-09-25 Thread Charles Cazabon

Hans Ginzel <[EMAIL PROTECTED]> wrote:
> 
> > > Has mutt command "source" like VIM?

[yes]

> But how to get rid of lines that are no more in new config file?

Quit and restart mutt.

Charles
-- 
---
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.ca/~charlesc/software/
---



Re: Coloring full line in header

2002-09-25 Thread John Iverson

* On Wed, 25 Sep 2002, D. J. Bolderman wrote:

> I want to color my headers, but something goes wrong here. For
> example: I have the subject colored white, with a blue
> background, but the rest of the line stays black... I've
> searched the archives but didn't find a proper solution.
> 
> I'm using 'color index white blue "^Subject:"

I think the consensus is that this is an ncurses issue.  I fixed
it for myself by compiling with s-lang instead of ncurses.

-- 
John



Re: Coloring full line in header

2002-09-25 Thread John Iverson

* On Wed, 25 Sep 2002, D. J. Bolderman wrote:

> I've searched the archives but didn't find a proper solution.

See the "Header color" thread from July 25, 2002, for one
discussion of this.

-- 
John



Re: Coloring full line in header

2002-09-25 Thread Thomas Dickey

On Wed, Sep 25, 2002 at 03:34:58PM -0700, John Iverson wrote:
> * On Wed, 25 Sep 2002, D. J. Bolderman wrote:
> 
> > I want to color my headers, but something goes wrong here. For
> > example: I have the subject colored white, with a blue
> > background, but the rest of the line stays black... I've
> > searched the archives but didn't find a proper solution.
> > 
> > I'm using 'color index white blue "^Subject:"
> 
> I think the consensus is that this is an ncurses issue.  I fixed
> it for myself by compiling with s-lang instead of ncurses.

uh no - it's a mutt issue.
ncurses and slang have comparable capabilities in this area, the issue is
that mutt isn't calling ncurses to achieve the effect.

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



Re: Coloring full line in header

2002-09-25 Thread D. J. Bolderman

On Wed, 25 Sep 2002, Thomas Dickey wrote:

> > > I want to color my headers, but something goes wrong here. For
> > > example: I have the subject colored white, with a blue
> > > background, but the rest of the line stays black... I've
> > > searched the archives but didn't find a proper solution.
> > 
> > I think the consensus is that this is an ncurses issue.  I fixed
> > it for myself by compiling with s-lang instead of ncurses.
> 
> uh no - it's a mutt issue.
> ncurses and slang have comparable capabilities in this area, the issue is
> that mutt isn't calling ncurses to achieve the effect.

So how do I get Mutt to call ncurses then ? Do I have to recompile or
something ??



Re: Coloring full line in header

2002-09-25 Thread Thomas Dickey

On Thu, Sep 26, 2002 at 01:24:29AM +0200, D. J. Bolderman wrote:
> On Wed, 25 Sep 2002, Thomas Dickey wrote:
> 
> > > > I want to color my headers, but something goes wrong here. For
> > > > example: I have the subject colored white, with a blue
> > > > background, but the rest of the line stays black... I've
> > > > searched the archives but didn't find a proper solution.
> > > 
> > > I think the consensus is that this is an ncurses issue.  I fixed
> > > it for myself by compiling with s-lang instead of ncurses.
> > 
> > uh no - it's a mutt issue.
> > ncurses and slang have comparable capabilities in this area, the issue is
> > that mutt isn't calling ncurses to achieve the effect.
> 
> So how do I get Mutt to call ncurses then ? Do I have to recompile or
> something ??

mutt does - but there are some missing pieces.  The calls using the macro
BKGDSET are either incomplete, or there is needed some related calls to the
bkgd function.

#if !defined(USE_SLANG_CURSES) && defined(HAVE_BKGDSET)
#define BKGDSET(x) bkgdset (ColorDefs[x] | ' ')
#else
#define BKGDSET(x)
#endif

(if I had less work to do, I'd have a patch for mutt, but have been busy
on - besides my day job - xterm, lynx, ncurses and vile within the past
month).

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



Re: Coloring full line in header

2002-09-25 Thread D. J. Bolderman

On Wed, 25 Sep 2002, Thomas Dickey wrote:

> > So how do I get Mutt to call ncurses then ? Do I have to recompile or
> > something ??
> 
> mutt does - but there are some missing pieces.  The calls using the macro
> BKGDSET are either incomplete, or there is needed some related calls to the
> bkgd function.
> 
>   #if !defined(USE_SLANG_CURSES) && defined(HAVE_BKGDSET)
>   #define BKGDSET(x) bkgdset (ColorDefs[x] | ' ')
>   #else
>   #define BKGDSET(x)
>   #endif

Would this problem be solved if I upgrade mutt to the cvs version ? Or
do I just create more problems then :)

> 
> (if I had less work to do, I'd have a patch for mutt, but have been busy
> on - besides my day job - xterm, lynx, ncurses and vile within the past
> month).

Cool, well maybe someone else could write a patch (I don't have the
knowledge) because I noticed more people are having this problem.

-- 

D.J. Bolderman
[EMAIL PROTECTED]



Re: Coloring full line in header

2002-09-25 Thread Thomas Dickey

On Thu, Sep 26, 2002 at 02:01:25AM +0200, D. J. Bolderman wrote:
> On Wed, 25 Sep 2002, Thomas Dickey wrote:
> 
> > > So how do I get Mutt to call ncurses then ? Do I have to recompile or
> > > something ??
> > 
> > mutt does - but there are some missing pieces.  The calls using the macro
> > BKGDSET are either incomplete, or there is needed some related calls to the
> > bkgd function.
> > 
> > #if !defined(USE_SLANG_CURSES) && defined(HAVE_BKGDSET)
> > #define BKGDSET(x) bkgdset (ColorDefs[x] | ' ')
> > #else
> > #define BKGDSET(x)
> > #endif
> 
> Would this problem be solved if I upgrade mutt to the cvs version ? Or
> do I just create more problems then :)

no - I haven't noticed any discussion of people working on this.  When it
first came up a few years ago, I pointed out some of the places and they
were addressed.  (Actually, when I first saw the slang-configuration for
this, I regarded that as a bug - tastes differ though).  If someone added
it, I would make sure it was optional).
 
> > (if I had less work to do, I'd have a patch for mutt, but have been busy
> > on - besides my day job - xterm, lynx, ncurses and vile within the past
> > month).
> 
> Cool, well maybe someone else could write a patch (I don't have the
> knowledge) because I noticed more people are having this problem.

I guess the mutt developers are more interested in other details.

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



Re: LC filename of attachement

2002-09-25 Thread Michael Elkins

Hans Ginzel wrote:
>   In the view attachements menu I see name of attachement
> 
> =?iso-8859-2?Q?poutn=ED_slavnost_SW.doc?
> 
>   I thing this encoding is used in mail headers. Is it correct to use it
> also in attachement names? Does mutt support such names? I want to
> decode them when viewing name or saving attachement.

The sender's MUA incorrectly encoded the filename in this manner.  You
can work around it by putting
set rfc2047_parameters
in your ~/.muttrc.  Mutt will then attempt to decode the string
properly.



Re: Problem with folder-hook - command must be *one* parameter

2002-09-25 Thread Sven Guckes

* D. J. Bolderman <[EMAIL PROTECTED]> [2002-09-25 18:47]:
> I'm having some difficulties on using folder-hooks.
> For some reason, my folder-hooks are not 'executed'
> Relevant lines in my .hooks file:
>   send-hook . my_hdr From: 
>   send-hook mutt-users my_hdr From: 
>   folder-hook '!'INBOX.MailingLists.Mutt my_hdr From: 
> [..] So, it seems that the folder-hook setting is not used, but why ?

you see the my_hdr comamnd as one thing - but mutt does not.
and if the '!' is meant as a negation then it need not be quoted.

  folder-hook ! INBOX.MailingLists.Mutt "my_hdr From: "

> '!' refers to my IMAP server, and I have no problems with using the
> '!' in other rules, so that must be ok.

'!' refers to the IMAP server??

Sven



Re: fast conversion of html mail to text

2002-09-25 Thread Sven Guckes

* On Sep 25 2002, Erik Christiansen..:
> Of the 2247 advertising spams I've received
> since February, 1899 were html.

* Laurabelle said:
> Am I the only one who read that as "February 1899" and
> thought "what, they had the internet back *then*?"

* Michael Leone <[EMAIL PROTECTED]> [2002-09-25 18:37]:
> Yes, but only teletype machines. :-)

"he he"

> Actually, I've gotten many non-HTML spams, too.
> And I get many valid HTML mail, both
> newsletters and private correspondence.

has the thought ever struck you that it might be *you*?

> Random Thought:
> --
>

duh.

Sven  [bouncing back all html mail]



scrolling behavior

2002-09-25 Thread Dan Sully

I have a request from one of my users to make mutt have a small bit of "pine-like" 
functionality. 

When one scrolls to the bottom of the index in pine, it refreshes the page, 
and puts the last message at the top of the screen and continues. 

Is there any way to make mutt do this? Thanks.

-D
-- 
 kernel's original recipe: 11 secret args and switches



Re: Problem with folder-hook - command must be *one* parameter

2002-09-25 Thread D. J. Bolderman

On Thu, 26 Sep 2002, Sven Guckes wrote:

> > I'm having some difficulties on using folder-hooks.
> > For some reason, my folder-hooks are not 'executed'
> > Relevant lines in my .hooks file:
> >   send-hook . my_hdr From: 
> >   send-hook mutt-users my_hdr From: 
> >   folder-hook '!'INBOX.MailingLists.Mutt my_hdr From: 
> > [..] So, it seems that the folder-hook setting is not used, but why ?

> you see the my_hdr comamnd as one thing - but mutt does not.  and if
> the '!' is meant as a negation then it need not be quoted.

Strange, because my send-hooks are working allright, and I'm not using
quotes there either. For example: send-hook mutt my_hdr From:  works allright.

>   folder-hook ! INBOX.MailingLists.Mutt "my_hdr From: "

Still doesn't work...i tried all possible combinations.

> '!' refers to the IMAP server??

Yep, i've defined my IMAP server + INBOX in the set spoolfile argument. I also
use save-hook "~C mutt-users" '!'.MailingLists.Mutt.Archive and that
also works.



Re: Coloring full line in header

2002-09-25 Thread John Iverson

* On Wed, 25 Sep 2002, Thomas Dickey wrote:

> On Wed, Sep 25, 2002 at 03:34:58PM -0700, John Iverson wrote:
> > * On Wed, 25 Sep 2002, D. J. Bolderman wrote:
> > 
> > > I want to color my headers, but something goes wrong here. For
> > > example: I have the subject colored white, with a blue
> > > background, but the rest of the line stays black... I've
> > > searched the archives but didn't find a proper solution.
> > > 
> > > I'm using 'color index white blue "^Subject:"
> > 
> > I think the consensus is that this is an ncurses issue.  I fixed
> > it for myself by compiling with s-lang instead of ncurses.
> 
> uh no - it's a mutt issue.

I stand corrected.  However, I did experience the same problem of
the coloring not extending to the end of the line, and the
problem (or behavior or whatever) definitely went away when I
switched to s-lang.

-- 
John



Re: $check-new

2002-09-25 Thread Sven Guckes

* Johan Svedberg <[EMAIL PROTECTED]> [2002-09-25 19:04]:
> On Wed, Sep 25, 2002 at 03:30:31PM +0200, Sven Guckes wrote:
> > * Johan Svedberg <[EMAIL PROTECTED]> [2002-09-25 13:15]:
> > > I'm using 'mutt -y' alot to monitor my mailboxes, and I have
> > > this to be able to see where I have new mail: bind browser $
> > > check-new Although I'm experienceing some "buggy" behaivor by
> > > mutt.  Sometimes (I can't see a pattern) it doesn't give the
> > > mailbox the "N" flag marking new mails, although there really
> > > are new mails in that box because I can see the filesize of the
> > > mailbox change and when I enter it there are new mails in it.
> > > Has anyone else seen this?
> > yes, it has been reported about a dozen times now. -> archive
> My search skills must suck, because I can't find anything. :-(
> Do you (or anyone else) have the strength to explain? :)

don't forget about comp.mail.mutt!
http://www.google.com/search?q=mutt+%22new+mail%22&scoring=d

Sven



Re: scrolling behavior in index like pine - workaround

2002-09-25 Thread Sven Guckes

* Dan Sully <[EMAIL PROTECTED]> [2002-09-26 01:37]:
> I have a request from one of my users to make mutt
> have a small bit of "pine-like" functionality.

uh-oh..

> When one scrolls to the bottom of the index in pine,
> it refreshes the page, and puts the last message
> at the top of the screen and continues.
> Is there any way to make mutt do this?

you mean, when paging in the index
the adjacent pages should overlap?

workaround:

  macro index   
  macro index  

not perfect - but a workaround.

Sven



Re: scrolling behavior

2002-09-25 Thread Burton Samograd

On Wed, Sep 25, 2002 at 06:32:07PM -0700, Dan Sully wrote:
> I have a request from one of my users to make mutt have a small bit of "pine-like" 
>functionality. 
> 
> When one scrolls to the bottom of the index in pine, it refreshes the page, 
> and puts the last message at the top of the screen and continues. 
> 
> Is there any way to make mutt do this? Thanks.

Check the menu_scroll variable.  If it's set to yes it will scroll a
single line at a time, if it's unset it will scroll by page.

burton


msg31252/pgp0.pgp
Description: PGP signature


Re: Problem with folder-hook - command must be *one* parameter

2002-09-25 Thread Sven Guckes

* D. J. Bolderman <[EMAIL PROTECTED]> [2002-09-26 01:44]:
> > >   send-hook . my_hdr From: 
> > >   send-hook mutt-users my_hdr From: 
> > >   folder-hook '!'INBOX.MailingLists.Mutt my_hdr From: 
> > > [..] So, it seems that the folder-hook setting is not used, but why ?
>
> > you see the my_hdr comamnd as one thing - but mutt does not.  and if
> > the '!' is meant as a negation then it need not be quoted.
>
> Strange, because my send-hooks are working
> allright, and I'm not using quotes there either.

hmm...  assuming that all hooks work - aren't
you defining *two* From headers that way?
maybe the first one "wins"?

let's see...

  $ cat muttrc.test
  set autoedit
  set edit_headers
  send-hook   .   "my_hdr From: me "
  folder-hook +empty  "my_hdr From: me "
  folder-hook +empty  "my_hdr Subject: test"

  $ mutt -n -F muttrc.test -f /dev/null

sending a mail ('m' and a possible  'n' to say "no"
to the prompt "Recall postponed message? ([yes]/no):")
now results in "From: me " (autoedit let's me
skip the prompts for "Subject:" and "To:" - and
edit_headers will show me the headers in the editor).
as i am using vim i can exit very fast with "ZZ".

now, when changing to +empty, the folder-hooks do
get triggered (i can tell be the X-Test: showing up) -
but there is still "From: me ", so the send-hook
overrules the From: header as set by the  folder-hook.

qed.

Sven



Re: scrolling behavior

2002-09-25 Thread Sven Guckes

* Burton Samograd <[EMAIL PROTECTED]> [2002-09-26 02:19]:
> On Wed, Sep 25, 2002 at 06:32:07PM -0700, Dan Sully wrote:
> > I have a request from one of my users to make mutt have a small
> > bit of "pine-like" functionality.
> >
> > When one scrolls to the bottom of the index in pine, it refreshes the page,
> > and puts the last message at the top of the screen and continues.
> >
> > Is there any way to make mutt do this? Thanks.
>
> Check the menu_scroll variable.  If it's set to yes it will scroll a
> single line at a time, if it's unset it will scroll by page.

but changing from one page to another won't "overlap" then..

Sven



Re: fast conversion of html mail to text

2002-09-25 Thread Mike Leone

* Sven Guckes ([EMAIL PROTECTED]) wrote this on 09 25, 02 at 21:26: 
> * On Sep 25 2002, Erik Christiansen..:
> > Of the 2247 advertising spams I've received
> > since February, 1899 were html.
> 
> * Laurabelle said:
> > Am I the only one who read that as "February 1899" and
> > thought "what, they had the internet back *then*?"
> 
> * Michael Leone <[EMAIL PROTECTED]> [2002-09-25 18:37]:
> > Yes, but only teletype machines. :-)
> 
> "he he"
> 
> > Actually, I've gotten many non-HTML spams, too.
> > And I get many valid HTML mail, both
> > newsletters and private correspondence.
> 
> has the thought ever struck you that it might be *you*?

Since I know many different people that both send and receive HTML mail,
none of whome are spammers; and since I get a number of HTML-only newletters that
are defintely not spam ... no, that thought has never struck me.

:-)

Has the thought ever struck you that perhaps you are too restrictive in what you
accept?

> 
> > Random Thought:
> > --
> >
> 
> duh.

Hey, not my fault - my SquirrelMail web interface sometimes forgets to read
the output of the fortune program.



msg31255/pgp0.pgp
Description: PGP signature


Re: Problem with folder-hook - command must be *one* parameter

2002-09-25 Thread D. J. Bolderman

On Thu, 26 Sep 2002, Sven Guckes wrote:

> let's see...

>   $ cat muttrc.test
>   set autoedit
>   set edit_headers
>   send-hook   .   "my_hdr From: me "
>   folder-hook +empty  "my_hdr From: me "
>   folder-hook +empty  "my_hdr Subject: test"

>   $ mutt -n -F muttrc.test -f /dev/null

> sending a mail ('m' and a possible  'n' to say "no" to the prompt
> "Recall postponed message? ([yes]/no):") now results in "From: me
> " (autoedit let's me skip the prompts for "Subject:" and "To:" -
> and edit_headers will show me the headers in the editor).  as i am
> using vim i can exit very fast with "ZZ".

> now, when changing to +empty, the folder-hooks do get triggered (i can
> tell be the X-Test: showing up) - but there is still "From: me ",
> so the send-hook overrules the From: header as set by the
> folder-hook.

You are right, I also tested it with the subject, and then the
folder-hook works. Now, is there any way to work around this problem ? I
tried removing the send-hook . lines, but to no avail. I would really
like to have this feature. I'm downloading my hotmail account with
gotmail, and when I'm in my hotmail IMAP folder, I want to sent mails
with the from: address of my hotmail account.

Thanks,
Dick



Re: scrolling behavior

2002-09-25 Thread Dan Sully

Once upon a time Burton Samograd shaped the electrons to say...

> Check the menu_scroll variable.  If it's set to yes it will scroll a
> single line at a time, if it's unset it will scroll by page.

This is what I need - thanks!

-D
-- 
 i can type with my vagina!



Re: LC filename of attachement (off topic)

2002-09-25 Thread Hans Ginzel


On Wed, Sep 25, 2002 at 06:00:53PM -0700, Michael Elkins wrote:
> >   In the view attachements menu I see name of attachement
> > =?iso-8859-2?Q?poutn=ED_slavnost_SW.doc?

> The sender's MUA incorrectly encoded the filename in this manner.  You
> can work around it by putting
>   set rfc2047_parameters

  Thank you for answer. I read manual long time ago, must do it again.

Does anybody probably know how to set sender's MUA (MS Outlook Express)
to do it correctly? How does mutt encode the filenames?

--
Hans Ginzel