Re: folder hook: delete old messages [solved]

2007-11-18 Thread Kevin Coyner


On Sun, Nov 11, 2007 at 07:56:00PM -0800, Michael Elkins wrote..

 On Sun, Nov 11, 2007 at 06:52:12PM -0500, Kevin Coyner wrote:
  For the longest time I successfully used a folder hook like
  this:
  
  folder-hook =mutt-users push 'delete-pattern~r5d!~Fenter'
 
 Have you verified that the macro works properly if you perform it
 manually?


Got it working now ... here's what works:

folder-hook mutt-users 'push delete-pattern~r5d!~Fenter'

Note small differences in the quoting.

Also note that on some of my folders I had something like:

folder-hook list/abc 'push delete-pattern~r5d!~Fenter'

but to get it to work I had to change the slash to a period in the
folder name like this:

folder-hook list.abc 'push delete-pattern~r5d!~Fenter'

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


folder hook: delete old messages

2007-11-11 Thread Kevin Coyner

For the longest time I successfully used a folder hook like this:

folder-hook =mutt-users push 'delete-pattern~r5d!~Fenter'

so that any time I entered the mutt-users folder, messages older
than 5 days - that I had not marked as important - would be deleted.

I'm not sure when it stopped working, but now this folder hook does
not delete anything.

Any thoughts on what might be happening?

Using Mutt 1.5.13 connecting to an Imap server.

Thanks.

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


folder hook: delete older than 5 days

2007-10-19 Thread Kevin Coyner

For the longest time I successfully used a folder hook like this:

folder-hook =mutt-users push 'delete-pattern~r5d!~Fenter'

so that any time I entered the mutt-users folder, messages older
than 5 days, that I had not marked as important, would be deleted.

I'm not sure when it stopped working, but now this folder hook does
not delete anything.

Any thoughts on what might be happening?

Using Mutt 1.5.13 connecting to an Imap server.

Thanks.

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


folder_format %N not working after upgrade to 1.5.16

2007-07-06 Thread Kevin Coyner

I'm running a Debian unstable system and during a recent upgrade
went from mutt 1.5.15 to 1.5.16.

During this upgrade I lost the %N sequence in the file browser
display. Previously it would show the number of (N)ew messages in
each folder. Now it just shows zeros. Nothing has changed in my
muttrc file. Here is the line I was using for folder_format:

set folder_format = %t %3C .. %d | %3N | %f 

I'm using imap but there have been no problems with it.

When I go into folders, there definitely are (N)ew messages, so it's
not like they don't exist. But for some reason, they are not showing
up in the file browser display in 1.5.16.

Any one see this happen before?

Thanks
Kevin

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


Re: connecting to imap

2007-07-04 Thread Kevin Coyner


On Mon, Jun 25, 2007 at 02:17:14AM +0200, mess-mate wrote..

 i've setted-up a mail server with postfix/courier-imap/sasl/mysql
 http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch
 
 but can't connect to the mailboxes.
 ( path not found)
 Here is my layout:
 /home/vmail/
   mydomain/
user1/
 
 with an ... imap://localhost/[EMAIL PROTECTED]/INBOX
 
 Any body could put me on the right way ?

Here are my relevant settings for a set-up similar to yours:

set spoolfile=imaps://mydomain.com/INBOX
set record=imaps://mydomain.com/INBOX.sent
set postponed=imaps://mydomain.com/INBOX.postponed
set mbox = imaps://mydomain.com/INBOX
set folder=imaps://mydomain.com/INBOX
set imap_delim_chars = /.
set imap_list_subscribed = no
set imap_check_subscribed= yes
set imap_user = [EMAIL PROTECTED]
set imap_pass = xxx
set imap_passive = yes
set imap_peek = yes
set imap_servernoise = yes
set imap_home_namespace = imaps://mydomain.com
set imap_headers = 
set imap_idle = no

Kevin

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


moving through mailboxes with new mail

2007-04-29 Thread Kevin Coyner

I've been a long time mutt user but today decided I'd switch from using mutt
via pop3 to using mutt via imap on a server that I maintain.

Under my pop3 setup, I used to hit 'c' from the index and mutt would take me
to the next mailbox in my 'mailboxes' list that had new (unseen) mail in it. I
could keep hitting 'c' and go through all of my mailboxes quickly. Mail was
put into these mailboxes directly by procmail recipes.

Under my new imap setup, new mail is put into various mailboxes via the
program imapfilter instead of procmail.

Under this new imap setup, I've got most things working except for this 'c'
functionality. The first time I hit it, it takes me to the first mailbox in my
mailboxes list that has new mail. The second time I hit it, it goes to the
next mailbox with new mail. But the third time I hit it, it goes back to the
first mailbox that I had just come from. Additional hits of the 'c' key just
keeps taking me back and forth between the first two mailboxes.

Any thoughts on what I'm missing?

