Re: Hook question - making a point

2002-03-18 Thread Jerome De Greef

* Sven Guckes ([EMAIL PROTECTED]) wrote:
 * Jerome De Greef [EMAIL PROTECTED] [2002-03-16 14:11]:
BTW, doesn't ..* do the same as .+ ?
   it depends.  really - it all depends on
   the language you currently have available.
  I was talking about Mutt ;)
 
 So was I.  more specifically, I was talking about
 the regular expression library used within mutt.
 
send-hook   . 'my_hdr From: JDG [EMAIL PROTECTED]'
send-hook ! . 'my_hdr From: JDG [EMAIL PROTECTED]'
   this should work.  untested, though.
  Just tested it and it doesn't work...
 
 hmm.. the pattern might need quoting:
  send-hook ! . 'my_hdr From: JDG [EMAIL PROTECTED]'
 
 try again.  does it work now?

Nope...

Jerome

-- 
+---+
|   'the panorama of the city is wrong  |
|   in fact the city seems to be gone!' |
| the clash, stop the world, 1980   |
+---+



Re: Mutt 1.3.28 + ncurses 5.2 + xterm = blank screen

2002-03-18 Thread Thomas E. Dickey

On Mon, 18 Mar 2002, Pavel Roskin wrote:

 Hi, Thomas!

   I've compiled mutt-1.3.28i in the default configuration on RedHat Linux
   7.2 (i386) with all updates.  If I run it in xterm (from XFree86-4.1.0) or
   in rxvt-2.7.6, it shows a blank screen.  I can quit by pressing Ctrl-C and
   Enter.  The same executable runs on the Linux console just fine.
 
  what $TERM value?

 xterm both under xterm and rxvt.  I forgot to mention that I was running
 xterm from rxvt.  I have found that if I run xterm from the window manager
 the problem goes away!

 When I run rxvt, it sets the following environment variables beginning
 with COLOR:

 COLORFGBG=default;0
 COLORTERM=rxvt

 Both xterm and rxvt are using black background.  From .Xdefaults:

 XTerm*background: black
 XTerm*foreground: gray85

 Unsetting COLORFGBG fixes the problem.

that's a bug that I fixed in September.  The problem was that when I coded
the $COLORFGBG logic (which btw is under-documented in rxvt - you have to
read the C code to see it), it didn't occur to me that its format might
change.  It happens that the format depends on whether xpm is linked in -
2 or 3 fields.  The background color is the last field.

(Since it's under-documented, it's also possible that in the future
anything that relies upon that format will be broken ;-).


 My interpretation is that mutt uses black text on black background.
 Probably ncurses interprets default in COLORFGBG as black whereas
 S-Lang uses the foreground from the X resources.

 Shouldn't ncurses ignore COLORFGBG if it has unsupported keywords (let's
 move this discussion elsewhere if you want to continue).

$COLORFGBG is marked as an experimental feature.  I've gotten 2-3 reports
of this particular problem - but only months after I stumbled on it
myself.  Apparently one or more of the rpm's last year turned that feature
on, though it was in the code almost a year.

 Not exactly mutt problem, but may be useful thing to know if other people
 ask.



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




Re: Mutt 1.3.28 + ncurses 5.2 + xterm = blank screen

2002-03-18 Thread Thomas E. Dickey

On Mon, 18 Mar 2002, Pavel Roskin wrote:

 Hi, Thomas!

   I've compiled mutt-1.3.28i in the default configuration on RedHat Linux
   7.2 (i386) with all updates.  If I run it in xterm (from XFree86-4.1.0) or
   in rxvt-2.7.6, it shows a blank screen.  I can quit by pressing Ctrl-C and
   Enter.  The same executable runs on the Linux console just fine.

the term 'blank screen' was misleading (to me).  Totally black might
have jogged my memory regarding $COLORFGBG (though the unrelated report
of the pager which does not display anything was what I was thinking
about).

It's not a mutt problem, though as you noted.  When I first saw it (early
September or late August), it was from running the ncurses test program.

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




howto move maildir msgs from new to cur when read?

2002-03-18 Thread m2

I did some googling on this one but couldn't find the answer.

I want mutt to move new messages from new to cur as soon as I've
opened them in the pager. It seems that mutts default behavior is to
move the messages when I close the mailbox.

op


-- 
o polite
http://plusseven.com/gpg/



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread David T-G

Hi!

...and then [EMAIL PROTECTED] said...
% 
% I did some googling on this one but couldn't find the answer.

I don't think you will, in fact.


