Re: [ANNOUNCE] 1.5.20 released

2009-06-14 Thread bill lam
Many thanks for detail steps and explanation. I compiled and am now
using the new mutt.

-- 
regards,

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


Re: [ANNOUNCE] 1.5.20 released

2009-06-14 Thread Brendan Cully
On Monday, 15 June 2009 at 09:25, bill lam wrote:
> On Sun, 14 Jun 2009, Brendan Cully wrote:
> > Silly autoconf. Try:
> > autoreconf -i
> > ./config.status --recheck
> > ./config.status
> 
> I tried
> 
> $ autoconf -i ./config.status 
> /usr/bin/m4:aclocal.m4:917: cannot open `m4/libgnutls.m4': No such file or 
> directory
> autom4te: /usr/bin/m4 failed with exit status: 1
> 
> $ ls m4
> codeset.m4  funcdecl.m4  gettext.m4  gpgme.m4   iconv.m4  Makefile.am  
> README
> curslib.m4  funcs.m4 glibc21.m4  gssapi.m4  lcmessage.m4  progtest.m4  
> types.m4
> 
> Apparently that libgnutls.m4 is not inside hg repository. Where can I get 
> that file?

Those were on separate lines because they were meant to be separate
commands, issued one after the other.

$ autoreconf -i
$ ./config.status --recheck
$ ./config.status

libgnutls.m4 has been deliberately removed, but the build system needs
to be hit on the head to figure that out. That's what the steps above
do.


Re: [ANNOUNCE] 1.5.20 released

2009-06-14 Thread bill lam
On Sun, 14 Jun 2009, Brendan Cully wrote:
> Silly autoconf. Try:
> autoreconf -i
> ./config.status --recheck
> ./config.status

I tried

$ autoconf -i ./config.status 
/usr/bin/m4:aclocal.m4:917: cannot open `m4/libgnutls.m4': No such file or 
directory
autom4te: /usr/bin/m4 failed with exit status: 1

$ ls m4
codeset.m4  funcdecl.m4  gettext.m4  gpgme.m4   iconv.m4  Makefile.am  
README
curslib.m4  funcs.m4 glibc21.m4  gssapi.m4  lcmessage.m4  progtest.m4  
types.m4

Apparently that libgnutls.m4 is not inside hg repository. Where can I get that 
file?

Linux debian 2.6.26-2-amd64 #1 SMP Thu May 28 21:28:49 UTC 2009 x86_64 GNU/Linux

-- 
regards,

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


Re: [ANNOUNCE] 1.5.20 released

2009-06-14 Thread Brendan Cully
On Monday, 15 June 2009 at 08:46, bill lam wrote:
> > Mutt 1.5.20 is out at the usual locations. This release contains an
> 
> After hg pull and update. It failed to make or even make clean with error
> message.
> 
> make: *** No rule to make target `m4/libgnutls.m4', needed by
> `Makefile.in'
> 
> I can build earlier 1.5.19 version without problem. Any idea how to
> fix it?

Silly autoconf. Try:
autoreconf -i
./config.status --recheck
./config.status


Re: [ANNOUNCE] 1.5.20 released

2009-06-14 Thread bill lam
> Mutt 1.5.20 is out at the usual locations. This release contains an

After hg pull and update. It failed to make or even make clean with error
message.

make: *** No rule to make target `m4/libgnutls.m4', needed by
`Makefile.in'

I can build earlier 1.5.19 version without problem. Any idea how to
fix it?

-- 
regards,

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


Re: Mutt on Mac: MuttToMail

2009-06-14 Thread Charlie Kester

On Sat 13 Jun 2009 at 18:26:27 PDT Greg Darke wrote:

Support for this is already built directly into iTerm.

You have to set up a bookmark explicitly for mutt (mine has the command
'/sw/bin/mutt "$$URL$$"'), and then bind this command to the mailto url
(in the application preferences).


Cool. When I first installed iTerm long ago, I looked at the URL
Handlers tab in iTerm's Preferences, but I didn't grok what they were
for.  So I completely forgot about them.


Re: Set From: address with hook match on To: address?

2009-06-14 Thread dave

On (23:43 14/06/09), Michael Tatge  put forth the 
proposition:

* On Sun, Jun 14, 2009 08:47PM +0100 d...@unrealize.co.uk 
(d...@unrealize.co.uk) muttered:

Is it possible to apply some sort of regexp on the To: address to work
out what to put for From:?


Are you looking for reverse_name maybe?


Yes, reverse_name + alternates seems to work well, and folder-hooks
catches thing like mailing list folders.



HTH,

Michael
--
*** PUBLIC flooding detected from erikyyy
 THAT's an erik, pholx ;)
-- Seen on #LinuxGER

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


--
"Just once, I wish we would encounter an alien menace that wasn't
immune to bullets"
-- The Brigader, "Dr. Who"


pgpgIbD7uZ8YF.pgp
Description: PGP signature


Re: Set From: address with hook match on To: address?

