field parsing behavior

2002-02-20 Thread Tim Whitehead


If someone sends me an email and they don't have their name before their email
address, mutt thinks that the name and the email address are the same. When it
should recognize that the email address is just the email address.

I noticed this because I have 
set attribution=Le jour %d, %n (%a) a écrit...\n

and the %n is the same as %a. So when I'm replying it's 

Le jour ~~, [EMAIL PROTECTED] ([EMAIL PROTECTED]) a écrit... 

Which is bad French, but that's irrelevant here.

Or I could be doing it completely wrong.

tw

-- 
tw



sending sent

2001-10-05 Thread Tim Whitehead


I have emails that I want to resend from ~/Mail/sent. Is there a key binding for
this?


tw


-- 
Timothy Mark Whitehead  // Sophomore, UW - Madison  



Re: Color

2001-09-06 Thread Tim Whitehead


this is actually a reply to the original message which I (unfortunately)
deleted.

try TERM=xterm-color

I just had to write a wrapper so I could have gkrellm call mutt. Originally mutt
would pop up, but be in mono. So my wrapper is as follows

#!/bin/bash

wait 1;
export TERM=xterm-color;
/usr/bin/mutt;


seems to work...

tw


Le jour Thu Sep 06, 2001 at 11:36:49AM -0400, Ken Weingold ([EMAIL PROTECTED]) a 
écrit...

 On Thu, Sep  6, 2001, Dave Spracklen wrote:
  I understand how to use the color settings in the configuration file. My
  problem is that although I use color_xterm which is fully color compatible
  (including using color0 etc) I can't figure out how I convince mutt to use
  color. At first I thought I was doing something wrong, but when I added in some
  'mono' configuration options these immediately began working. I don't see
  anything in the manual or man pages related to forcing mutt to use the color
  options rather than the mono ones. I've tried switching my TERM from xterm to
  vt100 just out of curiosity, but of course that didn't do anything. What's up? 
  How can I get this going?
 
 I don't know what OS you are on, but under Solaris, the only term that
 would work to get color was dtterm.  I figured this out since color
 would work in the CDE Terminal, but not under any other, with whatever
 other term settings I tried.
 
 HTH...
 
 
 -Ken

-- 
Timothy Mark Whitehead  // Sophomore, UW - Madison  
tmwhitehead(at)students.wisc.edu// Intended Major: Computer Engineering 
tigmoid(at)146.151.75.25// SUPPORT YOUR LOCAL COLLEGE STUDENT!! 
whitehea(at)cs.wisc.edu // -- UW-Navs, UW-Band, UW-Trumpet
tigmoid(at)jps.net  // Do you, eh, look at headers? 
public static String sig(String sig) { if(sig.equals(this.sig))sig = sig(sig); }



Re: Color

2001-09-06 Thread Tim Whitehead


I think that the problem is in my /etc/profile 

if [ $COLORTERM = Eterm ]; then
TERM=xterm-color
else
TERM=linux
fi

This may be what is throwing off the TERM var. Because when I comment out the
wait line, mutt comes up in mono again. 

any suggestions?


tw


Le jour Thu Sep 06, 2001 at 09:59:48AM -0700, Denis Perelyubskiy ([EMAIL PROTECTED]) 
a écrit...

  * Tim Whitehead [EMAIL PROTECTED] [09-Thu-01 09:05 -0700]:
  
  this is actually a reply to the original message which I (unfortunately)
  deleted.
  
  try TERM=xterm-color
  
  I just had to write a wrapper so I could have gkrellm call mutt. Originally mutt
  would pop up, but be in mono. So my wrapper is as follows
  
  #!/bin/bash
  
  wait 1;
  export TERM=xterm-color;
  /usr/bin/mutt;
 
 it almost sounds like this could be set in the .bashrc,
 .tcshrc, or whatever the shell that you are using, no?
 
 i've never used gkrellm, but does it not set TERM variable
 at all? if it does, then you can put it a small condition to
 reset it to something more appropriate in your startup file.
 
 just a suggestion,
 
 denis
 
 -- 
 // mailto: Denis Perelyubskiy [EMAIL PROTECTED]
 // icq   : 12359698
 // PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc

-- 
Timothy Mark Whitehead  // Sophomore, UW - Madison  
tmwhitehead(at)students.wisc.edu// Intended Major: Computer Engineering 
tigmoid(at)146.151.75.25// SUPPORT YOUR LOCAL COLLEGE STUDENT!! 
whitehea(at)cs.wisc.edu // -- UW-Navs, UW-Band, UW-Trumpet
tigmoid(at)jps.net  // Do you, eh, look at headers? 
public static String sig(String sig) { if(sig.equals(this.sig))sig = sig(sig); }



Re: Color

2001-09-06 Thread Tim Whitehead