% 
% I want mutt to move new messages from new to cur as soon as I've
% opened them in the pager. It seems that mutts default behavior is to
% move the messages when I close the mailbox.

Indeed it is; mut doesn't do anything until you sync it and you can
completely abandon any changes you have made to the mailbox (though
changes to other mailboxes, like a message saved from here to there,
won't be undone).

I can't think of a reasonable way to acheive what you want, but you could
try hitting '$' (sync) very often...


% 
% op
% 
% 
% -- 
% o polite
% http://plusseven.com/gpg/


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




msg25663/pgp0.pgp
Description: PGP signature


Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread m2

On Mon, Mar 18, 2002 at 07:51:25AM -0500, David T-G wrote:
 
 I can't think of a reasonable way to acheive what you want, but you could
 try hitting '$' (sync) very often...
 

So, sync is the magic word. I understand that mutt some hook
functionality resembling that of emacs. Wouldn't be possible to
set up an open-message(?) hook that runs a sync on the present mailbox?

-- 
o polite
http://plusseven.com/gpg/



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread Nicolas Rachinsky

* [EMAIL PROTECTED] [2002-03-18 14:06:05 +0100]:
 On Mon, Mar 18, 2002 at 07:51:25AM -0500, David T-G wrote:
  
  I can't think of a reasonable way to acheive what you want, but you could
  try hitting '$' (sync) very often...
  
 
 So, sync is the magic word. I understand that mutt some hook
 functionality resembling that of emacs. Wouldn't be possible to
 set up an open-message(?) hook that runs a sync on the present mailbox?

look for message-hook in the manual.

Nicolas



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread David T-G

Hi again

...and then [EMAIL PROTECTED] said...
% 
% On Mon, Mar 18, 2002 at 07:51:25AM -0500, David T-G wrote:
%  
%  I can't think of a reasonable way to acheive what you want, but you could
%  try hitting '$' (sync) very often...
% 
% So, sync is the magic word. I understand that mutt some hook

Oh.  Yeah.  Sorry; I thought you'd read the manual ;-)


% functionality resembling that of emacs. Wouldn't be possible to

Well, I wouldn't go that far, but only because !E--- ;-)


% set up an open-message(?) hook that runs a sync on the present mailbox?

As long as you realize that you'll lose the ability to back out of any
changes you might accidentally make (well, you could mark a message new
again and then sync again, but things like deleted message purging), you
could.  If you went this route, I'd strongly recommend using Cedric's
trash_folder patch if it works with Maildir yet (or mebbe it's a
different maildir_trash patch).

Anyway, you also probably don't want to sync and then open, and you can't
sync from the pager, so what you probably really want to do is make a
macro for 'q' (bound to exit in the pager menu) so that you sync after
you've opened and read the message.  Have fun binding all of the other
possible ways to leave a message ;-)


% 
% -- 
% o polite
% http://plusseven.com/gpg/

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!




msg25666/pgp0.pgp
Description: PGP signature


Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread Nicolas Rachinsky

* David T-G [EMAIL PROTECTED] [2002-03-18 08:44:37 -0500]:
 Anyway, you also probably don't want to sync and then open, and you can't
 sync from the pager, so what you probably really want to do is make a

I can sync from the pager, what MUA are you using? :-)

 macro for 'q' (bound to exit in the pager menu) so that you sync after
 you've opened and read the message.  Have fun binding all of the other
 possible ways to leave a message ;-)

I guess it would be much easier to patch mutt than to find all these ways.

Nicolas



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread David T-G

Nicolas, et al --

...and then Nicolas Rachinsky said...
% 
% * David T-G [EMAIL PROTECTED] [2002-03-18 08:44:37 -0500]:
%  Anyway, you also probably don't want to sync and then open, and you can't
%  sync from the pager, so what you probably really want to do is make a
% 
% I can sync from the pager, what MUA are you using? :-)

Holy cow.  Um, I can, too.  I must be using mutt :-)

Sorry for the misinformation, m2!


% 
%  macro for 'q' (bound to exit in the pager menu) so that you sync after
%  you've opened and read the message.  Have fun binding all of the other
%  possible ways to leave a message ;-)
% 
% I guess it would be much easier to patch mutt than to find all these ways.

Well, it gets easier if the sync immediately upon entering the pager
catches a transition from new to read...  He should try that, first.


% 
% Nicolas


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




msg25668/pgp0.pgp
Description: PGP signature


change from header

2002-03-18 Thread Eduardo Gargiulo

Hi all.