2009-06-14 Thread dave

On (15:59 14/06/09), Patrick Shanahan  put forth the 
proposition:

* d...@unrealize.co.uk  [06-14-09 15:50]:

Is it possible to apply some sort of regexp on the To: address to work
out what to put for From:?

At the moment I use folder hooks but it would be useful to do it based
on To:


Have you considered send2-hook, described in TFM?


I haven't had much success with send2hook or reply-hook. I'm probably
not putting in the correct regexp and haven't found much in the way of
examples on the intertubes.



--
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


--
Stupidity got us into this mess -- why can't it get us out?


pgpBIJuU2cv01.pgp
Description: PGP signature


Re: "Intelligent" (per-message) mbox-hook?

2009-06-14 Thread Steffen Schuldenzucker
On 19:18 Sun 14 Jun , Rocco Rutte wrote:
> Hi,
> 
> * Steffen Schuldenzucker wrote:
> 
> > I guess I'm not the first one hitting this problem, so - Is there any
> > way to solve it?
> 
> Maybe, use define mbox-hook in message-hook for per-message like so:
> 
>  message-hook ~A 'unhook mbox-hook'
>  message-hook  'mbox-hook ...'
> 

You mean like this (tries to sort mail from two people from this list
into different mailboxes. My spool mailbox is called "spool"):

message-hook ~A 'unhook mbox-hook'
message-hook '~f pdmef' 'mbox-hook spool "=foobar"'
message-hook '~f grante' 'mbox-hook spool "=quux"'

Sorry, but this does /not/ work, it determines the mbox to use by the
message that was viewed last, not individually per message.

Any other ideas?
It would be so nice if mbox-hook could accept arbitrary patterns...

Thanks,

Steffen



Re: Set From: address with hook match on To: address?

2009-06-14 Thread Michael Tatge
* On Sun, Jun 14, 2009 08:47PM +0100 d...@unrealize.co.uk 
(d...@unrealize.co.uk) muttered:
> Is it possible to apply some sort of regexp on the To: address to work
> out what to put for From:?

Are you looking for reverse_name maybe?

HTH,

Michael
-- 
*** PUBLIC flooding detected from erikyyy
 THAT's an erik, pholx ;)
-- Seen on #LinuxGER

PGP-Key-ID: 0xDC1A44DD
Jabber: init...@amessage.de


Re: Set From: address with hook match on To: address?

2009-06-14 Thread Patrick Shanahan
* d...@unrealize.co.uk  [06-14-09 15:50]:
> Is it possible to apply some sort of regexp on the To: address to work
> out what to put for From:?
> 
> At the moment I use folder hooks but it would be useful to do it based
> on To:

Have you considered send2-hook, described in TFM?

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Set From: address with hook match on To: address?

2009-06-14 Thread dave

Is it possible to apply some sort of regexp on the To: address to work
out what to put for From:?

At the moment I use folder hooks but it would be useful to do it based
on To:

Cheers
David
--
"I wish there was a knob on the TV to turn up the intelligence.
There's a knob called `brightness', but it doesn't work."
-- Gallagher


pgpDMSrookaL4.pgp
Description: PGP signature


[ANNOUNCE] 1.5.20 released

2009-06-14 Thread Brendan Cully
Hi all,

Mutt 1.5.20 is out at the usual locations. This release contains an
enormous number of bugfixes (Rocco has been on a rampage), and the
following high-level changes:

  ! $fcc_attach is a quadoption now
  + $honor_disposition to honor Content-Disposition headers
  + $search_context specifies number of context lines for search results
in pager/page-based menus
  ! ssl_use_sslv2 defaults to no
  + uncolor works for header + body objects, too
  + the "flagged" and "replied" flags are enabled/supported for
POP when built with header caching
  ! browser correctly displays maildir's mtime
  +  and  work in the pager, too
  + ~x pattern also matches against In-Reply-To
  + lower case patterns for string searches perform case-insensitive
search as regex patterns do (except IMAP)
  + $ssl_verify_dates controls whether mutt checks the validity period of
SSL certificates
  + $ssl_verify_hostname controls whether mutt will accept certificates whose
host names do not match the host name in the folder URL.

There are only a few loose ends to tie up before the first release
candidate for 1.6, mostly concerning new mail handling. So please test
this one as much as you can.

Thanks, and happy mutting.


pgpbEBUAhJ4DF.pgp
Description: PGP signature


Re: mapi support

2009-06-14 Thread Grant Edwards
On 2009-06-14, Asif Iqbal  wrote:

> Is there a way to get mail through mapi from exchange server
> 2007?
>
> imap or pop3 is not open.

Yes, but it's very, very, ugly (which is generally true of
anything involving MS Exchange Server).  First you need a
windows PC with Outlook.  Second, you need a copy of a Python
program I wrote many years ago that uses Outlook's COM
interface to fetch messages.  Third, you need an SMTP server to
which the Python program can hand off the messages for local
delivery.  Fourth, you need to customize the Python program's
routine that translates Exchange's f'ed up addresses into
something real.