I think you're confused as to what gkrellm is. The website is www.gkrellm.net

Essentially it's a system monitor that has the capability to check mail (as well
as a few other things), either locally or remotely. In my case I have it call
'fetchmail' every 10 minutes. It checks my local mailbox every 5 seconds for new
mail. When there's mail I have the option of calling a mail reader. So I pop up
an Eterm and run mutt.  

Thus, there would not be a TERM=gkrellm; it doesn't make sense. 


tw


Le jour Thu Sep 06, 2001 at 01:55:34PM -0700, Denis Perelyubskiy ([EMAIL PROTECTED]) 
a écrit...

  * Tim Whitehead [EMAIL PROTECTED] [09-Thu-01 10:18 -0700]:
  
  I think that the problem is in my /etc/profile 
  
  if [ $COLORTERM = Eterm ]; then
  TERM=xterm-color
  else
  TERM=linux
  fi
  
  This may be what is throwing off the TERM var. Because
  when I comment out the wait line, mutt comes up in mono
  again. 
  
  any suggestions?
 
 maybe something along the lines of 
 
 if [ $COLORTERM = Eterm ]; then
   TERM=xterm-color
 elif [ $TERM = gkrellm ]; then
   TERM=xterm-color
 else
   TERM=linux
 fi
 
 i am not too good with bash in general. i just go try to
 figure out things i need wheni need them :)
 
 also, check what $TERM var says when you log in using your
 gkrellm. that test in 'elif' may need to be modified if TERM
 is not gkrellm
 
 also, neither do i know if this is an *official* bash way,
 but things like these work in my startup files, even though
 maybe they disgust people who really know bash :)
 
 denis
 
 -- 
 // mailto: Denis Perelyubskiy [EMAIL PROTECTED]
 // icq   : 12359698
 // PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc

-- 
Timothy Mark Whitehead  // Sophomore, UW - Madison  
tmwhitehead(at)students.wisc.edu// Intended Major: Computer Engineering 
tigmoid(at)146.151.75.25// SUPPORT YOUR LOCAL COLLEGE STUDENT!! 
whitehea(at)cs.wisc.edu // -- UW-Navs, UW-Band, UW-Trumpet
tigmoid(at)jps.net  // Do you, eh, look at headers? 
public static String sig(String sig) { if(sig.equals(this.sig))sig = sig(sig); }



Re: smtp server config?

2001-04-16 Thread Tim Whitehead