I want to user muttrc file to set my From: and Reply-To headers based
on the maildir i'm reading. I'm using vmailmgr, so i have several
virtual users maildirs under ~/users/ dir. Now i have a shell script to
set some environments variables that rewrites my headers and then run mutt
with -f option, but i want to avoid this, setting my headers from
muttrc. How can i do it? I'd tried the following lines, but it didn't
work; i change to folder ~/users/qmail with c key, but the headers
still are From: Eduardo Gargiulo [EMAIL PROTECTED]

---
folder-hook . my_hdr From: Eduardo Gargiulo [EMAIL PROTECTED]
folder-hook . my_hdr Reply-To: Eduardo Gargiulo [EMAIL PROTECTED]
folder-hook . set signature=~/.signature
folder-hook . set hostname=ingdesi.net

folder-hook ~/users/qmail/. set folder=~/users/qmail
folder-hook ~/users/qmail/. my_hdr From: qmail user [EMAIL PROTECTED]
folder-hook ~/users/qmail/. set hostname=ar.homelinux.org

folder-hook ~/users/lug/. set folder=~/users/lug
folder-hook ~/users/lug/. my_hdr From: lug user [EMAIL PROTECTED]
folder-hook ~/users/lug/. set hostname=ar.dyndns.biz
---

~ejg



msg25669/pgp0.pgp
Description: PGP signature


Re: change from header

2002-03-18 Thread David T-G

Eduardo --

...and then Eduardo Gargiulo said...
% 
% Hi all.

Hello!


% 
% I want to user muttrc file to set my From: and Reply-To headers based
% on the maildir i'm reading. I'm using vmailmgr, so i have several

Piece of cake.


% virtual users maildirs under ~/users/ dir. Now i have a shell script to

That sounds interesting...  What is it?


% set some environments variables that rewrites my headers and then run mutt
% with -f option, but i want to avoid this, setting my headers from

Yeah; you don't need that.


% muttrc. How can i do it? I'd tried the following lines, but it didn't
% work; i change to folder ~/users/qmail with c key, but the headers
% still are From: Eduardo Gargiulo [EMAIL PROTECTED]
% 
% ---
% folder-hook . my_hdr From: Eduardo Gargiulo [EMAIL PROTECTED]
% folder-hook . my_hdr Reply-To: Eduardo Gargiulo [EMAIL PROTECTED]
% folder-hook . set signature=~/.signature
% folder-hook . set hostname=ingdesi.net

For one thing, you can combine all of this into a single folder-hook
which, although longer, might be easier to maintain:

  folder-hook . 'set signature=~/.signature hostname=ingdesi.net ; my_hdr From: 
Eduardo Gargiulo [EMAIL PROTECTED] ; my_hdr Reply-To: Eduardo Gargiulo 
[EMAIL PROTECTED] '


% 
% folder-hook ~/users/qmail/. set folder=~/users/qmail

If you're going to set these, don't forget to set your default folder in
your default folder-hook as well.


% folder-hook ~/users/qmail/. my_hdr From: qmail user [EMAIL PROTECTED]
% folder-hook ~/users/qmail/. set hostname=ar.homelinux.org

Leave off the /. on the end and you might even try it without the ~/ on
the front.  Something like

  folder-hook users/qmail 'set hostname=ar.homelinux.org ; my_hdr ...'

should work.


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!




msg25670/pgp0.pgp
Description: PGP signature


Search pattern: fail to enter mbyte characters

2002-03-18 Thread Charles Jie

Hi,

Is it possible to let mutt accept muilt-byte (eg. Traditional Chinese)
charaters while entering search pattern?

mutt strips the 8th bit. I can not find the setting to tell it not to.
Thanks.

best regards,
charlie




Re: 1.3.28: still not possible to compile without iconv

2002-03-18 Thread Shawn McMahon

begin  quoting what Claus Assmann said on Sun, Mar 17, 2002 at 04:02:53PM -0800:
 I asked about this when 1.3.25 came out and got the answer that
 this should be fixed / will be looking into it.  However, 1.3.28
 still can't be configured without iconv.  Any chance for a change?

Pardon my ignorance, but why would you want to?




msg25672/pgp0.pgp
Description: PGP signature


Re: Hook question - making a point

2002-03-18 Thread Jerome De Greef

Hi,

* Sven Guckes ([EMAIL PROTECTED]) wrote:
 Hi!
 
 * Jerome De Greef [EMAIL PROTECTED] [2002-03-18 08:18]:
   send-hook ! . 'my_hdr From: JDG [EMAIL PROTECTED]'
   try again.  does it work now?
  Nope...
 
   send-hook   ~t . 'my_hdr From: JDG [EMAIL PROTECTED]'
   send-hook ! ~t . 'my_hdr From: JDG [EMAIL PROTECTED]'

