ignoring backup-inbox in !mailboxes watch

2001-02-06 Thread Jason Helfman

I am using Procmail to copy all incoming messages to a mbox file called
backup-inbox, however I don't want it to be watched for incoming mail in
my mailboxes clarification. Is their a way to accomplish this via
command line in my mutt settings?

mailboxes ! `echo $HOME/Mail/*`


-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: ignoring backup-inbox in !mailboxes watch

2001-02-06 Thread Conor Daly

On Tue, Feb 06, 2001 at 12:33:08AM -0800 or so it is rumoured hereabouts, 
Jason Helfman thought:
 I am using Procmail to copy all incoming messages to a mbox file called
 backup-inbox, however I don't want it to be watched for incoming mail in
 my mailboxes clarification. Is their a way to accomplish this via
 command line in my mutt settings?
 
 mailboxes ! `echo $HOME/Mail/*`

mailboxes ! `echo $HOME/Mail/* | grep -v backup-inbox`
-- 
Conor Daly [EMAIL PROTECTED]

Domestic Sysadmin :-)
-
faenor.cod.ie
 10:34am  up 105 days, 17:02,  0 users,  load average: 0.08, 0.02, 0.01

Hobbiton.cod.ie
 10:33am  up 11 days, 22 min,  1 user,  load average: 0.01, 0.01, 0.00



Re: ignoring backup-inbox in !mailboxes watch

2001-02-06 Thread Abhijit Menon-Sen

[EMAIL PROTECTED] (2001-02-06 10:34:04):

 mailboxes ! `echo $HOME/Mail/* | grep -v backup-inbox`

grep -v excludes lines, not words.

$ echo foo bar | grep -v foo
$ 

Try:

`echo $HOME/Mail/* | sed "s.$HOME/Mail/backup-inbox .."`

- ams



Re: ignoring backup-inbox in !mailboxes watch

2001-02-06 Thread darren chamberlain

Jason Helfman ([EMAIL PROTECTED]) said something to this effect on 02/06/2001:
 I am using Procmail to copy all incoming messages to a mbox file called
 backup-inbox, however I don't want it to be watched for incoming mail in
 my mailboxes clarification. Is their a way to accomplish this via
 command line in my mutt settings?
 
 mailboxes ! `echo $HOME/Mail/*`

grep -v will do it, but not with echo. Try:

mailboxes ! `ls $HOME/Mail/* | grep -v backup-inbox`

(darren)

-- 
Every program has at least one bug, and at least one line of code that can
be removed.  Therefore, by induction, every program can be reduced to one
line of code that doesn't work.



Re: manually check pgp sig?

2001-02-06 Thread Joe Philipps

On Mon, Feb 05, 2001 at 09:46:27AM -0500, Nollaig MacKenzie wrote:

On 2001.02.05 08:34:45, you,
 the extraordinary smund Skjveland, opined:

  I don't like to automatically check signatures on message opens,
  but I'd like to be able to do it manually, yet I can't find a
  command to do this.
  
  I'm not talking about setting pgp_verify_sig but rather a command
  that I can issue to do this at any time while viewing the message.
 
 Press "|" (pipe to command) and type "gpg --verify"?
 


Curiously, this gives a different result from the check
done by Mutt's invocation of GPG;

Mutt gets:

gpg: Signature made Mon Feb  5 02:34:45 2001 EST using DSA key ID 54B975CE
gpg: Good signature from "smund Skjveland [EMAIL PROTECTED]"
gpg: aka "smund Skjveland [EMAIL PROTECTED]"
gpg: aka "smund Skjveland [EMAIL PROTECTED]"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.

Piping gets:

gpg: Signature made Mon Feb  5 02:34:45 2001 EST using DSA key ID 54B975CE
gpg: BAD signature from "smund Skjveland [EMAIL PROTECTED]"


Well, maybe not so curious; gpg-2comp does do some work

By default, Mutt makes the body of a signed email quoted-printable, so
the contents will not be equivalent.  If you check the raw msg w/ GPG,
it will be different than checking the decoded message.  I'm not 100%
sure, but I think that's why the signature will check OK w/ Mutt's
functions, but fail on piping the msg into gpg --verify.

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Re: ignoring backup-inbox in !mailboxes watch

2001-02-06 Thread Joe Philipps