If you look at the headers from this mailing list you'll see that it uses qmail.
I personally chose qmail because I needed something that fetchmail could connect
to (ie. a mail system listening on port 25 (smtp)). 
My original setup was with ssmtp, but the ability to recieve mail directly to
one's computer is way to cool to settle for ssmtp. In anycase qmail allows for
more flexibility (hence configurability) besides the fact that it claims that it
"makes sendmail obsolete" (http://www.qmail.org). 


tw 


Le jour Mon Apr 16, 2001 at 06:24:26PM -0700, Joe Copeland ([EMAIL PROTECTED]) a crit...

 How do I configure mutt to use another smtp server rather than the sendmail
 server that's setup by default with redhat?  I want to use my mailserver at
 192.168.1.15 instead.
 
 Joe
 
 

-- 
Timothy Mark Whitehead  // Freshman, UW - Madison  
tmwhitehead(at)students.wisc.edu// Intended Major: Computer Engineering 
tigmoid(at)146.151.75.25// SUPPORT YOUR LOCAL COLLEGE STUDENT! 
tigmoid(at)jps.net  // -- UW-Navs, UW-Band, UW-Trumpet
whitehea(at)cs.wisc.edu // Do you, eh, look at headers? 



Re: fetchmail mutt

2001-04-15 Thread Tim Whitehead

I think you would want to install qmail or some other mail system that is setup
to "listen" on port 25 (smtp). That way fetchmail can run the way it was intended. 

tw 



Le jour Sun Apr 15, 2001 at 03:38:40PM -0700, Dave Murray ([EMAIL PROTECTED]) a 
crit...

 I'm hopeing that someone that uses fetchmail with mutt can help.
 
 1. without [and want mda/bsmtp "/path"] fetch times out while trying to read.
 
 2. with [and want mda "/path"] fetch gives a no write permission error.
 
 3. with [and want bsmtp "/path"] it fetches the mail but mutt can't look
at it.  I can view it with emacs, it's the mail but not a folder
that mutt can read.
 
 How do I get it to fetch mail into a folder that mutt can read?
 
 Regards,
 Dave
  



Re: [OT] well slightly

2001-04-09 Thread Tim Whitehead


I've since added these lines to my .muttrc


set user_agent=no
my_hdr X-Operating-System: `uname -smr` `uptime | sed \
   's/.*\(up.*\),\ \+[0-9]\+\ user.*/\1/'`
my_hdr X-Mailer:  `mutt -v | head -1 | awk '{printf "%s %s", $1, $2}'`

thanks for the help!
tw



[OT] well slightly

2001-04-08 Thread Tim Whitehead


I just recently got an email from my sister an noticed that Netscape puts an
X-Mailer in the header. This started a mini-quest to get the equivalent into
mine. I delved into the man pages of grep, sed and awk only to find that my best
solution came from you guys from my last question concerning the
X-Operating-System problem.

The resulting line from that was
my_hdr X-Operating-System: `uname -rsm` `uptime | sed s/.*up/up/ | sed 
s/,[[:space:]0-9]*users.*$//`

so I adopted it to
my_hdr X-Mailer: `mutt -v| grep Mutt -n|grep 1:|sed s/.*Mutt/Mutt/` 
 
As you can see this is a round about way of doing it... But it also leaves on
the day I compiled this version of Mutt. What would be the best way to chop that
date off?


thanks,
tw



Re: no mailbox list when changing mailboxes

2001-03-26 Thread Tim Whitehead


Here's some applicable .muttrc options


set spoolfile=~/Mailbox
set sort_browser=alpha
set folder_format="%N %F %2l %-8.8u %-8.8g %8s %d %f"


tw

Le jour Tue Mar 27, 2001 at 12:26:42AM +0900, Chung, Ha-Nyung ([EMAIL PROTECTED]) a 
ecrit...
 
  In index, press "c" to open other mailboxes and "?" for
  list. But no mailboxes are shown in mailboxes dialog(?).
  With the same configuration files, before works mutt
  correctly. but from oneday, listing mailboxes doesn't
  work, at least it seems to do so.
 
  mailbox type is Maildir and I use qmail.
 -- 
  Ha-Nyung Chung [EMAIL PROTECTED]



Re: no mailbox list when changing mailboxes

2001-03-26 Thread Tim Whitehead


Sorry, my setup is a bit different than yours. I have fetchmail pulling my mail
off students.wisc.edu and qmail puts it in ~/Mailbox. Sorry again. But the
folder_format might help you.


tw



Le jour Mon Mar 26, 2001 at 11:13:37AM -0600, Tim Whitehead 
([EMAIL PROTECTED]) a ecrit...

 
 Here's some applicable .muttrc options
 
 
 set spoolfile=~/Mailbox
 set sort_browser=alpha
 set folder_format="%N %F %2l %-8.8u %-8.8g %8s %d %f"
 
 
 tw
 
 Le jour Tue Mar 27, 2001 at 12:26:42AM +0900, Chung, Ha-Nyung ([EMAIL PROTECTED]) a 
ecrit...
  
   In index, press "c" to open other mailboxes and "?" for
   list. But no mailboxes are shown in mailboxes dialog(?).
   With the same configuration files, before works mutt
   correctly. but from oneday, listing mailboxes doesn't
   work, at least it seems to do so.
  
   mailbox type is Maildir and I use qmail.
  -- 
   Ha-Nyung Chung [EMAIL PROTECTED]



Re: Mutt, procmail, and sendmail [OT request]

2001-03-26 Thread Tim Whitehead



There should not be a space between `` because uptime includes a space. Actually
I wish uptime had better formatting. They have two spaces before the amount of
users and two spaces before load average (as well as a few others). If there is 
a way to remedy this, I'd be much obliged. Maybe if I knew enough Perl to write
a script, but I don't. 

my_hdr X-Operating-System: `uname -rsm``uptime`

tw


Le jour Tue Mar 27, 2001 at 07:02:40AM +1000, Tony Collins 
([EMAIL PROTECTED]) a ecrit...

 On Mon, Mar 26, 2001 at 09:23:42AM -0500, Wade A. Mosely wrote:
 
 Completely off-topic, I notice that your X-Operating-System header contains
 the kernel version and the uptime.  What have you got in your .muttrc to
 make it put these things in your headers?
 
 Re
 
 Tony
 
 -- 
 Is that an African or European swallow?
 My local LUG:  http://luv.asn.au
 Sick of AOL owned Instant Messaging?  Try http://www.jabber.org



more on spanning

2000-09-28 Thread Tim Whitehead


What if I want to use Mutt's POP3, how do I get Mutt to move messages to certain 
mailboxes based on recipient/sender? (ie. mailing lists)...


tw



request

2000-09-27 Thread Tim Whitehead



Is there a way to tag messages before they're saved in the "mbox" or which ever mail 
box? There have been a few instances where I did/don't have enough time to reply to 
the message but would like to write myself a note as to what the reply should contain. 
Another application would be if the sender didn't leave a descriptive enough subject 
and one would want to append some personal reminders.



thanks,
tw