Yes, this works. But it's not far from what I had:

send-hook '~t .' 'my_hdr From: JDG [EMAIL PROTECTED]'
send-hook !'~t .' 'my_hdr From: JDG [EMAIL PROTECTED]'

Thanks anyway.

Regards,
Jerome

-- 
+---+
|   'the panorama of the city is wrong  |
|   in fact the city seems to be gone!' |
| the clash, stop the world, 1980   |
+---+



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread Nicolas Rachinsky

* David T-G [EMAIL PROTECTED] [2002-03-18 09:26:00 -0500]:
 %  macro for 'q' (bound to exit in the pager menu) so that you sync after
 %  you've opened and read the message.  Have fun binding all of the other
 %  possible ways to leave a message ;-)
 % 
 % I guess it would be much easier to patch mutt than to find all these ways.
 
 Well, it gets easier if the sync immediately upon entering the pager
 catches a transition from new to read...  He should try that, first.

message-hook ~A 'exec sync-mailbox'

seems to create an endless loop.

macro pager ~2 enter-commandmacro pager ~~ ~1\n
macro pager ~1 enter-commandmacro pager ~~ ~2\nsync-mailbox
macro pager ~~ ~1
message-hook ~A 'push ~~'

seems to avoid it, but it slows the opening of messages significantly
down (at least here).

Nicolas



Re: 1.3.28: still not possible to compile without iconv

2002-03-18 Thread David T-G

Shawn --

...and then Shawn McMahon said...
% 
% begin  quoting what Claus Assmann said on Sun, Mar 17, 2002 at 04:02:53PM -0800:
%  I asked about this when 1.3.25 came out and got the answer that
%  this should be fixed / will be looking into it.  However, 1.3.28
%  still can't be configured without iconv.  Any chance for a change?
% 
% Pardon my ignorance, but why would you want to?

It's not that he wants to; it's that it has the problem.  He does not
have iconv and thus can't get his mutt to play.


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




msg25675/pgp0.pgp
Description: PGP signature


Re: different hooks for Email/Usenet

2002-03-18 Thread Andre Berger

* Nicolas Rachinsky [EMAIL PROTECTED], 2002-03-18 10:17 -0500:
 * Andre Berger [EMAIL PROTECTED] [2002-03-17 21:50:28 -0500]:
  I'm working on different computers at work and want to save my mail
  on none of them. Bcc is a convenient mail to keep track of all my
  mail in one place, my compi at home. Where I use fcc-hooks BTW.
 
 Can't you BCC all messages to one address, and filter with procmail?
 
 Nicolas

Nicolas,

that's what I'm doing :) The problem is, when I post news
(nntp-patch), I don't want a Bcc header.

-Andre




msg25676/pgp0.pgp
Description: PGP signature


Re: different hooks for Email/Usenet

2002-03-18 Thread Nicolas Rachinsky

* Andre Berger [EMAIL PROTECTED] [2002-03-18 10:50:49 -0500]:
 that's what I'm doing :) The problem is, when I post news
 (nntp-patch), I don't want a Bcc header.

Uh, sorry, I didn't follow the thread closely, it seems I missed the
real problem.

Nicolas



Re: change from header

2002-03-18 Thread Eduardo Gargiulo

On Mon, Mar 18, 2002 at 10:00:00AM -0500, David T-G wrote:
 Leave off the /. on the end and you might even try it without the ~/ on
 the front.  Something like
 
   folder-hook users/qmail 'set hostname=ar.homelinux.org ; my_hdr ...'
 
 should work.

thanks, it really work! Look at my headers, i have not set QMAILINJECT,
so there is not *quotes* in my from header! thanks again.

Just one another thing: is there any _quick+easy_ way to switch between
maildirs, without having to press c and browse the filesystem?

~ejg



Re: [Announce] Mutt 1.3.28 (BETA) is out.

2002-03-18 Thread Carl B. Constantine

* Cedric Duval ([EMAIL PROTECTED]) wrote:
 David T-G wrote:
  Yippee!
 
  My list of patch maintainers for my cocktail is currently
 [...]
Cedric Duval
 [...]
  so all of you folks should get to work to make sure that your patches
  work under 1.3.28 :-)
 
 The previous versions should apply cleanly, but anyway I've updated
 them all for 1.3.28:
 
 http://cedricduval.free.fr/mutt/
 

all I get at this page is the following:

HEADMETA HTTP-EQUIV=REFRESH CONTENT=0 
URL=http://cedricduval.free.fr/mutt/;/HEAD