I've RTM and tried various options for:

imap_check_subscribed
imap_idle
imap_list_subscribed
imap_passive
imap_peek
using 'mailboxes' and not using it

Thanks
Kevin

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


Re: How to specify multiple alternates

2007-04-29 Thread Kevin Coyner


On Sun, Apr 29, 2007 at 08:44:22PM +0100, Chris G wrote..

 The manual just says:-
 
 set alternates=regular expression
 
 How does one specify a collection of different addresses?  Is it just
 address1|address2|address3 ?

Like this:

alternates [EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]


-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


Re: moving through mailboxes with new mail

2007-04-29 Thread Kevin Coyner


On Sun, Apr 29, 2007 at 03:42:06PM -0400, Kevin Coyner wrote..

 Under this new imap setup, I've got most things working except for
 this 'c' functionality. The first time I hit it, it takes me to
 the first mailbox in my mailboxes list that has new mail. The
 second time I hit it, it goes to the next mailbox with new mail.
 But the third time I hit it, it goes back to the first mailbox
 that I had just come from. Additional hits of the 'c' key just
 keeps taking me back and forth between the first two mailboxes.

One more observation:

mutt seems to be interpreting a status of 'O' (old) as new mail.
That's why it keeps going back to the same mailboxes as I only
glance at the index view in the mailbox and not the actual email
itself.

Thanks in advance for any pointers.

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


Re: mutt, spamcop, and vi: header weeding

2007-02-04 Thread Kevin Coyner


On Sat, Dec 23, 2006 at 08:36:26PM -0500, Peter Jay Salzman wrote..

 So here is the solution for vim + mutt + spamcop.  It works:
 
 set my_spamcop='Put Your Spamcop Submit Address Here'
 macro pager F :set noweed\nforward-message$my_spamcop\n:set weed\n
 send-hook . 'set signature=~/.sig'
 send-hook . unset mime_forward   # Set for spamcop
 send-hook $my_spamcop 'unset signature ; set mime_forward ; set 
 editor=/bin/true; push y'
 fcc-hook  $my_spamcop /dev/null
 
 Additionally, using display-toggle-weed works but the set weed/noweed is
 shorter and fits in 80 columns better.   :-)

The above works just fine for me, but on the spamcom.net site, I saw
the following for mutt:

macro index \cx :set autoedit=no fast_reply=yes \
editor=\/bin/true\\ntag-prefixforward-messagesubmit.xx \
[EMAIL PROTECTED]send-message:set autoedit=yes  \
fast_reply=no editor=\/usr/bin/editor\\n \
Forward mail to SpamCop

and have tried it but have been unsuccessful at making it work.
I've made sure it is one line and of course I'm using the proper
spamcop submit email address.  I also made sure that /usr/bin/editor
resolves to a real editor.

The error message I get back from spamcop is:

SpamCop could not find your spam message in this email: ...

Any thoughts on the above macro?
Has anyone a similar, working version?

Thanks
Kevin

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


Re: mutt, spamcop, and vi: header weeding

2007-02-04 Thread Kevin Coyner

On Sun, Feb 04, 2007 at 05:20:14PM -0600, Travis H. wrote..

 On Sun, Feb 04, 2007 at 04:49:46PM -0500, Kevin Coyner wrote:
  macro index \cx :set autoedit=no fast_reply=yes \
  editor=\/bin/true\\ntag-prefixforward-messagesubmit.xx \
  [EMAIL PROTECTED]send-message:set autoedit=yes  \
  fast_reply=no editor=\/usr/bin/editor\\n \
  Forward mail to SpamCop
  
  and have tried it but have been unsuccessful at making it work.
 
 Have you tried setting mime_forward?

That's what I needed.  Works great now.  Thanks.

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941


signature.asc
Description: Digital signature


mixmaster

2002-09-06 Thread Kevin Coyner


More out of curiosity than anything, does anyone know the status of
mixmaster and it's ability to work within mutt?

I've been using mutt on a Red Hat box, and just recently switched over
to Debian.  The default apt-get for mutt had mixmaster as a choice up
with the headers, so I started trying to figure it out.  

After many unsuccessful attempts, I went back and read the mutt archives
and found that getting it to work easily is very much version dependent.
Have there been any new developments, either on the mutt or mixmaster
side?

I wish the default Debian installation of Mutt didn't have mixmaster
compiled in, as I've already wasted too much time on this.  :-)

Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg30789/pgp0.pgp
Description: PGP signature


t-prot

2002-09-05 Thread Kevin Coyner


Anyone have any experience using t-prot?  I saw it in the Debian
archives, and it looks like an interesting filter for TOFU and unwanted
footers, etc.  

Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg30706/pgp0.pgp
Description: PGP signature


Re: spamassassin

2002-08-19 Thread Kevin Coyner