On Tue, Feb 06, 2001 at 12:33:08AM -0800, Jason Helfman wrote:
I am using Procmail to copy all incoming messages to a mbox file called
backup-inbox, however I don't want it to be watched for incoming mail in
my mailboxes clarification. Is their a way to accomplish this via
command line in my mutt settings?

mailboxes ! `echo $HOME/Mail/*`

1.) Instead of using echo, you might try using ls -1 or find as
  appropriate (dunno...I use mbox format)

2.) pipe that into grep -v

For example:

find $HOME/Mail -type f -print | egrep -v '(notbox1|notbox2|backup-inbox)'

Q:...for those of you who use maildir...would you ever have
subdirectories in $HOME/Mail?

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


creating Mutt folder for sent mail

2001-02-06 Thread sam rosenfeld

I must have overlooked some line in either the mutt manual or .muttrc (or both) that 
tells me how to create a folder for sent mail.  Ideally all my sent mail would 
automatically be saved in that folder.
Could someone provide a reference?

thanks,

sam



Re: creating Mutt folder for sent mail

2001-02-06 Thread Suresh Ramasubramanian

sam rosenfeld proclaimed on mutt-users that: 

 I must have overlooked some line in either the mutt manual or .muttrc (or
 both) that tells me how to create a folder for sent mail.  Ideally all my
 sent mail would automatically be saved in that folder.
 Could someone provide a reference?

set record=+outbox  # default location to save outgoing mail

--suresh

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: creating Mutt folder for sent mail

2001-02-06 Thread Frank Naumann

Hello Sam,
On Tue, Feb 06, 2001 at 10:51:13AM -0500, sam rosenfeld wrote:
 I must have overlooked some line in either the mutt manual or 
 .muttrc (or both) that tells me how to create a folder for sent 
 mail.  Ideally all my sent mail would automatically be saved in 
 that folder.
 Could someone provide a reference?

try this in your .muttrc

# Copy my outgoing Messages to a Mailbox
set record=+MAILBOXNAME

Greetings,
Frank

-- 
"The Constitution only gives people the right to pursue 
happiness. You have to catch it yourself."
--Ben Franklin



Re: Can you (.*) -- $1 with mutt?

2001-02-06 Thread Jeff Abrahamson

On Sun, Feb 04, 2001 at 10:24:40PM +1100, Jeff Waugh wrote:
 Hi all,
 
 In an effort to fix up my catastrophic mail overload, I'm trying out a few
 things to make life easier. One is to have my list email delivered to
 IN.list email files, and save to list archive files.
 
 The annoying way would be to set up folder-hooks, like so:
 
   folder-hook IN\.list "save-hook .* =list"
 
 I'd have to do that for *every* list... Ugh! (I'm sure many of you
 understand.) I'd like to do something like this (only make it work):
 
   folder-hook IN\.(.*) "save-hook .* =$1"
 
 Common regexp matching, etc. So, is this remotely possible?

If you do perl, you might want to look at Mail::Audit.

   http://search.cpan.org/search?dist=Mail-Audit
   http://search.cpan.org/doc/SIMON/Mail-Audit-1.7/Audit.pm

It's the perl idea of procmail. If you think in perl, it's
substantially easier to deal with than procmail (and more
flexible).

-- 
 Jeff

 Jeff Abrahamson  http://www.purple.com/jeff/





Re: your mail

2001-02-06 Thread Waldemar Brodkorb