that is displayed in NS 6.2.1 (solaris).

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]



Re: change from header

2002-03-18 Thread David T-G

Eduardo --

...and then Eduardo Gargiulo said...
% 
% On Mon, Mar 18, 2002 at 10:00:00AM -0500, David T-G wrote:
%  
%folder-hook users/qmail 'set hostname=ar.homelinux.org ; my_hdr ...'
...
% 
% thanks, it really work! Look at my headers, i have not set QMAILINJECT,

Yay! :-)


% so there is not *quotes* in my from header! thanks again.

Excellent.  I figure that's because you've left out the J. you originally
had.


% 
% Just one another thing: is there any _quick+easy_ way to switch between
% maildirs, without having to press c and browse the filesystem?

Well, if you know where you're going, just

  c=SomeMailDirenter

or so and you're on your way.  If it's not under your $folder directory,
then you can still

  c/path/to/SomeMailDirenter

with no problem.  You might even be able to use

  c=/../SomeMailDir

with good results, but I haven't tested it.


% 
% ~ejg


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!




msg25680/pgp0.pgp
Description: PGP signature


Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread Drew Raines

[EMAIL PROTECTED]:

 I want mutt to move new messages from new to cur as soon as I've opened
 them in the pager. It seems that mutts default behavior is to move the
 messages when I close the mailbox.

Why do you need to do this?  What problem are you trying to solve?



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread m2

On Mon, Mar 18, 2002 at 04:30:43PM +0100, Nicolas Rachinsky wrote:
 message-hook ~A 'exec sync-mailbox'
 
 seems to create an endless loop.
 
 macro pager ~2 enter-commandmacro pager ~~ ~1\n
 macro pager ~1 enter-commandmacro pager ~~ ~2\nsync-mailbox
 macro pager ~~ ~1
 message-hook ~A 'push ~~'
 
 seems to avoid it, but it slows the opening of messages significantly
 down (at least here).
 

Thanks. Works nicely and reasonably fast over here.

op

-- 
o polite
http://plusseven.com/gpg/



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread m2

On Mon, Mar 18, 2002 at 11:30:51AM -0600, Drew Raines wrote:
 
 Why do you need to do this?  What problem are you trying to solve?

My mail notification program looks for files in the new folder.

op

-- 
o polite
http://plusseven.com/gpg/



Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread MuttER

* David T-G [EMAIL PROTECTED] [03-18-02 13:17]:
 
 Anyway, you also probably don't want to sync and then open, and you can't
 sync from the pager, so what you probably really want to do is make a
 macro for 'q' (bound to exit in the pager menu) so that you sync after
 you've opened and read the message.  Have fun binding all of the other
 possible ways to leave a message ;-)

Why are YOU unable to sync from the pager.  I can.
-- 
Pat Shanahan Registered Linux User #207535
  Registered at: http://counter.li.org
  1:45pm  up 21:01,  7 users,  load average: 0.00, 0.04, 0.02



Fcc and New Messages

2002-03-18 Thread David Collantes

Hi all!

I am getting a new message flag on the Fcc: mailbox when I email someone. Is 
there any way to stop that from happening?

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
I have no particular talent. I am merely inquisitive.




smime.p7s
Description: application/pkcs7-signature


Re: howto move maildir msgs from new to cur when read?

2002-03-18 Thread David T-G

Pat --

...and then MuttER said...
% 
% * David T-G [EMAIL PROTECTED] [03-18-02 13:17]:
%  
%  Anyway, you also probably don't want to sync and then open, and you can't
%  sync from the pager, so what you probably really want to do is make a
...
% 
% Why are YOU unable to sync from the pager.  I can.

Just a PEBKAM (... And Memory).


% -- 
% Pat Shanahan Registered Linux User #207535
%   Registered at: http://counter.li.org
%   1:45pm  up 21:01,  7 users,  load average: 0.00, 0.04, 0.02


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




msg25686/pgp0.pgp
Description: PGP signature


Re: Fcc and New Messages

2002-03-18 Thread David T-G

David --

...and then David Collantes said...
% 
% Hi all!

Hello!


% 
% I am getting a new message flag on the Fcc: mailbox when I email someone. Is 
% there any way to stop that from happening?

Not really; mutt is just doing its job as expected.  

You could quit watching the fcc mailbox since you're the only who delivers
there ... aren't you?


% 
% Cheers,
% 
% -- 
% David Collantes - http://www.bus.ucf.edu/david/
% College of Business Administration, University of Central Florida
% I have no particular talent. I am merely inquisitive.
% 


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!