I haven't used that program in 6-7 years, but I can probably
dig up a copy if you want.

You'd be far better off if you could convince the Exchange
admin to enable IMAP support.

-- 
Grant






Re: mapi support

2009-06-14 Thread Rocco Rutte
Hi,

* Asif Iqbal wrote:
> Is there a way to get mail through mapi from exchange server 2007?

At the moment: no. I don't know of anybody working on it.

Rocco


Re: "Intelligent" (per-message) mbox-hook?

2009-06-14 Thread Rocco Rutte
Hi,

* Steffen Schuldenzucker wrote:

> I guess I'm not the first one hitting this problem, so - Is there any
> way to solve it?

Maybe, use define mbox-hook in message-hook for per-message like so:

 message-hook ~A 'unhook mbox-hook'
 message-hook  'mbox-hook ...'

The drawback like with save-hook is that you have to view the message
first to make message-hook trigger. And decoded saving and decoded
copying triggers these message-hooks, too.

Rocco


mapi support

2009-06-14 Thread Asif Iqbal
Is there a way to get mail through mapi from exchange server 2007?

imap or pop3 is not open.



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: 'mailboxes' command misbehaving?

2009-06-14 Thread Steve Revilak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

>From: Khusro Jaleel 

>Replying to myself here. I believe I have found the cause of the problem AND 
>fixed it. We shall see.
>
>After finding out about the 'noatime' flag on the partition, googling 'mutt 
>noatime' immediately gave
>results that were much more relevant to my problem. For example, from the Mutt 
>wiki:
>
>http://wiki.mutt.org/?MuttFaq/Folder
>
>Do a search on that page for 'noatime' and you'll find the solution right 
>there! I had to rebuild mutt
>with --enable-buffy-size so that it looks at file sizes instead of atimes. It 
>says it might give suboptimal
>results, so we'll see how well it goes.
>
>At the moment it seems to be working quite well; those erroneous messages 
>about new mail are completely gone. 
>
>Many thanks for your help on this, Steve. I've learned how to install CentOS 
>SRPMS, modify the .spec file
>and rebuild it as a result :-) So I'm happy.


Good detective work.  Glad to have helped.

Steve

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (Darwin)

iEYEARECAAYFAko08+oACgkQX7YJI4BuyDTqTACfTzgw74nKzNHvL70WBCvImh9w
X8kAnirI3ATlMgssvqWY+we6Uur06evk
=uI0f
-END PGP SIGNATURE-


Re: 'mailboxes' command misbehaving?

2009-06-14 Thread Khusro Jaleel
Replying to myself here. I believe I have found the cause of the problem AND 
fixed it. We shall see.

After finding out about the 'noatime' flag on the partition, googling 'mutt 
noatime' immediately gave
results that were much more relevant to my problem. For example, from the Mutt 
wiki:

http://wiki.mutt.org/?MuttFaq/Folder

Do a search on that page for 'noatime' and you'll find the solution right 
there! I had to rebuild mutt
with --enable-buffy-size so that it looks at file sizes instead of atimes. It 
says it might give suboptimal
results, so we'll see how well it goes.

At the moment it seems to be working quite well; those erroneous messages about 
new mail are completely gone. 

Many thanks for your help on this, Steve. I've learned how to install CentOS 
SRPMS, modify the .spec file
and rebuild it as a result :-) So I'm happy.



Re: 'mailboxes' command misbehaving?

2009-06-14 Thread Khusro Jaleel
* Steve Revilak (st...@srevilak.net) wrote:
> $ wc -l foo.txt
> 2 foo.txt
> $ ls -l foo.txt
> 4 -rw-r--r--  1 srevilak users 58 Jun 13 20:20 foo.txt
> $ ls -lu foo.txt
> 4 -rw-r--r--  1 srevilak users 58 Jun 13 20:23 foo.txt

Many thanks for your investigative work, Steve, I think I know exactly what the
problem is know!

I'm doing this inside a VM and have just confirmed that my provider is mounting 
the /
partition using "noatime", that might be why! When I do the above on my machine 
I get:

$ date >> foo.txt
$ ls -l foo.txt
-rw-rw-r-- 1 kjaleel kjaleel 58 Jun 14 07:30 foo.txt
$ ls -lu foo.txt 
-rw-rw-r-- 1 kjaleel kjaleel 58 Jan  1 00:00 foo.txt

$ wc -l foo.txt
2 foo.txt
$ ls -l foo.txt
-rw-rw-r-- 1 kjaleel kjaleel 58 Jun 14 07:30 foo.txt
$ ls -lu foo.txt 
-rw-rw-r-- 1 kjaleel kjaleel 58 Jan  1 00:00 foo.txt

So, the atime is never changed. This might explain it. Perhaps I should speak 
to my hosting
provider and request they remove the option or I can probably 'remount' it 
myself without
the "noatime" option.