On Tue, Feb 06, 2001 at 07:06:30AM +0530, Suresh Ramasubramanian wrote:
 On Tue, Feb 06, 2001 at 02:24:16AM +0100, Waldemar Brodkorb typed:
 
  On Mon, Feb 05, 2001 at 04:43:12PM +0100, Daniel Kollar wrote:
   Normally, mutt encrypts an email for all persons mentioned in the
   "To:" header automatically.
  
  and although in the Cc: header.
  But what todo if there's a small mailinglist
  with 3-5 persons, for example 
  [EMAIL PROTECTED] .
  How I manage this?
  
  An alias in sendmail, perhaps?  Never tried it :)
  
  And anyway, encrypting mail sent to a list is not exactly a very good idea
  (unless there's a common "list key" given only to list members, for a small
  list it'd work)

Why not, there at the moment 3 friends of me, and we want
to dicuss about a project secure. 

O.K. the solution is to create an
alias group name1 name2 name3 

That works.

Thanks Daniel Kollar.

-- 
MfG

Waldemar Brodkorb

Every Generation got its own disease - Fury in the Slaughterhause 1993
and we got Aquired Immunodeficiency Syndrome, 
Bovine Spongiform Encephalopathy and Microsoft Windows 2000 Professional 



Re: manually check pgp sig?

2001-02-06 Thread David Ellement

On 010205, at 09:46:27, Nollaig MacKenzie wrote
 On 2001.02.05 08:34:45, you,
  the extraordinary smund Skjveland, opined:
   I don't like to automatically check signatures on message opens,
   but I'd like to be able to do it manually, yet I can't find a
   command to do this.
   
   I'm not talking about setting pgp_verify_sig but rather a command
   that I can issue to do this at any time while viewing the message.
  
  Press "|" (pipe to command) and type "gpg --verify"?
 
 Curiously, this gives a different result from the check
 done by Mutt's invocation of GPG;

See the attached message from Thomas Roessler for an explanation of
PGP/MIME.  Piping doesn't include the MIME headers, so the signature
won't be valid.

-- 
David Ellement



On 2000-10-03 01:45:02 +0300, Eugene Paskevich wrote:

   Can you explain what do you mean? app/pgp is Content-Type;
   but what is PGP/MIME? And is it the way decide my problem?

PGP/MIME is what mutt uses to send pgp-encrypted and -signed
messages.  The idea is basically this: You take the message, then
MIME-encode it entirely.  The result looks like this (for example):

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

This attachment contains umlauts: =E4=F6=FC=DF

Now, this entire MIME body part is encrypted/signed, and eventually
put into some more MIME sugar.  Here, PGP only ever touches us-ascii
text (with which it deals nicely); the actual character set
conversions are left to the software which interprets the inner MIME
layers.

-- 
Thomas Roessler [EMAIL PROTECTED]





Color set to bold/bright on exit

2001-02-06 Thread Gupta G

Hi

Somehow the default color when I exit mutt  is set to
brightblack (ie
bold black) on white background.  When I enter mutt,
the color is 
normal black on white.  I use rxvt.

Is there a way to get back the normal black on white
!?

Thanks

__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



Re: ignoring backup-inbox in !mailboxes watch

2001-02-06 Thread Michael Tatge

Joe Philipps muttered:
 Q:...for those of you who use maildir...would you ever have
 subdirectories in $HOME/Mail?

I have, $HOME/Mail/mailinglists/...
But I list mailboxes manualy.

HTH,

Michael
-- 
Why use Windows, since there is a door?
(By [EMAIL PROTECTED], Andre Fachat)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Color set to bold/bright on exit

2001-02-06 Thread Thomas Dickey

On Tue, Feb 06, 2001 at 09:03:27AM -0800, Gupta G wrote:
 Hi
 
 Somehow the default color when I exit mutt  is set to
 brightblack (ie
 bold black) on white background.  When I enter mutt,
 the color is 
 normal black on white.  I use rxvt.

is that slang or ncurses.
and what terminal description are you using (e.g., $TERM)
 
 Is there a way to get back the normal black on white
 !?
 
 Thanks
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great prices.
 http://auctions.yahoo.com/

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com



Re: folder-hook statusbar

2001-02-06 Thread Andreas Str|m

[Lee Teague]

 here's the problem - I've got several accounts set up through
 fetchmail/procmail going to different folders.  I've got
 mutt set up to switch between the folders with keybinds, and
 folder-hooks to change the from: header, etc. based on the name
 of the folder i'm in, which of course corresponds to the account.

 Here's the problem:  I want the statusbar_format to change based
 on the folder-hook, too.  really all i want is to display what
 account i'm using based on the folder, so however would be the
 best way to do that...

I have noticed that you can't change all setting with folder-hooks
(which would have made my day a little easier).

For things I really need, I have:

- defined a macro for the command i want
  (e.g: macro index z :'set attribution="[%n to [EMAIL PROTECTED]]"\n'^M)   

- added a folder-hook to execute the macro
  (e.g: folder-hook pcadm push z)

Would have preferred to do it with the hook directly, 
but this works :-)

Why can't send-hooks and folder-hooks set any variable?
--
Greetings,
Andreas Strm


P.S. Your editor doesn't wrap your lines. Every paragraph is one line!

A tip regarding vim as an editor with mutt -- I have this to limit my 
lines, and to fix long lines when I reply:   

.muttrc: 
set editor="vim -u .muttrc.d/.vimrc -s .muttrc.d/vimstart"

.muttrc.d/.vimrc:
set tw=70
map  !}fmt -w 68 -p ""  