msg25687/pgp0.pgp
Description: PGP signature


Re: Fcc and New Messages

2002-03-18 Thread David Collantes

On 03-18-2002 at 14:32 EST, David T-G [EMAIL PROTECTED] wrote:

 % I am getting a new message flag on the Fcc: mailbox when I email someone. Is 
 % there any way to stop that from happening?
 
 Not really; mutt is just doing its job as expected.  
 
 You could quit watching the fcc mailbox since you're the only who delivers
 there ... aren't you?

Well, not quite. I sort incoming mails with procmail to the appropiated file
too.  My routine is, I email someone, I Fcc to that someone _own_ file. I
receive email into that someone _own_ file as well. So, when I Fcc, it gets 
me new email notification, which is partially true, because the file got 
changed, but it is my own outgoing mail. I need notification on the same 
file for _real_ incoming mails though. I use mbox.

Perhaps if I could get Mutt to check for 'Received:' headers to fire up the 
new email notification... Fcc:'s lack of such headers...

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
I want to know God's thoughts, the rest are details.




smime.p7s
Description: application/pkcs7-signature


Re: Fcc and New Messages

2002-03-18 Thread David T-G

David --

...and then David Collantes said...
% 
% On 03-18-2002 at 14:32 EST, David T-G [EMAIL PROTECTED] wrote:
% 
%  % I am getting a new message flag on the Fcc: mailbox when I email someone. Is 
...
%  You could quit watching the fcc mailbox since you're the only who delivers
%  there ... aren't you?
% 
% Well, not quite. I sort incoming mails with procmail to the appropiated file

That makes sense.


% too.  My routine is, I email someone, I Fcc to that someone _own_ file. I
% receive email into that someone _own_ file as well. So, when I Fcc, it gets 

Ah.  I get it.  I let mail from people come into my mailbox (ie !) 
and mail from lists go into special folders (eg =F.mutt), so my fcc
to the person's folder (eg =davidtg) or the mailing list's folder 
(eg =mutt-users) doesn't collide.


% me new email notification, which is partially true, because the file got 
% changed, but it is my own outgoing mail. I need notification on the same 
% file for _real_ incoming mails though. I use mbox.

Yeah.  Good luck :-)


% 
% Perhaps if I could get Mutt to check for 'Received:' headers to fire up the 
% new email notification... Fcc:'s lack of such headers...

Since mutt doesn't look inside but only looks at timestamps you're pretty
much out of luck there.  If you want to keep something that looks fairly
similar, all I can whip up at the moment is to fcc into =archive/user and
then you get to periodically move things from =user to =archive/user and
bring them together as you keep your working mailbox pruned...  Not great
if you plan to go back to your own message, say to reply to yourself, but
at least you'd get rid of the timestamp problem.

A other option, I suppose, would be to quit using an fcc at all and use
a sendmail wrapper to write the copy and then update the access time
so that mutt doesn't see it -- but then what happens if new mail is
coming in at the same time (assuming you have locking also worked out,
which ain't too tough) and your access times match to the second?


% 
% Cheers,
% 
% -- 
% David Collantes - http://www.bus.ucf.edu/david/
% College of Business Administration, University of Central Florida
% I want to know God's thoughts, the rest are details.
% 


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!




msg25689/pgp0.pgp
Description: PGP signature


x-pkcs7-signature? (was Fcc and New Messages)

2002-03-18 Thread Christopher Swingley

On the message from David Collantes, I noticed the following attachment
in mutt:

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Encoding: base64, Size:
2.7K --]

A brief search on Google identified this as an SMIME attachment.
Is this something akin to a GPG signature?  Is there some package I
need to install on my system (Debian GNU/Linux) to allow me to verify
his email message in the same way as GPG?

What's the deal?

Thanks,

Chris
-- 
Christopher S. Swingley   phone: 907-474-2689
Computer Systems Manager  email: [EMAIL PROTECTED]
IARC -- Frontier Program  GPG and PGP keys at my web page:
University of Alaska Fairbankswww.frontier.iarc.uaf.edu/~cswingle



Re: x-pkcs7-signature? (was Fcc and New Messages)

2002-03-18 Thread Will Yardley

Christopher Swingley wrote:

 A brief search on Google identified this as an SMIME attachment.
 Is this something akin to a GPG signature?  Is there some package
 I need to install on my system (Debian GNU/Linux) to allow me to
 verify his email message in the same way as GPG?

there are s/mime patches for 1.3.x; the 1.5.x (cvs) version has builtin
s/mime support.