On Mon, Aug 19, 2002 at 11:37:26AM +0300, Jussi Ekholm wrote..

 
 Yes, I'm aware of this. But still, somehow I feel, that the original
 author didn't have this in his mind (correct me if I'm wrong, of
 course). Although, maybe I'm trying to be too besserwisser here and
 speculating things that I shouldn't be doing. 
 
 I'm just wondering if the original author really meant '-d' option, or
 something different. I just pointed it out (as did someone else, I


Oops.  Yes, I did mean '-r' and not '-d'.  I set my SP up directly with
the tips from http://codesorcery.net/docs/spamtricks.html.
Specifically .

2. Another trick is a combination of configurations that allows you to
both see whether something is listed in Vipul's Razor, (one of the tests
used in SpamAssassin) and to report it to Razor if it is not. To let you
know if it's already reported: 

message-hook ~h RAZOR unignore X-Spam-Status

If it's not reported (and you choose to), you may easily report the mail
with the keystroke S if you use this:

macro index S | spamassassin -r report message to Vipul's Razor 


 Just tryin' to help...


Thanks!  You've been very helpful to me.

Kevin


-- 
Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg30338/pgp0.pgp
Description: PGP signature


Re: spamassassin

2002-08-19 Thread Kevin Coyner



On Sun, Aug 18, 2002 at 06:00:11PM +0300, Jussi Ekholm wrote..
 
 I press 'S' on a spam, which adds the From-header to this file formail
 goes through everytime mail comes in, and if the address can be found
 from this file, the mail gets /dev/nulled. It also adds a
 blacklist_from foo@bar entry in ~/.spamassassin/user_prefs. And then
 it moves the mail to spam folder. 
 
 Here's the macro:
 
macro pager S |~/.mutt/addspam.shenters=spam\n
 
 And the 'addspam.sh' looks like this:
 
 [...]
 
 #!/bin/sh
 #
 # $Id: addspam.sh,v 1.5 2002/08/11 07:48:09 ekhowl Exp $
 
 SPAMASSASSINFILE=/home/ekhowl/.spamassassin/user_prefs
 SPAMMERSFILE=/home/ekhowl/.procmail/spammers


This looks like a pretty nifty solution.  I was going to give it a try,
but realized I don't know what you have for a recipe in
.procmail/spammers.  I'm not quite intuitive or advanced enough in this
stuff to guess the contents of .procmail/spammers, so would you mind
sharing?  I'd like to give your addspam script a try.

Many thanks, Kevin

 for x in `awk '{if ( $1 == From:) { for (x = 1 ; x = NF ;
 x++) { if ($x ~ /[^ ]*@[^ ]*/) { gsub(|, , $x) ; print $x } }
 }}'`
 do
 echo $x  $SPAMMERSFILE
 echo blacklist_from $x  $SPAMASSASSINFILE
 done
 
 [...]

-- 
Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg30339/pgp0.pgp
Description: PGP signature


spamassassin

2002-08-16 Thread Kevin Coyner


I recently installed Spamassassin and have been successfully using it
with Mutt and Procmail.  So far it's doing a great job of catching spam,
but the ocassional one does get through. 

When one does get through, I've been submitting it by hitting S in the
index, which pipes it to spamassassin -d.  But everytime I do this, I
get the following message at the bottom of Mutt:

mailcap entry for type audio/x-wav not found

followed by Press Any Key to Return (which I would expect).

Any idea why I might be getting the mailcap entry message?  Improperly
config'd mailcap?  Maybe, but why would it be looking for audio/x-wav
files?

Thanks in advance for any tips.

Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg30313/pgp0.pgp
Description: PGP signature


Re: Adressbook?

2002-06-14 Thread Kevin Coyner



On Fri, Jun 14, 2002 at 11:33:04PM +0200, Alexander Skwar wrote..
 Hi.
 
 As much as I like the power of mutt, as much do I also miss the lack of
 a proper adressbook for mutt.  However, since mutt simply rules ;), I'm
 sure that there are some great add-ons for mutt which provide a good
 adressbook.
 
 Which adressbook tools do you use with mutt?


I started using abook yesterday, so I can't really give a solid
evaluation yet.  But so far so good.  It's very easy to query for email
addresses from within mutt.  One thing it doesn't seem to have is an
ability to import csv files to build the DB.

Kevin

 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: 17 hours 9 minutes

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg29012/pgp0.pgp
Description: PGP signature


Re: Adressbook?

2002-06-14 Thread Kevin Coyner



On Fri, Jun 14, 2002 at 11:59:24PM +0200, Alexander Skwar wrote..
 So sprach Kevin Coyner am 2002-06-14 um 17:43:27 -0400 :
  I started using abook yesterday, so I can't really give a solid
 
 Thanks, will try it.
 
  addresses from within mutt.  One thing it doesn't seem to have is an
  ability to import csv files to build the DB.
 
 Hmm, no, that doesn't seem to be true.  From man abook of 0.4.17:
 
