Re: New mail folder list

2008-09-04 Thread Rado S
=- Mark Harrison wrote on Wed  3.Sep'08 at 22:45:13 -0400 -=

> I have mail being delivered to several folders in an imap account,
> {...} However, when I change to a folder with new mail, that
> folder is removed from the buffy list, and remains that way even
> if I leave the folder without reading all of the mail (for
> example, if an important mail comes into a different folder and I
> want to read that before coming back).

It is so even when you don't read _any_ (not even new) mail in that folder.
Merely opening the folder sets a flag.
I don't know whether that's a mutt or IMAP feature, but it's a
feature rather than a bug.

If it's up to mutt, a filed wish might produce an optional behaviour.
Otherwise hack your server to do as you like or make a new IMAP
standard. ;)

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL you do: you get what you give.


Re: Automated message processing

2008-09-04 Thread Peter Davis



Kyle Wheeler wrote:

On Wednesday, September  3 at 10:59 PM, quoth David Champion:
  

On Wednesday, September  3 at 10:54 PM, quoth Peter Davis:
  
Usually, the person responds to the "who are you?" message leaving 
the message body intact.  So I want to  have something embedded in 
the "who are you?" message that can point my script back to the 
original "so-and-so wants to join" message from Yahoo!, so I can 
reply to that.


How about just a long random number?
  
This works, but you'd need to store the valid random number 
someplace.



It occurs to me that you could also include the original Message-ID as 
the "random number".
  


Sorry I wasn't clear.  I don't want a random number.  I want to find the 
message that Yahoo! sent to me, notifying me that someone wants to join, 
so that I can reply to that message to approve the membership.  For example:


Msg 1: Yahoo! to me: "So-and-so wants to join list X."
Msg 2: Me to So-and-so: "Who are you? (cf. msg 1)"
Msg 3: So-and-so to me: "I'm So-and-so.\n> Who are you (cf. msg 1)"
Msg 4: Reply to msg 1 to approve membership.

Is there a fast way to find a message with a given Message-ID?  If so, 
that would work.


Thanks!
-pd

--

Peter Davis
Funny stuff - http://www.pfdstudio.com
Ideas Great and Dumb - http://www.ideasgreatanddumb.com
   Art/Tech Fusion  - http://www.arttechfusion.com
The Tech Curmudgeon - http://www.techcurmudgeon.com



Re: Automated message processing

2008-09-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, September  4 at 08:06 AM, quoth Peter Davis:
> Is there a fast way to find a message with a given Message-ID?  If 
> so, that would work.

~i 

... or:

 grep '^Message-ID: ' *

~Kyle
- -- 
Whenever you have an efficient government, you have a dictatorship.
  -- Harry Truman, lecturing at Columbia University, April 28, 1959
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkjAFIEACgkQBkIOoMqOI16JSgCgy1wlR3qa0rZc+qfSLZkoyw7s
3xkAnj6Hab5cKt7x819JvC7LGaVijQS0
=Mpwo
-END PGP SIGNATURE-


Re: New mail folder list

2008-09-04 Thread Mark Harrison
> It is so even when you don't read _any_ (not even new) mail in that folder.
> Merely opening the folder sets a flag.
> I don't know whether that's a mutt or IMAP feature, but it's a
> feature rather than a bug.

It seems like a combination of the two. If I view the folder in one instance
of mutt, then open up a second instance of mutt on another computer, the
folder doesn't appear in the list of folders with new mail (other folders with
new mail do however).

However, if I open up the folder in a different mail client, such as
thunderbird, mutt still shows the folder as containing new mail (unless
thunderbird marks all the mail in the folder as read). So it appears there is
a flag being set on the server, but that it is something mutt itself sets on
folder entry. I guess I'll need to take a look and find out what mutt does on
opening an imap folder.

Mark

-- 
Mark Harrison
Systems Administrator
OmniTI Computer Consulting, Inc.


pgpMnToyar02l.pgp
Description: PGP signature


Configuring sendmail on Mac OS X (Leopard)?

2008-09-04 Thread Peter Davis


I have two Macs, one at work and one at home, running OS X 10.5.  I'm 
using nearly identical .muttrc files on both, using sendmail to send 
outgoing messages.  On my work Mac, this all behaves just fine.  On the 
home Mac, Mutt says "Message sent." but the message never arrives.  Both 
are running Mutt 1.4.2.3i.


Is there some way to trace the outgoing message to see where it's 
failing?  Any tips on configuring sendmail on the Mac?  I didn't have to 
do anything on the office Mac ... it just works.


Thanks,
-pd

--

Peter Davis
Funny stuff - http://www.pfdstudio.com
Ideas Great and Dumb - http://www.ideasgreatanddumb.com
   Art/Tech Fusion  - http://www.arttechfusion.com
The Tech Curmudgeon - http://www.techcurmudgeon.com



Re: Automated message processing

2008-09-04 Thread Peter Davis


Kyle Wheeler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, September  4 at 08:06 AM, quoth Peter Davis:
  
Is there a fast way to find a message with a given Message-ID?  If 
so, that would work.



~i 

... or:

 grep '^Message-ID: ' *
  


Yes, but both of those require searching through a potentially large 
number of messages to find the matching id.  I figured that since I'm 
using MH format anyway, I should be able to include a path directly to 
the message file itself ... except that Mutt doesn't seem to give me a 
way to pass that information when I pipe a message to a script.


Thanks!

-pd

--

Peter Davis
Funny stuff - http://www.pfdstudio.com
Ideas Great and Dumb - http://www.ideasgreatanddumb.com
   Art/Tech Fusion  - http://www.arttechfusion.com