.muttrc.d/vimstart is just a script to put me in the right place in
the message (right above the sig). I looks like this:
Gkki

D.S.




Re: Color set to bold/bright on exit

2001-02-06 Thread Gupta G

rxvt is a terminal emulator
echo $TERM returns xterm

Anyway, a friend gave me terminfo file for rxvt and
after that I was able to set TERM to rxvt and now the
exit color is correct ... so it must have been
something to do with the terminfo/TERM var.

--- Thomas Dickey [EMAIL PROTECTED] wrote:
 On Tue, Feb 06, 2001 at 09:03:27AM -0800, Gupta G
 wrote:
  Hi
  
  Somehow the default color when I exit mutt  is set
 to
  brightblack (ie
  bold black) on white background.  When I enter
 mutt,
  the color is 
  normal black on white.  I use rxvt.
 
 is that slang or ncurses.
 and what terminal description are you using (e.g.,
 $TERM)
  
  Is there a way to get back the normal black on
 white
  !?
  
  Thanks
  
  __
  Do You Yahoo!?
  Yahoo! Auctions - Buy the things you want at great
 prices.
  http://auctions.yahoo.com/
 
 -- 
 Thomas E. Dickey [EMAIL PROTECTED]
 http://dickey.his.com
 ftp://dickey.his.com


__
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/



autoview HTML question

2001-02-06 Thread Ken Weingold

What is it that mutt uses to tell that an email is in HTML?  I set
autoview to launch lynx to view HTML, and all of a sudden I am seeing
a lot more emails as html.  I commented out autoview in my muttrc and
looked at one of them again and it was normal, in plain text.  Here
are the headers I think ar relative:



Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_170611416==_.ALT"
Status: RO
Content-Length: 361
Lines: 17

Content-Type: text/plain; charset="us-ascii"




My .mailcap has:

text/html;  lynx -dump %s; copiousoutput; nametemplate=%s.html


And my .muttrc has:  auto_view text/html



-Ken



Re: autoview HTML question

2001-02-06 Thread Gary Johnson

On Wed, Feb 07, 2001 at 12:14:53AM -0500, Ken Weingold wrote:
 What is it that mutt uses to tell that an email is in HTML?  I set
 autoview to launch lynx to view HTML, and all of a sudden I am seeing
 a lot more emails as html.  I commented out autoview in my muttrc and
 looked at one of them again and it was normal, in plain text.  Here
 are the headers I think ar relative:
 
 
 
 Mime-Version: 1.0
 Content-Type: multipart/alternative;
 boundary="=_170611416==_.ALT"
 Status: RO
 Content-Length: 361
 Lines: 17
 
 Content-Type: text/plain; charset="us-ascii"
 
 

You'll note that the header says "multipart/alternative".  That means
that the message contains multiple MIME parts, and that each part is an
alternative representation of the same content.  If you pipe the message
to a pager such as 'less' or 'more', you will be able to see all the
parts.  Somewhere in there is another part with Content-Type: text/html.

Most mailers, including mutt, will select just one of the multiple parts
to display based on the Content-Types in the message, the abilities of
the mailer, and the preferences of the user.  If you give mutt the
ability to display HTML content in-line by setting "auto_view text/html"
and by putting an appropriate "text/html; ..."  line in your mailcap, it
will apparently display the text/html part in preference to the
text/plain part.  You can control this behavior with the
alternative_order list.

Gary

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



Re: autoview HTML question

2001-02-06 Thread G.Embery

On Wed, Feb 07, 2001 at 12:14:53AM -0500, Ken Weingold wrote:
 What is it that mutt uses to tell that an email is in HTML?  I set
 autoview to launch lynx to view HTML, and all of a sudden I am seeing
 a lot more emails as html.

If email provides text/plain and text/html (which is often
true of some mail agents), then it seems that once you have
specified "autoview text/html" the html becomes the preferred
attachment to look at.

see section 5.5. :--  MIME Multipart/Alternative in help file
`manual.txt' on "alternative_order".  I just used the example
as given there  viz:-
alternative_order 
text/enriched text/plain text/html application/postscript image
And so text/plain is selected ahead of text/html... 

Cheers,
Gerry.

-- 
Disclaimer:  These are my opinions, not those of my employer
Gerald K. Embery ;  e-mail: [EMAIL PROTECTED]
Bureau of Meteorology Research Centre,  
Melbourne, Australia ;   http://www.bom.gov.au/  bmrc/medr/gke.html