you might find this useful:
http://elmy.myip.org/mutt/smime.html

(there are some links here which you will probably also want to read).

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




compile problems

2002-03-18 Thread Eduardo Gargiulo

Hi all.

Is this the right list to make questions about compile new versions of
mutt? if not, where can i find ansewrs about it?

~ejg



msg25692/pgp0.pgp
Description: PGP signature


Mutt lies about PGP/GPG signature verification result

2002-03-18 Thread Michal Kochanowicz

Hi

My colegue came across some problem with mutt/GPG/PGP cooperation. It
seem that for every _encrypted_ and encrypted/signed file mutt displays
in status line information that signature could not be verified. And it
displays it despite of that in the message area one can see that message
is OK.
-- 
--= Michal [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!



Re: Fcc and New Messages

2002-03-18 Thread Nicolas Rachinsky

* David Collantes [EMAIL PROTECTED] [2002-03-18 14:20:20 -0500]:
 I am getting a new message flag on the Fcc: mailbox when I email someone. Is 
 there any way to stop that from happening?

IIRC this won't happen if your Fcc Mailbox is a Maildir.

Nicolas



Re: Fcc and New Messages

2002-03-18 Thread David Collantes

On 03-18-2002 at 16:03 EST, Nicolas Rachinsky [EMAIL PROTECTED] wrote:

 * David Collantes [EMAIL PROTECTED] [2002-03-18 14:20:20 -0500]:
  I am getting a new message flag on the Fcc: mailbox when I email someone. Is 
  there any way to stop that from happening?
 
 IIRC this won't happen if your Fcc Mailbox is a Maildir.

Aha! I switched back to mbox from Maildir, because of speed issues... I 
guess I should consider coming back to it again... Thanks!

Cheers,

-- 
David Collantes - http://www.bus.ucf.edu/david/
College of Business Administration, University of Central Florida
The hardest thing in the world to understand is the income tax.




smime.p7s
Description: application/pkcs7-signature


Re: Mutt lies about PGP/GPG signature verification result

2002-03-18 Thread Justin R. Miller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Said Michal Kochanowicz on Mon, Mar 18, 2002 at 10:18:34PM +0100:

 My colegue came across some problem with mutt/GPG/PGP cooperation. It
 seem that for every _encrypted_ and encrypted/signed file mutt
 displays in status line information that signature could not be
 verified. And it displays it despite of that in the message area one
 can see that message is OK.

Have a look at $pgp_good_sign.  

- -- 
[!] Justin R. Miller [EMAIL PROTECTED]
PGP 0xC9C40C31 -=- http://codesorcery.net

http://www.gnu.org/philosophy/amazon.html

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

iD8DBQE8lmXz94d6K8nEDDERAul3AKCBlsV91FljDsb/v8uYb2yfVi2wcQCcC+13
XNEfk0wxZw+vduVvg8f99LY=
=YY86
-END PGP SIGNATURE-



Re: x-pkcs7-signature? (was Fcc and New Messages)

2002-03-18 Thread Shawn McMahon

begin  quoting what Christopher Swingley said on Mon, Mar 18, 2002 at 11:33:21AM -0900:
 
 A brief search on Google identified this as an SMIME attachment.
 Is this something akin to a GPG signature?  Is there some package I

Sounds like it's time for a less-brief search on Google.




msg25697/pgp0.pgp
Description: PGP signature


compressed folders and Maildir

2002-03-18 Thread Alexander Skwar

Hi!

I'm using Maildir as my default mbox type and also want to save old
messages in my archive in mbox format.  To do this, I'm using the
compressed folders patch, and when I was still using mbox, this worked
fine.

However, when mbox_type is set to Maildir, saving to .bz2 files won't
work.  The messages simply aren't appended to the .bz2 file.  Setting
mbox_type to mbox allows me to save the messages.

Is there a way to also execute some mutt commands in the
save-hook/append-hook?

Thanks,

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



UTF-8 (multibyte) octals

2002-03-18 Thread Nadim Shaikli

I recently downloaded mutt-1.3.28i hoping to play with the utf-8 support;
I'm having a few problems in this area, so bare with me - here's what I
did and what's happening.

Some background info,

  uname -a  : SunOS max 5.7 Generic_106541-08 sun4u
  gcc -version  : 2.95.2

  % ./configure --enable-locales-fix --without-wc-funcs
  % make; make install

I then started mutt and mailed myself something - I then modified the
title of the mail as well as the body of the message (in the mbox file)
and inserted a few UTF-8 characters (this is in a UTF-8 enabled xterm).
I also modified the Content-Type header to look as follows,

  Content-Type: text/plain; charset=utf-8

I then did setenv LC_CTYPE en_US.UTF-8 and then fired-off mutt again
in that same multi-byte enabled xterm to see if the title and the body
would include the multibyte glyphs and instead mostly octals (a few
correct glyphs showed-up by the majority of them were octals).  If I
'cat' the mbox file, all the UTF-8 glyphs are shown properly.

What should I do (the two configure options noted in INSTALL are already
being included) in order to get mutt to display the glyphs properly and
not as octals ?

Much thanks...

 - Nadim


__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/



account-hook

2002-03-18 Thread Johan Ekh

Hello!
I have several pop-accounts and I try to retrieve my mails by using
account-hook as indicated below.

account-hook . 'unset pop_user; unset pop_pass'
account-hook pop://mymailserver/ 'set pop_user=myusername 
pop_pass=mypassword'

Mutt gives me the following error account-hook: unknown command.

Any ideas? I use SuSE7.2 and my Mutt installation is the standard rpm that
comes with the distribution.

Best regards,

Johan Ekh






Re: Mutt lies about PGP/GPG signature verification result

2002-03-18 Thread Michal Kochanowicz

On Mon, Mar 18, 2002 at 05:10:59PM -0500, Justin R. Miller wrote:
  My colegue came across some problem with mutt/GPG/PGP cooperation. It
  seem that for every _encrypted_ and encrypted/signed file mutt
  displays in status line information that signature could not be
  verified. And it displays it despite of that in the message area one
  can see that message is OK.
 Have a look at $pgp_good_sign.  
It's not defined. Please note that _mutt_ says that signature is _not_
verified, while _gpg_ says it's _OK_. Also please note that mutt
displays this message even for emails which are encrypted, _not_ signed.
-- 
--= Michal [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!




Please confirm your message

2002-03-18 Thread David Collantes

Your e-mail message with the subject of:

  None

is being held because your address was not recognized.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's Reply feature.

  [EMAIL PROTECTED]

This confirmation verifies that your message is legitimate and not
junk-mail. If not confirmation is received within three (3) days,
your email will be deleted and it will not reach my inbox.

Cheers,

-- 
David Collantes


--- Enclosed is a copy of your message headers.

Return-Path: [EMAIL PROTECTED]
Received: from me (IDENT:[EMAIL PROTECTED] [132.170.121.8])
by atlantis.bus.ucf.edu (8.11.6/8.9.3) with SMTP id g2J2ZKs11853
for [EMAIL PROTECTED]; Mon, 18 Mar 2002 21:35:30 -0500
Date: Mon, 18 Mar 2002 21:35:30 -0500
From: [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
X-TMDA-Recipient: [EMAIL PROTECTED]




Re: Mutt lies about PGP/GPG signature verification result

2002-03-18 Thread Charles Curley

On Mon, Mar 18, 2002 at 10:18:34PM +0100, Michal Kochanowicz muttered:
 Hi
 
 My colegue came across some problem with mutt/GPG/PGP cooperation. It
 seem that for every _encrypted_ and encrypted/signed file mutt displays
 in status line information that signature could not be verified. And it
 displays it despite of that in the message area one can see that message
 is OK.

I suspect that mutt and gpg/pgp are doing everything right but that
you are misinterpreting the results. Have you and your colleague read
up in the The GNU Privacy Handbook (http://www.gnupg.org/docs.html)
about validating public keys?

-- 

Charles Curley  /\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or web pages?X No HTML/RTF in email
http://w3.trib.com/~ccurley / \No M$ Word docs in email



msg25703/pgp0.pgp
Description: PGP signature


Defanged HTML headers [WAS: Re: [Announce] Mutt 1.3.28 (BETA) is out.]

2002-03-18 Thread John Buttery

* Carl B. Constantine [EMAIL PROTECTED] [2002-03-18 08:43:58 -0800]:
all I get at this page is the following:

HEADDEFANGED_META HTTP-EQUIV=REFRESH CONTENT=0 
URL=http://cedricduval.free.fr/mutt/;/HEAD

that is displayed in NS 6.2.1 (solaris).

  You have a proxy server that is defanging tags for you (to protect
from malicious META headers, Javascript, yadda yadda).  You need to
remove the DEFANGED_ so it just says ...META ... and it will
redirect properly.
  Or you could just hit that URL it lists there directly and skip the
redirection altogether.  :)

-- 

 John Buttery
 (Web page temporarily unavailable)




msg25704/pgp0.pgp
Description: PGP signature