The Tech Curmudgeon - http://www.techcurmudgeon.com



Re: Configuring sendmail on Mac OS X (Leopard)?

2008-09-04 Thread Sahil Tandon
Peter Davis <[EMAIL PROTECTED]> wrote:

> I have two Macs, one at work and one at home, running OS X 10.5.  I'm 
> using nearly identical .muttrc files on both, using sendmail to send 
> outgoing messages.  On my work Mac, this all behaves just fine.  On 
> the home Mac, Mutt says "Message sent." but the message never arrives.  
> Both are running Mutt 1.4.2.3i.

How do you set the 'sendmail' variable in .muttrc?
  
> Is there some way to trace the outgoing message to see where it's 
> failing? Any tips on configuring sendmail on the Mac?  I didn't have 
> to do anything on the office Mac ... it just works.
  
The binary is called sendmail, but that is just the Postfix to Sendmail 
compatibility interface.  On OS X, Postfix logs to /var/log/mail.log -- 
parse that file for clues, assuming mutt is (via the sendmail command) 
passing mails to Postfix.

-- 
Sahil Tandon <[EMAIL PROTECTED]>


Re: Configuring sendmail on Mac OS X (Leopard)?

2008-09-04 Thread Cameron Simpson
On 04Sep2008 23:03, Sahil Tandon <[EMAIL PROTECTED]> wrote:
| Peter Davis <[EMAIL PROTECTED]> wrote:
| > I have two Macs, one at work and one at home, running OS X 10.5.  I'm 
| > using nearly identical .muttrc files on both, using sendmail to send 
| > outgoing messages.  On my work Mac, this all behaves just fine.  On 
| > the home Mac, Mutt says "Message sent." but the message never arrives.  
| > Both are running Mutt 1.4.2.3i.
| 
| How do you set the 'sendmail' variable in .muttrc?
|   
| > Is there some way to trace the outgoing message to see where it's 
| > failing? Any tips on configuring sendmail on the Mac?  I didn't have 
| > to do anything on the office Mac ... it just works.
|   
| The binary is called sendmail, but that is just the Postfix to Sendmail 
| compatibility interface.  On OS X, Postfix logs to /var/log/mail.log -- 
| parse that file for clues, assuming mutt is (via the sendmail command) 
| passing mails to Postfix.

And the "mailq" command should recite the queue of unsent messages, if
any.
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

The obsession with minimizing vehicle size is yet another unwanted
leftover from the days when launch systems were produced by missile
designers.  It is *actively harmful* to the goal of low costs.
- Henry Spencer <[EMAIL PROTECTED]>


Re: Automated message processing

2008-09-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, September  4 at 10:58 PM, quoth Peter Davis:
>> ~i 
>>
>> ... or:
>>
>>  grep '^Message-ID: ' *
>> 
>
> Yes, but both of those require searching through a potentially large 
> number of messages to find the matching id.

If you use hcache, the ~i pattern match will be just a hash-table 
lookup, which should be constant time no matter the number of 
messages.

> I figured that since I'm using MH format anyway, I should be able to 
> include a path directly to the message file itself ... except that 
> Mutt doesn't seem to give me a way to pass that information when I 
> pipe a message to a script.

Of course not - it's a *pipe*. :)

In the example:

 cat foo | somecommand

somecommand has no way of ever discovering what or where foo is. 
That's a feature, not a flaw.

~Kyle
- -- 
A tyrant must put on the appearance of uncommon devotion to religion. 
Subjects are less apprehensive of illegal treatment from a ruler whom 
they consider God-fearing and pious. On the other hand, they do less 
easily move against him, believing that he has the gods on his side.
   -- Aristotle
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkjAr3sACgkQBkIOoMqOI14+ZACgkJa9BTfh8a1A29RFD2WF1BRj
crMAmgNq59r7EvHTzbB+W0ssFnUzZE4W
=y6/C
-END PGP SIGNATURE-


search backward

2008-09-04 Thread bill lam
In the index pane, "/" and "n" can search and search next. 
How to do searching backwards?

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3


Re: search backward

2008-09-04 Thread Michael Kjorling
On 5 Sep 2008 13:55 +0800, by [EMAIL PROTECTED] (bill lam):
> In the index pane, "/" and "n" can search and search next. 
> How to do searching backwards?

How about ?

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



signature.asc
Description: Digital signature


Re: search backward

2008-09-04 Thread bill lam
On Fri, 05 Sep 2008, Michael Kjorling wrote:

> On 5 Sep 2008 13:55 +0800, by [EMAIL PROTECTED] (bill lam):
> > In the index pane, "/" and "n" can search and search next. 
> > How to do searching backwards?
> 
> How about ?
> 

Pardon, exactly how to enter that command?

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3


Re: search backward

2008-09-04 Thread Gary Johnson
On 2008-09-05, bill lam <[EMAIL PROTECTED]> wrote:
> On Fri, 05 Sep 2008, Michael Kjorling wrote:
> 
> > On 5 Sep 2008 13:55 +0800, by [EMAIL PROTECTED] (bill lam):
> > > In the index pane, "/" and "n" can search and search next. 
> > > How to do searching backwards?
> > 
> > How about ?
> > 
> 
> Pardon, exactly how to enter that command?

One way to find the answer to such questions is to use mutt's help 
facility.  Just type ? to bring up a list of the commands available 
from the current menu, then browse or search that list.  In this 
case, searching for "search" would show you

/ search-reversesearch backwards for a regular expression

HTH,
Gary