--convert   inputformatinputfileoutputformat
outputfile
   Converts   inputfileininputformatto
   outputfile in outputformat

Wow, missed that one.  I gave it a try after export my old KAddressbook
in csv format.  It worked, but dropped a lot of fields, including the
email address.  Anyway, thanks for pointing out the convert option. 
Kevin

 
   The following inputformats are supported:
   - abook abook native format
   - ldif ldif / Netscape addressbook
   - pine pine addressbook
   - csv comma separated values
 
 
 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: 17 hours 37 minutes

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg29023/pgp0.pgp
Description: PGP signature


Re: navigation questions from a newbie

2002-06-13 Thread Kevin Coyner



On Thu, Jun 13, 2002 at 11:19:34AM -0400, Brett Sanger wrote..
 Okay, just started using mutt, (previously used pine, decided to make the
 switch).  I've heard pretty much nothing but good things about mutt, so
 I'm assuming most of my issues can be resolved, I just don't know how.  I
 haven't used elm, so I can't import any knowledge from that.

A good way to start a .muttrc and get a handle on all the settings is to
go to http://mutt.netliberte.org/, where you'll find Muttrc builder,
which puts together a muttrc for you, complete with explanations.

HTH as it helped me get a good start.  Kevin




msg28977/pgp0.pgp
Description: PGP signature


signed email and OE

2002-06-12 Thread Kevin Coyner


Since I'm on this list and using mutt it's obviously a safe assumption
that MS products are not my first choice in software.  However, many of
my friends use these products, in particular Outlook Express.  

Recently I started GPG signing most of my emails, and have found that
the recipients using OE (with default settings) are not getting the
content of my emails.  It seems that OE not only removes the GPG
signature, but also strips out whatever text was in the body of my
email.

Is this just a fact of life in the world of MS, or is there a change I
can make on my end in my mutt settings to get around this OE
shortcoming?  Obviously I can set up send-hooks with and without the
signature, but this presumes I know beforehand what client the recipient
is using.  Is there another way?

Thanks
Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg28909/pgp0.pgp
Description: PGP signature


Re: signed email and OE

2002-06-12 Thread Kevin Coyner



 
 % that MS products are not my first choice in software.  However, many of
 % my friends use these products, in particular Outlook Express.  
 
 Friends don't let friends use Outlook :-)


LOL !

 
 % 
 % Recently I started GPG signing most of my emails, and have found that
 % the recipients using OE (with default settings) are not getting the
 % content of my emails.  It seems that OE not only removes the GPG
 % signature, but also strips out whatever text was in the body of my
 % email.
 
 Is the body really stripped or does it simply not open in Outhouse but
 instead appear as an attachment and have to be opened in a text editor
 or something similar?


It gets totally stripped. :(  It is possible to see the content if the
user goes into the blank message and then hits
File/Properties/Details/MessageSource, but then they're using OE, right,
so they are quite unlikely to do this.

 
 % 
 % Is this just a fact of life in the world of MS, or is there a change I
 
 We could say that and continue to prod them to change :-) but there is a
 workaround.  For 1.3.x and 1.4 you need Dale Woolridge's patch, found at
 woolridge.org(?) or at my 
 
   http://mutt.justpickone.org/mutt-build-cocktail/


I'll give it a try.  Thanks again.  Kevin



msg28911/pgp0.pgp
Description: PGP signature


urlview: console vs xterm

2002-06-10 Thread Kevin Coyner


When in console mode, I've got mutt working with urlview to bring up
lynx and display the selected page.  Works fine.

However, when I fire up X and launch mutt in an xterm, and then try to
view a link via urlview, I get nothing.  urlview just continues to
display the harvested links.  I'm trying to get urlview to launch Opera.
Note that I've edited my url_handler.sh (called by /usr/bin/screen) to
include the path to Opera, so that change has already been made.

Any suggestions?

Here's what I have for ~/.mailcap:

# Send html to a running opera by remote
text/html; opera -remote 'openURL(%s)' 

# If I'm not running Opera but am running X, start opera
text/html; opera %s  

# Else If use lynx to view it as text
text/html; lynx %s; nametemplate=%s.html

# Else use lynx to view via Autoview
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput

# Use enscript to print text in two columns to a page
text/*; more %s; print=enscript -2Gr %s

# Converts images to text using netpbm tools
image/*; (anytopnm %s|pnmscale -xysize 80 46|ppmtopgm|pgmtopbm\
   |pbmtoascii -1x2)21; copiousoutput

# Use gunzip to view tar files
application/x-tar-gz; gunzip -c %s|tar -tf -; copiousoutput


As always, thanks, Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg28807/pgp0.pgp
Description: PGP signature


Re: GnuPG - verify signatures

2002-06-10 Thread Kevin Coyner



On Mon, Jun 10, 2002 at 07:09:18AM -0500, David T-G wrote..
 Kevin, et al --
 
 % 
 % I'm using the new 1.0.7,
 
 OK.  If you've never used gpg before this then you're probably fine; if
 you're upgrading, there are some particular caveats.


New user.  Can't you tell?  I thought it would be rather obvious.  :-)

 
 % 
 %keyserver-options auto-key-retrieve
 % 
 % I had not added the *keyserver-options auto-key-retrieve* line.  Adding
 % it made the whole thing work in a snap!
 
 Funny how reading the docs can make everything right again ;-)


I've been reading so many docs/info/man's recently that I'm going
cross-eyed. Perhaps that's the problem - read too much and you miss
things!  Information overload.

 
 % 
 ...
 %  % Could someone please verify if the keyserver entry and syntax I'm using
 %  % is correct, and if not, then suggest a correct version?
 %  
 %  That looks good, but other possibilities include
 % 
 % Thanks for the thorough list of keyservers!
 
 Sure thing.  I got tired of hitting dead or empty keyservers and so I
 started taking notes every time I saw one mentioned.  I also run
 
   host -l pgp.net | grep wwwkeys | sed s/^/#/ | sort


I demonstrating more of my inexperience with this question, but the
command above didn't work for me.  I know that host should give me a
list of all machines in the zone pgp.net, and then you'll grep for
wwwkeys and send that to sed (lost here as haven't studied sed yet) and
then sort that result.  But when I run it from the CL, I get zip (no
errors, just the comm. prompt again).  What am I missing?  I checked my
/etc/resolv.conf and my entries there for DNS servers are o.k.


 every once in a while and throw it onto the end of my file so that I
 have a list of all of those, which is a start (and not a bad one, since I
 have seen even those in that circle not necessarily in sync with each
 other, and I think more than just a day out after a new key is uploaded,
 but it's been a long time since I've bothered to take note).


Thanks and HAND back to you.  Kevin




msg28816/pgp0.pgp
Description: PGP signature


GnuPG - verify signatures

2002-06-09 Thread Kevin Coyner


I've recently installed mutt and loving it.  Now I'm taking a stab at
getting my GnuPG key associated with mutt, verifying sigs, etc.

I've got it working such that I can send my signature and send
encrypted, but for some reason I can't verify the sigs of others.

Here's what I have in my .muttrc regarding PGP verify sig:

set pgp_verify_sig = yes#  auto verify incoming signed msgs

And in my ~/.gnupg/options I have:

keyserver search.keyserver.net

My gut feel is the the line I have in the 'options' file for keyserver
is what the problem is.  

Could someone please verify if the keyserver entry and syntax I'm using
is correct, and if not, then suggest a correct version?

Thanks
Kevin

-- 



Re: trash patch

2002-06-09 Thread Kevin Coyner



On Mon, Jun 10, 2002 at 12:05:22AM +0200, Cedric Duval wrote..
 Kevin Coyner [EMAIL PROTECTED] wrote:
  I thought I'd give the trash patch a try, but being inexperienced with
  command line patches, I've run into the following error, although I
  thought I had the right syntax 
 
  [kosuke@sumida mutt-1.4]$ patch -p1  patch-1.4.trash.txt
 
 The command is right...
 
  can't find file to patch at input line 4
  Perhaps you used the wrong -p or --strip option?
  The text leading up to this was:
  --
  |diff -pruN mutt-1.4.orig/commands.c mutt-1.4/commands.c
  |--- mutt-1.4.orig/commands.cWed Apr  3 12:54:19 2002
  |+++ mutt-1.4/commands.cSat Jun  1 23:42:05 2002
  --
 
 ...but the patch header seems corrupted. This should look like:
 
diff -pruN mutt-1.4.orig/commands.c mutt-1.4/commands.c
--- mutt-1.4.orig/commands.cWed Apr  3 12:54:19 2002
+++ mutt-1.4/commands.c Sat Jun  1 23:42:05 2002
 
 In your version, tabs are missing beetween the filenames and the dates.
 
 Where did you get it? Or, more important, how did you fetch it? Sure
 enough, a check of the PGP signature should fail.

I got it from http://cedricduval.free.fr/download/index.php3.  Went to
the trashfolder section, hit the download link, and then copied/pasted
it into a txt file.  Perhaps somewhere in that process it got corrupted.

 
  I've got the patch (patch-1.4.trash.txt) in the same directory as the
  rest of the source files of mutt.
 
 Ok.
 
  Any tips would be appreciated.
 
  % wget http://cedricduval.free.fr/download/mutt/patch-1.4.0.cd.edit_threads.9.2
  % wget 
http://cedricduval.free.fr/download/mutt/sign/patch-1.4.0.cd.edit_threads.9.2.asc
  % gpg --verify patch-1.4.0.cd.edit_threads.9.2.asc  cd mutt-1.4  \
patch -p1  ../patch-1.4.0.cd.edit_threads.9.2
 

O.k., this time got the patch via wget as per your suggestion.  Applying
the patch this time around got the job done.  

 -- 
 Cedric

Many thanks!
Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg28795/pgp0.pgp
Description: PGP signature


maildir vs mbox

2002-06-08 Thread Kevin Coyner


I don't want to start a religious war, but is there consensus opinion
as to whether mbox or Maildir is better?  I know mutt supports both
automatically, so it's probably a bit of a mute question, but mutt
also gives you the option of specifying which format new folders are
set up in, so I thought I'd ask.

Thanks
Kevin

-- 




trash patch

2002-06-08 Thread Kevin Coyner


I thought I'd give the trash patch a try, but being inexperienced with
command line patches, I've run into the following error, although I
thought I had the right syntax 

[kosuke@sumida mutt-1.4]$ patch -p1  patch-1.4.trash.txt
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|diff -pruN mutt-1.4.orig/commands.c mutt-1.4/commands.c
|--- mutt-1.4.orig/commands.cWed Apr  3 12:54:19 2002
|+++ mutt-1.4/commands.cSat Jun  1 23:42:05 2002
--
File to patch:

I've got the patch (patch-1.4.trash.txt) in the same directory as the
rest of the source files of mutt.

Any tips would be appreciated.

Thanks
Kevin
-- 



delete messages to trash - was 3 quick questions

2002-06-07 Thread Kevin Coyner

On Fri, Jun 07, 2002 at 08:18:37AM -0400, darren chamberlain wrote:
 * David T-G [EMAIL PROTECTED] [2002-06-06 16:31]:
  % 1.  Where do D (deleted) msgs go?  Is there an equivalent of
  % trash, or am I truly out of the disneyland GUI world now and
  % just like using rm on files, there's no going back.
  
  With the stock version, that's the way it is.
 
 [-- snip --]
 
  Other folks have in the past whipped up some macros that bind 'd' to
  actually save to some other folder where you *then* really delete the
  messages later.
 
 I have been using this setup for over a year, and it works great:
 
   ## Delete messages to the trash can rather than bit-bucket, unless
   ## we're in the trash folder.
   folder-hook .   macro index d save-message=trashenter
   folder-hook .   macro pager d save-message=trashenter
   folder-hook .   macro pager D delete-message
 
   folder-hook trash   macro index d delete-message
   folder-hook trash   macro pager d delete-message
 
   # When we go into to the trash folder, tag stuff greater than 14
   # days old.  Don't mark anything that's already flagged, though.
   folder-hook trash  push 'D~r14d!~F\n'
 
 Thus, in all folders except trash, 'd' moves the message to the trash
 folder, and 'D' deletes it for real, when I'm viewing the message (in
 the index, 'D' still maps to delete-pattern).  Every few days or so, I
 go into the trash folder to clean it out (I save 2 weeks worth of
 trash).  Hope that's helpful.

Wow!  This is great and ..helpful is a bit of an understatement.
And even better, I'm starting to understand some of this stuff (the
hooks), although I must admit the push statement will take some more
studying ...!

Thanks, Kevin

 
 (darren)
 
 -- 
 We can't all, and some of us don't. That's all there is to it.
 -- Eeyore

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



ask-from quadoption was 3 quick questions

2002-06-07 Thread Kevin Coyner

On Fri, Jun 07, 2002 at 08:13:40AM -0400, darren chamberlain wrote:
 * Ken Weingold [EMAIL PROTECTED] [2002-06-06 16:40]:
  Well here's a feature request.  I wish there were an option to have
  mutt prompt you for which return address to use, being able to pick
  from a menu of addresses set somewhere in the muttrc.  Any
  possibility?
 
 A few months ago, some (sorry, I don't remember who) posted a patch that
 adds an ask-from quadoption, which does what you're asking for in not
 too many lines.  It's written against 1.3.27, and I've applied it to
 1.3.28 (haven't tried 1.4 yet). It's attached.
 
 (darren)

Many thanks for the patch.  I'll give it a try, but have to learn how
to apply them first.  I've graduated from windoze to linux rpms to now
being comfortable with compiling source, but haven't tried the patch
route yet.  Got to read up on it first.

Kevin
 



Re: ask-from quadoption was 3 quick questions

2002-06-07 Thread Kevin Coyner

On Fri, Jun 07, 2002 at 09:37:12AM -0400, darren chamberlain wrote:
 * Kevin Coyner [EMAIL PROTECTED] [2002-06-07 09:28]:
  Many thanks for the patch.  I'll give it a try, but have to learn how
  to apply them first.  I've graduated from windoze to linux rpms to now
  being comfortable with compiling source, but haven't tried the patch
  route yet.  Got to read up on it first.
 
 In this case, the patch can be applied, from within the mutt source
 directory, like so:
 
   $ patch -p1  patch-1.3.27.ds.askfrom.txt
 
 For patch, the -p# tells patch how many directory levels to remove from
 the filenames.  If you read through the patch file, you can see that it
 references files as mutt-1.3.27/init.h and mutt-1.3.27/send.c, which

Question:  If I've installed Mutt-1.4i, do I need to go into the patch
source and change all references to mutt-1.3.27 so that they read
mutt-1.4i instead?

 is to say 1 directory and then a filename, so patch has to strip off 1
 level of directories to file the name of the file to patch.
 
 (darren)

As always, many thanks.  This group is great.
Kevin

 
 -- 
 All men are mortal.
 Socrates was mortal.
 Therefore, all men are Socrates.
 -- Woody Allen

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



trash function (was 3 quick questions)

2002-06-07 Thread Kevin Coyner

On Fri, Jun 07, 2002 at 07:32:58PM +0200, Thorsten Haude wrote:
 * darren chamberlain [EMAIL PROTECTED] [02-06-07 14:18]:
 I have been using this setup for over a year, and it works great:
 [Macro-based trash function]
 You should have a look at Cedric's patch. I used something similar to
 your setup and was annoyed every time =trash appeared in the folder
 history.

What is a folder history?  I couldn't find it in the Mutt manual,
and interestingly, a Google search on [folder history and mutt] turns
up one result:  History of Shania Twain.  Figure that!

Kevin

 
 Thorsten
 -- 



urlview

2002-06-07 Thread Kevin Coyner


I just installed urlview and gave it a try on a message that I knew to
have a few links.  Sure enough it listed the links and gave an arrow
that allowed me to select one of the links.  When I selected, it
rewrote the link down at the bottom of the screen.  But after that,
nothing, regardless of what keys I hit.  I presumed that urlview would
harvest the links in an email, display them, let me select one, and
then take me to that page in a browser such as lynx.  Am I incorrect
in assuming that it does all this, or did I screw up something in the
configuration?

Thanks, Kevin



Re: urlview

2002-06-07 Thread Kevin Coyner

David ---

On Fri, Jun 07, 2002 at 03:11:24PM -0500, David T-G wrote..
 Did you hit return again?  Interestingly enough, you have to hit the
 enter key twice.
 
 If you did, then you should look into your .urlview file to see what it's
 doing.  Here's mine, with various netscape examples commented out because
 I have screen fire up a new window running lynx:
 
   #
   # Sample urlview(1) configuration file
   #
 
   # regular expression to use to match URLs
   REGEXP ht|f)tp)|mailto):(//)?[^ \t]*|www\.[-a-z0-9.]+)[^ .,;\t]
 
 
   # command to invoke for selected URL
   #COMMAND netscape -remote 'openURL(%s)'
   #COMMAND /usr/bin/screen url_handler.sh %s
   #COMMAND url_handler.sh %s
   #COMMAND url_handler.sh
   COMMAND /usr/bin/screen url_handler.sh

Several things:  the man for urlview said there was a default config
file in /etc, but there wasn't, so that was part of the problem.  So I
took the two key lines from your .urlview and created my own .urlview
in my home directory.  And like you suggested, I hit enter twice.

Now I get the following:  url_handler.sh: file or directory not found.

Where do I find a url_handler.sh?  And more importantly, what is it?

Thanks for your patience, as I suspect I'm trying it.

Kevin

 
 You should have something like at least one of those in yours, perhaps
 also including the REGEXP (I forget whether REGEXP is necessary or if
 I've simply tweaked the default).
 
 
 HTH  HAND
 
 :-D
 -- 


-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



Re: urlview

2002-06-07 Thread Kevin Coyner

David -- again, thanks for the help .

On Fri, Jun 07, 2002 at 03:50:52PM -0500, David T-G wrote..
 Kevin -
 
 ...and then Kevin Coyner said...
 % 
 % David ---
 % 
 % On Fri, Jun 07, 2002 at 03:11:24PM -0500, David T-G wrote..
 %  Did you hit return again?  Interestingly enough, you have to hit the
 %  enter key twice.
 %  
 %  If you did, then you should look into your .urlview file to see what it's
 ...
 % Several things:  the man for urlview said there was a default config
 % file in /etc, but there wasn't, so that was part of the problem.  So I
 
 How was urlview installed?  If it was an RPM or it came on your system,
 fire off a bug report.  If you whipped it up by hand, did you run make
 install or just copy urlview into /usr/local/bin yourself?
 

I installed it by running ./configure, make install and make.  No
problems and no error msgs.

 
 % took the two key lines from your .urlview and created my own .urlview
 % in my home directory.  And like you suggested, I hit enter twice.
 
 Good deal.
 
 
 % 
 % Now I get the following:  url_handler.sh: file or directory not found.
 % 
 % Where do I find a url_handler.sh?  And more importantly, what is it?
 

Well, I hate to admit where I found url_handler.sh, but it was with
the rest of the source code.   Just a simple matter of moving
it over to /usr/bin.

 You might check the contrib directory on ftp.mutt.org or otherwise just
 google for it.  It's something that handles URLs, of course.  It knows
 the differences between http, https, ftp, mailto, ... and knows what to
 call to fire off the right thing.
 

So now it's working great.  Thanks again. Next, on to .mailcap!
Kevin

 
 % 
 % Thanks for your patience, as I suspect I'm trying it.
 
 Not at all :-)
 
 
 % 
 % Kevin
 % 
 %  
 %  You should have something like at least one of those in yours, perhaps
 %  also including the REGEXP (I forget whether REGEXP is necessary or if
 %  I've simply tweaked the default).
 %  
 %  
 %  HTH  HAND
 %  
 %  :-D
 %  -- 
 % 
 % 
 % -- 
 % 
 % Kevin Coyner
 % mailto: [EMAIL PROTECTED]
 % GnuPG key: 1024D/8CE11941
 
 
 :-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!
 



-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



Re: [Re: NuBe: upgrade question]

2002-06-06 Thread Kevin Coyner

Wow Wow.  I see that I've a lot to learn.

I'm really liking Mutt, but in all honesty it's a lot
of work to put everything together.  Ultimately that
flexibility is the beauty of Mutt, but to get started
is a steep learning curve, especially if you are
relatively new to Linux, and even newer to the command
line.  In the last 36 hrs since I've started the switch
from KMail to Mutt, I've had to come to grips with 
vim, sendmail, fetchmail and mutt.  And from what I can
tell, I need to get procmail going too.  

Well, at least I'm having fun, and with some more 
studying, reading and the occasional lamer question to
this group, I'll get it figured out.

Thanks, Kevin

PS:  was the format of this reply even slightly better? :-)


On Thu, Jun 06, 2002 at 12:11:08PM -0500, David T-G wrote:
 Kevin --
 
 Wow.  TOFU, forwarding attribution in a reply context, mangling the
 Subject: line with brackets, and losing the References: headers -- all
 in one post!  Ouch!  If you need help to come up to speed and lose your
 Outlook-ly ways, please let us know.
 
 After all, I wouldn't want to lose my he-who-pisses-off-Sven-the-most
 title, you know :-)
 
 
 :-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!
 



-- 



recommend good address book

2002-06-06 Thread Kevin Coyner

As the newest Mutt user on the block (and definitely still
trying to figure things out), one of the things I'm leaving
behind with KMail is the KAddressbook.  The two integrated
pretty well.

I'm enjoying using Mutt, although mangling the messages, but
am wondering whether there is a good console type address
book to use with it?

Thanks
Kevin



Re: [Re: NuBe: upgrade question]

2002-06-06 Thread Kevin Coyner


Since I'm just getting started and haven't invested
a huge amount of time, effort and config files yet, what
application chain would you recommend?  At this point
it won't be hard for me to make major changes since I'm 
not set in my ways nor have any predispositions.

Right now I'm headed towards:  mutt, sendmail, fetchmail 
and procmail.  But I'm selecting these for no particular
reason other than they seem standard and common.

What might be a better setup (with 'better' meaning 
having more tools yet less complexity!)?

Thanks again, Kevin


On Thu, Jun 06, 2002 at 12:40:44PM -0500, David T-G wrote:
 Kevin --
 
 ...and then Kevin Coyner said...
 % 
 % Wow Wow.  I see that I've a lot to learn.
 
 We all do.  Don't worry; it'll come!
 
 
 % 
 % I'm really liking Mutt, but in all honesty it's a lot



3 quick questions

2002-06-06 Thread Kevin Coyner


First, thanks to everyone so far for their help.  I'm finding
Mutt challenging but fun, and with the help from this group,
it's even better.

Second, 3 quick questions:

1.  Where do D (deleted) msgs go?  Is there an equivalent of
trash, or am I truly out of the disneyland GUI world now and
just like using rm on files, there's no going back.

2.  When I'm in the index mode with all mail listed and I've 
marked a bunch with D, is there a keystroke command that will
flush out all of the D items so there's only N or O mail in there?

3.  This is the question that bothers me most: Let's say I have
three email POP3 email accounts on three different ISP/domains.  
I've got fetchmail set up to fetch from all three.   But what I
can't figure out is how I can, on the fly, select any one of 
these accounts to be my From: and Reply-to: address. Presently
I have my .muttrc setup with set from = [EMAIL PROTECTED] and
this has each and every msg going out with that From address.
But there are times when I need to use one of those other two
addresses in the From header.  I tried setting 'set alternates =
the other accts', but that didn't seem to do it.  So some 
general guidance would be appreciated here.  I'm getting the 
feeling I'll need to use hooks, but I haven't quite figured all
that out yet.

Thanks
Kevin