Re: Please help verify my procmail settings to go with mutt

2002-01-02 Thread René Clerc

* Will Yardley <[EMAIL PROTECTED]> [31-12-2001 18:17]:

| René Clerc wrote:
| > * Will Yardley <[EMAIL PROTECTED]> [31-12-2001 17:15]:
| > 
| > > with postfix, just:
| > >  "| /usr/bin/procmail -t"
| > >  
| > >  should be fine.
| > >  
| > >  the fancy sendmail style trickery shouldn't be necessary.
| > 
| > But, make sure in your postfix/main.cf the following line is present:
| > 
| > mailbox_command = /usr/bin/procmail
| > 
| > (or where ever your procmail resides)
| 
| why is that necessary?
| 
| if you have:
| "| /path/to/procmail -t"
| 
| in a .forward file, changing main.cf is not necesary.

Well, if you make sure it's set systemwide, you don't have to use a
.forward file. I admit the "But" wasn't necessary, because it's not a
prerequisite. 

| also the -t flag should be used as well if you set 'mailbox_command' to
| procmail.

You're right on this one, thanks.

-- 
René Clerc  - ([EMAIL PROTECTED])

Confucious say:
man who fishes in other man's well often catch crabs.



msg22082/pgp0.pgp
Description: PGP signature


Re: A happy new year!

2002-01-02 Thread René Clerc

* David T-G <[EMAIL PROTECTED]> [31-12-2001 22:48]:

| % Funny how I get to spend New Years Eve trying to make a heterogenous
| % network of Linux and Windows boxen work with each other, and the rest of
| % you get to party (hopefully) :)

Trust me, I did!

| Oh, quit your whining -- you know you're in hog heaven :-)

;)

Happy 2002 to you all!

Bye,

-- 
René Clerc  - ([EMAIL PROTECTED])

In theory, there is no difference between theory
and practice. But, in practice, there is.
-Jan L.A. van de Snepscheut



msg22083/pgp0.pgp
Description: PGP signature


Re: A happy new year!

2002-01-02 Thread Rob 'Feztaa' Park

Alas! René Clerc spake thus:
> | % Funny how I get to spend New Years Eve trying to make a heterogenous
> | % network of Linux and Windows boxen work with each other, and the rest of
> | % you get to party (hopefully) :)
> 
> Trust me, I did!

Lucky you... eight hours of work all I managed to do was learn that
the only reason they call it "Windows" is because prolonged usage
makes you want to throw your computer through one...

> | Oh, quit your whining -- you know you're in hog heaven :-)
> 
> ;)
> 
> Happy 2002 to you all!

Lets hope it turns out better than the last one!

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"Adam was the luckiest man in the world. He had no mother-in-law."
-- Sholom Aleichem



msg22084/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread Rob 'Feztaa' Park

Alas! Rob 'Feztaa' Park spake thus:
> > - It's useful to be able to search for every message a specific person has
> > ever sent me.
> 
> True, but I don't often need to look for old messages. In fact, I don't
> even know why I keep archives. ROFL :)

Ah, I remember now. I don't like the way mutt handles "new" mail in my
mboxes, so I set up a bunch of mbox hooks. That way I automatically know
that any mbox that has a nonzero size contains new mail. And I just
figured it'd be nice to have my old mail stored by date, instead of all
in one huge file.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"Don't knock masturbation, it's sex with someone I love."
-- Woody Allen, from 'Annie Hall', 1977



msg22085/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread Philip Mak

I just had another thought: Might it make sense to store sent mail
together with normal messages?

A fundamental problem is that mutt's "Search" feature cannot search over
multiple mailboxes. Thus, if I want to review a series of e-mails that I
exchanged with someone about a specific topic, then it may be useful to be
able to see both sides of the conversation.

I'm thinking that it might make sense to keep only *new* mail in
~/Maildir/, though. For me, an e-mail message that I receive may represent
something that I have to do (e.g. reply to the e-mail, do what the person
in the e-mail told me to do, etc.). So, I could remove messages from my
inbox only when I have done the action that is associated with that
e-mail. This makes it less likely that I'll forget to do something (which
has happened before; I can be quite forgetful at times).

So perhaps:

- New mail is sent to ~/Maildir/.
- Messages that I have sent go to =old.
- I save messages to =old when I'm done with them.
- A daily cron job scans =old and moves 3-month-old messages into
  =archive.




Re: A happy new year!

2002-01-02 Thread Benjamin Smith

On Wed, Jan 02, 2002 at 02:26:46AM -0700, Rob 'Feztaa' Park wrote:
> > Happy 2002 to you all!
> 
> Lets hope it turns out better than the last one!

Why? Did something bad happen in 2002BC?

-- 
Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>



msg22087/pgp0.pgp
Description: PGP signature


Re: Where's the MAIL FROM line?

2002-01-02 Thread David T-G

Cliff, et al --

...and then Cliff Sarginson said...
% 
% On Tue, Jan 01, 2002 at 10:53:39PM -0500, David T-G wrote:
% > 
% > ...and then Philip Mak said...
% > % 
% > % Is it possible to see the SMTP "MAIL FROM" line of a message in my
...
% > If you mean the ^From_ line that looks about like
% > 
% >   From user@domain Day Mon NN TT:TT:TT 
...
% 
% I don;t think he means that, and you can see what you refer to, viz:
% 
% >From [EMAIL PROTECTED]  Wed Jan  2
% 04:57:29 2002

No, I know that.  I simply didn't want to post such a concrete example :-)


% 
% I think he means the "MAIL FROM" that is part of the SMTP dialog that
% goes on between MTA's.

Ah.


% 
% As in...
% 
% cliff@tanya:~> telnet localhost 25
...
% 250 tanya.raggedclown.local
% MAIL FROM: baggins
% 250 Ok
...
% QUIT
% 221 Bye
% Connection closed by foreign host.

Hokay.  Gotcha there.


% 
% Well, since it is not part of the message, I guess you cannot.

But it's used for message information, no?  It becomes the ^From: line,
or at least so it appears.  That's why it's so easy to fake and so on,
too, but it looks like whatever is put there would show up in the header.


% 
% -- 
% Regards
% Cliff
% 


:-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!




msg22088/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread David T-G

Philip, et al --

...and then Philip Mak said...
% 
% I just had another thought: Might it make sense to store sent mail
% together with normal messages?

Whoops; this seemed blindingly obvious to me.  Yes, it certainly does
make sense.  That's why I set $save_name and $force_name (and $copy, of
course).  I only depart from this for mailing list folders; I procmail my
mutt-users mail into =F.mutt but save my fcc in =mutt-users just like
any other sent mail.  This makes even more sense because I also only
check =F.* for new mail.


% 
% A fundamental problem is that mutt's "Search" feature cannot search over
% multiple mailboxes. Thus, if I want to review a series of e-mails that I
% exchanged with someone about a specific topic, then it may be useful to be
% able to see both sides of the conversation.

In fact, I often don't save the original message, but only my outbound
reply with his message quoted in it.  I can follow the conversation well
enough iand save *some* disk space (yes, I already save a lot of mail, but
one tries to be good :-) and some search time; if I quote little or none
of the original, THEN I drop it into =username with its reply.


HTH & HAND & Happy New Year!

:-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!




msg22089/pgp0.pgp
Description: PGP signature


sending failures

2002-01-02 Thread Nick Wilson

Hi 
I'm getting 'failure to send' reports with the message
'localhost.localdomain does not exist.'
This only appears to happen on .dk adresses. When I send to a .com there
is no problem.

Any ideas on how to fix?

Cheers
-- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com






Re: Where's the MAIL FROM line?

2002-01-02 Thread Philip Mak

On Wed, 2 Jan 2002, David T-G wrote:

> But it's used for message information, no?  It becomes the ^From: line,
> or at least so it appears.  That's why it's so easy to fake and so on,
> too, but it looks like whatever is put there would show up in the header.

It's not the ^From: line. For example, when I send e-mail to
[EMAIL PROTECTED], I think the SMTP transaction goes something like
this:

$ telnet localhost 25
HELO localhost
MAIL FROM:[EMAIL PROTECTED]
RCPT TO:[EMAIL PROTECTED]
DATA
From: Philip Mak <[EMAIL PROTECTED]>
To: Mutt Users' List <[EMAIL PROTECTED]>
Subject: Re: Where's the MAIL FROM line?

Message text goes here.
.

The "MAIL FROM" line is not necessarily the same as the ^From: line. In
mbox format, the former shows up as "From [@] " on the
first line of the message, but Maildir format doesn't have that.




What's the trick to getting the sender address set properly?

2002-01-02 Thread Len Philpot

(I've also posted this to comp.mail.mutt)

I'm encountering problems with getting my outbound mail to make the trip
to the recipient, particularly with errors about invalid sender
addresses, etc.


Here's my mail environment :
--

My local box ('vulcan', Red Hat 7.2, mutt 1.2.5i) is on a network here
at home with one other system and has a second NIC connected to my ISP
via a cable modem.  There is no email sent between these two systems. My
local username is 'len'.

My ISP houses my POP3 account, but I have a domain (philpot.org) with an
alias there (len) that redirects mail and http traffic to my ISP. This
is the address ([EMAIL PROTECTED]) that the world sees, and it works fine.

+-+  +--+__
| philpothome.org |  | My ISP and   |   (  )
| +--+|  | my actual|<->( Internet )
| |vulcan|<->| POP3 account |   (__)
| +--+|  +--+ ^
|^| ^ |
||| | |
|v| | |
|++   | | v
||Win98 PC|   | |   +-+  
|++   | +-->| philpot.org |
+-+ +-+

I'm sure you've seen it before, but I guess the drawing helps... :)

In the past, I've used various email clients (Balsa, Pegasus, etc.) that
talk directly to the POP3 server, as can mutt. Mail comes and goes,
looking to the recipient as if it came from <[EMAIL PROTECTED]>. However,
these other clients were also smtp MTAs.


A few key things from ~/.muttrc :
---

There's probaby overlap here, but... ??

set envelope_from=yes
set from="[EMAIL PROTECTED]"
set hostname="philpot.org"  # 'cause that's how it looks to the world
set hidden_host=yes # this was to hopefully end up with the 
# proper sender address, given my alias

Here's my problem :
-

Now that I'm using fetchmail, it's different. fetchmail works fine, but
when I send emails, many get rejected with errors about invalid sender
domains and such.

One kind soul suggested I 'set envelope_from=yes' and that fixed my
Reply-to address appearing wrong. Since it forces 'sendmail -f', that's
detected by some recipients (eg., hotmail.com) and shows up as a warning
in the headers:

X-Authentication-Warning: vulcan.philpothome.org: len set sender to\
[EMAIL PROTECTED] using -f

However, I can live with that if it doesn't cause any problems.


However, I get this sort of thing quite often :

Domain of sender address [EMAIL PROTECTED] does not exist


?Huh?


So, I commented the 'from="[EMAIL PROTECTED]"' in ~/.muttrc and tried
again. This time I got :

Domain of sender address [EMAIL PROTECTED] does not exist

Well, that's true, since philpothome.org is simply my intranet "domain"
here at home, so I put things back like they were.


Help! :)
-

Obviously, I'm flailing about here... Can anyone give me any pointers? I
get the feeling I've got something set amiss 'early on' and am trying to
undo it down the road, but I don't know what it is. It's probably
quicker to fix that it was to write this...

I've read the descriptions in mutt's docs, as well as what I could find
in the FAQ, etc., etc. I have an 800 page sendmail book at work, but I'd
LOVE to avoid all that... a sendmail book is kinda like a math textbook:
You can't exactly look up something in the index, jump to the page and
expect it to make any sense. You have to read and *comprehend* all
before it.

Thanks in advance for any and all help. I really like mutt, but getting
these messages kicked back is a major drawback (and it may well not be a
mutt issue, but if not, it's brought on by mutt's MTA requirement).

-- 
+-+
|  Len Philpot   ><> http://philpot.org/  |
|  [EMAIL PROTECTED] [EMAIL PROTECTED] (alt)  |
+-+



Re: How to place a request of receipt for an outgoing mail?

2002-01-02 Thread Alain Bench

Hello Charles, hello ALL, and happy new year for everyone!

I'm new in this list, and not really fluent in english, sorry. But
it's a good day to begin. :-)


 On Monday, December 31, 2001 at 11:15:10 AM +0800, Charles Jie wrote:

> I was able to request for receipt in my mail while using Outlook
> Express or Netscape. But how to do it in Mutt?

Put this line in your muttrc to always request for receipt:

my_hdr Disposition-Notification-To: [EMAIL PROTECTED]

Or just insert the field into header while composing a mail for a
one time request.

AFAIK Mutt itself doesn't reply to such incoming requests, nor deals
automatically with the message/disposition-notification reports comming
back. Am I right? Or is there a script or patch somewhere?


Bye!Alain.



Support for Maildir in mutt

2002-01-02 Thread Sudhir Kumar

We have qmail installed in our system and the default delivery mechanism 
is Maildir.How can I configure mutt to read mails from Maildir.

Does mutt support Maildir format natively? If not is there a patch?

Thanks,
-- sudhir
[EMAIL PROTECTED]




Working with mbox

2002-01-02 Thread Rob 'Feztaa' Park

Hey all. I was just wondering if there was some way that I could get
mutt to automatically set up my mbox hooks for every folder in my ~/mail
directory, so that way I can subscribe to a new mailing list without
having to edit my .muttrc.

Right now I've got this set up:

mbox-hook =spam "=archives/`date +%Y-%m`-spam"
mbox-hook =inbox "=archives/`date +%Y-%m`-inbox"
...

(and so on for all of my mboxes). I want to automate this so I don't
have to write a new one for all future mailing lists that I might decide
to subscribe to :)

I'm pretty sure I've seen this done somewhere, but I can't find it.

Thanks :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"The Irish gave the bagpipes to the Scots as a joke, but the Scots
haven't seen the joke yet."
-- Oliver Herford



Re: Where's the MAIL FROM line?

2002-01-02 Thread Ben Reser

On Wed, Jan 02, 2002 at 05:24:57AM +0100, Cliff Sarginson wrote:
> I think he means the "MAIL FROM" that is part of the SMTP dialog that
> goes on between MTA's.

If so my mail server puts it as part of the Received header like so:
Received: from ns.gbnet.net ([EMAIL PROTECTED] [194.70.126.10])
by stroke.of.genius.brain.org (8.11.6/8.11.6) with SMTP id
g024PN200332 for <[EMAIL PROTECTED]>; Tue, 1 Jan 2002
20:25:23 -0800 (PST)

Take note of the for <[EMAIL PROTECTED]> bit.

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

"I wish it need not have happened in my time," said Frodo.
"So do I," said Gandalf, "and so do all who live in such times. But
that is not for them to decide.  All we have to decide is what to do
with the time that is given us."



Re: Support for Maildir in mutt

2002-01-02 Thread David T-G

Sudhir --

...and then Sudhir Kumar said...
% 
% We have qmail installed in our system and the default delivery mechanism 
% is Maildir.How can I configure mutt to read mails from Maildir.

mutt will read mbox, Maildir, MH, and MMDF mailboxes automatically and
without any additional configuration (it will read mailboxes over an
IMAP connection, too); just point mutt at your maildir with something
like

  mutt -f ~/Maildir/

and you're off and running.

To have mutt create new mailboxes (such as, for example, =sent) in
Maildir format by default, set $mbox_type appropriately.  See sections
4.6 and 6.3.88 in the manual for more details.


% 
% Does mutt support Maildir format natively? If not is there a patch?

Yep.  Nope; no need.


% 
% Thanks,
% -- sudhir
% [EMAIL PROTECTED]

HTH & HAND & Happy New Year to all


:-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!




msg22097/pgp0.pgp
Description: PGP signature


Re: Where's the MAIL FROM line?

2002-01-02 Thread David T-G

Ben, et al --

...and then Ben Reser said...
% 
% On Wed, Jan 02, 2002 at 05:24:57AM +0100, Cliff Sarginson wrote:
% > I think he means the "MAIL FROM" that is part of the SMTP dialog that
% > goes on between MTA's.
% 
% If so my mail server puts it as part of the Received header like so:
% Received: from ns.gbnet.net ([EMAIL PROTECTED] [194.70.126.10])
% by stroke.of.genius.brain.org (8.11.6/8.11.6) with SMTP id
%   g024PN200332 for <[EMAIL PROTECTED]>; Tue, 1 Jan 2002
%   20:25:23 -0800 (PST)
% 
% Take note of the for <[EMAIL PROTECTED]> bit.

Are you sure that's not the RCPT TO: part?


% 
% -- 
% Ben Reser <[EMAIL PROTECTED]>
% http://ben.reser.org
% 
% "I wish it need not have happened in my time," said Frodo.
% "So do I," said Gandalf, "and so do all who live in such times. But
% that is not for them to decide.  All we have to decide is what to do
% with the time that is given us."


HTH & HAND & Happy New Year to all

:-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!




msg22098/pgp0.pgp
Description: PGP signature


Re: Working with mbox

2002-01-02 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Hey all. I was just wondering if there was some way that I could get
% mutt to automatically set up my mbox hooks for every folder in my ~/mail
% directory, so that way I can subscribe to a new mailing list without
% having to edit my .muttrc.
% 
% Right now I've got this set up:
% 
% mbox-hook =spam "=archives/`date +%Y-%m`-spam"
% mbox-hook =inbox "=archives/`date +%Y-%m`-inbox"
% ...

It's untested, but what about

  mbox-hook . "=archives/`date +%Y-%m`-%O"

to tell mutt to save in the original save folder but under this new
directory?  %O is detailed in 6.3.76, and I like to use it in conjunction
with the %_ patch from O'Shaughnessy Evans to ensure that the folder
name will be lowercased.


% 
% (and so on for all of my mboxes). I want to automate this so I don't
% have to write a new one for all future mailing lists that I might decide
% to subscribe to :)
% 
% I'm pretty sure I've seen this done somewhere, but I can't find it.
% 
% Thanks :)

HTH & HAND & Happy New Year to all!


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% "The Irish gave the bagpipes to the Scots as a joke, but the Scots
% haven't seen the joke yet."
%   -- Oliver Herford


:-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!




msg22099/pgp0.pgp
Description: PGP signature


Re: Support for Maildir in mutt

2002-01-02 Thread Ralf Hildebrandt

On Tue, Jan 01, 2002 at 05:16:49PM -0500, Sudhir Kumar wrote:

> We have qmail installed in our system and the default delivery
> mechanism is Maildir.How can I configure mutt to read mails from
> Maildir.

I use:

set mbox="~/Maildir"
set mbox_type="Maildir"
set folder=~/Maildir
# directory with all mail folders
set spoolfile=~/Maildir/inbox/

> Does mutt support Maildir format natively?

Yes.

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   [EMAIL PROTECTED]
Charite Campus Virchow-Klinikum Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
"My other computer is an abacus ... which is still better than a mac."
  -- Anonymous




Re: Support for Maildir in mutt

2002-01-02 Thread Philip Mak

On Tue, 1 Jan 2002, Sudhir Kumar wrote:

> We have qmail installed in our system and the default delivery mechanism
> is Maildir.How can I configure mutt to read mails from Maildir.

Put this in /etc/profile (or equivalent file if your system use something
else):

MAIL="$HOME/Maildir/"

> Does mutt support Maildir format natively? If not is there a patch?

Yes. All you need to do is let mutt know where to find the Maildir, which
you can do using that line in /etc/profile. (Log out and log back in after
adding that line, or it won't work.)




Re: List-Reply problems

2002-01-02 Thread Roman Neuhauser

> Date: Mon, 31 Dec 2001 17:31:25 +0100
> From: Nick Wilson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: List-Reply problems
> 
> Hi 
> I'm having trouble replying to this list.
> If I enter ,L for a 'list-reply' I get the @gbnet address come up as the
> To field.
> I now have 'subscribe [EMAIL PROTECTED]' in my .muttrc but cannot seem
> to make it work.
> 
> What might be causing this?

AFAIU this feature works roughly this way:
when you issue , mutt checks whether any of the
addresses in the headers matches one in your 'subscribe' or 'lists'
(partial) addresses. If it finds a match, it replies to that
address.

So, two scenarios:
1) you have "mutt-users" in your 'subscribe' line.
   you 'list-reply' to a message someone sent to
   [EMAIL PROTECTED]
   mutt takes that address as a list address, and puts it in the
   "To:" field.
2) you have "[EMAIL PROTECTED]" in your 'subscribe' line.
   you 'list-reply' to a message someone sent to
   [EMAIL PROTECTED]
   mutt finds no match in your 'subscribe' line, and the command
   fails.
   
Somebody correct me if this is wrong -- I haven't checked the
source.

-- 
FreeBSD 4.4-STABLE
2:38PM up 7 days, 1:15, 11 users, load averages: 0.06, 0.03, 0.00



Re: Using message-hook to run messages through a filter

2002-01-02 Thread Andre Majorel

On 2002-01-01 10:03 +, Benjamin Smith wrote:

> On Mon, Dec 31, 2001 at 01:36:03PM +0100, Andre Majorel wrote:
> > On 2001-12-28 18:22 +0100, Roman Neuhauser wrote:
> > 
> > > > I thought that 
> > > > 
> > > >   message-hook "~f joe@blow\.com" "pipe-message /usr/local/bin/unmangle"
> > > > 
> > > > would do the trick but Mutt says "pipe-message: unknown command".
> > > 
> > > It's  (incl. the angle brackets) isn't it?
> > 
> > I've tried that too and Mutt doesn't like it either.
> 
> If you're trying to call a function you need to push or exec it onto the
> keyboard buffer ie.
> 
> message-hook "~f joe@blow\.com" "push
> '/usr/local/bin/unmangle'" (untested)

When hitting [return] on one of joe's messages, Mutt displays the
message with more(1) or some other pager, displays "press any key
to continue" and displays it again ad nauseam.

> or
>
> message-hook "~f joe@blow\.com" "exec pipe-message
> /usr/local/bin/unmangle" (untested)

When hitting [return] on one of joe's messages, Mutt pauses for
one second and then displays the message normally (*without*
filtering it).

Obviously, I don't understand pipe-message.

Thanks, folks.

-- 
André Majorel http://www.teaser.fr/~amajorel/>
std::disclaimer ("Not speaking for my employer");



Re: How to place a request of receipt for an outgoing mail?

2002-01-02 Thread Cliff Sarginson

On Tue, Jan 01, 2002 at 09:05:40PM +0100, Alain Bench wrote:
> Hello Charles, hello ALL, and happy new year for everyone!
> 
> I'm new in this list, and not really fluent in english, sorry. But
> it's a good day to begin. :-)
> 
> 
>  On Monday, December 31, 2001 at 11:15:10 AM +0800, Charles Jie wrote:
> 
> > I was able to request for receipt in my mail while using Outlook
> > Express or Netscape. But how to do it in Mutt?
> 
> Put this line in your muttrc to always request for receipt:
> 
> my_hdr Disposition-Notification-To: [EMAIL PROTECTED]
> 
> Or just insert the field into header while composing a mail for a
> one time request.
> 
> AFAIK Mutt itself doesn't reply to such incoming requests, nor deals
> automatically with the message/disposition-notification reports comming
> back. Am I right? Or is there a script or patch somewhere?
> 
The MTA's involved have to understand this, all of them along the way
if I recall correctly, so it is not a guarantee.
Since people get the option not to allow the sending of the receipt 
back in Outlook and Netscape it means squat anyway.

Frankly it is a diabolical practise, causes uneccessary and pointless
mail. If a mail is so important that you *must* be certain it has been
read then phone the person up. Since the mechanism is inherently
unreliable anyway, what is the point of using it ?

-- 
Regards
Cliff





Re: How to place a request of receipt for an outgoing mail?

2002-01-02 Thread Lars Hecking

 
> Frankly it is a diabolical practise, causes uneccessary and pointless
> mail. If a mail is so important that you *must* be certain it has been
> read then phone the person up. Since the mechanism is inherently
> unreliable anyway, what is the point of using it ?

 Exactly. Every now and then, I have to remove undeliverable notification
 receipts from the mail queue. Undeliverable, because the original mails
 apparently underwent some internal->external address rewriting, but the
 address in the DSN header was not rewritten.




To log the time I spend in reading/writing a mail

2002-01-02 Thread Charles Jie

Mail consumes a lot of time.

Is it possible to have mutt record the time I use to read or write a
mail? I hope to know how much time I spend in a folder (a kind of info).

Further, I want a timer to alert me when I'm going to run out of the
pre-set time for reading or writing a mail.

Are the solution there? Or quick solution available?

thanks,
charlie



Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Philip Mak

On Wed, 2 Jan 2002, Charles Jie wrote:

> Is it possible to have mutt record the time I use to read or write a
> mail? I hope to know how much time I spend in a folder (a kind of info).
>
> Further, I want a timer to alert me when I'm going to run out of the
> pre-set time for reading or writing a mail.
>
> Are the solution there? Or quick solution available?

I don't know of any existing solutions, but I can tell you where to start,
assuming you can program it yourself.

In .muttrc, you can ``set editor="some command"''. Change that to run a
wrapper script that records the current time, starts your text editor
(e.g. pico or vi) in the background, and then keeps monitoring your
editor's PID to see if it's still running. If you take too long, then it
can write to /dev/yourterminal to tell you that you're taking too long.
When it sees that the PID has stopped running, it knows you're finished
and it can log the time that you tok.

The above method will enable you to see how long it takes you to write a
mail, but there's a bit of programming that you'd have to do.

As for seeing how long it takes you to read a mail, I think that you can
set mutt to use a different program to read a mail; if you do that, you'd
be able to use the same method as above. I'm not sure if you can still use
the mutt pager and be able to log how long it takes.

Of course, you can do anything if you patch mutt's source code, but it
will probably be more difficult since you have to write in C instead of
perl, and you have to figure out how mutt's source code works first.




Re: Where's the MAIL FROM line?

2002-01-02 Thread Cliff Sarginson

On Wed, Jan 02, 2002 at 07:16:10AM -0500, Philip Mak wrote:
> On Wed, 2 Jan 2002, David T-G wrote:
> 
> > But it's used for message information, no?  It becomes the ^From: line,
> > or at least so it appears.  That's why it's so easy to fake and so on,
> > too, but it looks like whatever is put there would show up in the header.
> 
> It's not the ^From: line. For example, when I send e-mail to
> [EMAIL PROTECTED], I think the SMTP transaction goes something like
> this:
> 
> $ telnet localhost 25
> HELO localhost
> MAIL FROM:[EMAIL PROTECTED]
> RCPT TO:[EMAIL PROTECTED]
> DATA
> From: Philip Mak <[EMAIL PROTECTED]>
> To: Mutt Users' List <[EMAIL PROTECTED]>
> Subject: Re: Where's the MAIL FROM line?
> 
> Message text goes here.
> .
> 
> The "MAIL FROM" line is not necessarily the same as the ^From: line. In
> mbox format, the former shows up as "From [@] " on the
> first line of the message, but Maildir format doesn't have that.

Yup.

-- 
Regards
Cliff





Figured out (Re: Where's the MAIL FROM line?)

2002-01-02 Thread Philip Mak

I figured it out. It had to do with my MDA (Mail Delivery Agent).

qmail sets environment variables that tells the MDA what the "MAIL FROM"
line was. But, my MDA (maildrop) does not read the environment variables,
so that the data doesn't get saved in my Maildir.

It was a matter of changing my .qmail file from:

|/usr/local/bin/maildrop

to:

|/var/qmail/bin/preline -f /usr/local/bin/maildrop




Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Cliff Sarginson

On Wed, Jan 02, 2002 at 10:28:00PM +0800, Charles Jie wrote:
> Mail consumes a lot of time.
> 
> Is it possible to have mutt record the time I use to read or write a
> mail? I hope to know how much time I spend in a folder (a kind of info).
> 
> Further, I want a timer to alert me when I'm going to run out of the
> pre-set time for reading or writing a mail.
> 
> Are the solution there? Or quick solution available?
> 
A stopwatch, and/or an alarm clock.
Excuse me but this is Mr Dumb question of 2002 :)
-- 
Regards
Cliff





sending and signing as multiple people

2002-01-02 Thread David T-G

Hi, all --

If I were writing something with, say, my brother and we both wanted to
sign it, we could each create a detached signature of the document and
then post it and the sigs somewhere, or even mail the lot around.  We
could further put both of our addresses in the Reply-To: field,
regardless of which of us sent it.

Can mutt [be made/configured/tweaked/tricked to] send something as from
multiple people and generate two signatures with two different keys?
Yes, I realize that this isn't terribly practical, since I certainly
wouldn't have my brother's secret key on my ring, but bear with me if you
will...


TIA & HAND & Happy New Year to all

:-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!




msg22111/pgp0.pgp
Description: PGP signature


Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread David T-G

Cliff, et al --

...and then Cliff Sarginson said...
% 
% On Wed, Jan 02, 2002 at 10:28:00PM +0800, Charles Jie wrote:
% > Mail consumes a lot of time.
% > 
% > Is it possible to have mutt record the time I use to read or write a
% > mail? I hope to know how much time I spend in a folder (a kind of info).
% > 
% > Further, I want a timer to alert me when I'm going to run out of the
% > pre-set time for reading or writing a mail.
% > 
% > Are the solution there? Or quick solution available?
% > 
% A stopwatch, and/or an alarm clock.
% Excuse me but this is Mr Dumb question of 2002 :)

Not necessarily...  I can already imagine a few valid reasons for a
business wanting to track how much time is spent in email -- versus,
say, actually working on a problem or doing other projects.  All sorts
of metrics have value to all sorts of people.

I admit that I don't see the real benefit of an alarm within mutt, but
maybe he's building a mutt-based standardized timed test :-)

That said, I'd kinda like to see how much time is spent reading mail,
too, particularly across multiple folders and from multiple recipients.
I could tell my brother that he's wasting my time and back it up with
statistics :-)  The trick, it seems to me, is to differentiate between
time spent reading or writing and basic idle time; I've been interrupted
already just in the course of composing this reply, but I shouldn't bill
*you* for the time not spent writing ;-)


% -- 
% Regards
% Cliff
% 


:-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!




msg22112/pgp0.pgp
Description: PGP signature


Send-hook is Lazy

2002-01-02 Thread Thorsten Haude

Hi,

I have set up my mailing lists to different addresses. To make it
easier to write mails, I have this line in my mutt.rc, and similar
lines for other mailing lists:
send-hook '~t [EMAIL PROTECTED]' 'set [EMAIL PROTECTED]'

However, this hook seems to catch too late, i.e. I see the result of
every hook of this kind only in the mail *after* the one the hook is
made for.
For example, this mail (the first I write with this instance of Mutt)
will have my local user@hostname (despite the
send-hook . 'set [EMAIL PROTECTED]'
in my mutt.rc), the next mail will have [EMAIL PROTECTED] preset.

So what is the thing I don't understand here?

I don't ususally edit-header.

Thorsten
-- 
Freedom to be an idiot is part of freedom in general.



Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Benjamin Smith

On Wed, Jan 02, 2002 at 03:58:15PM +0100, Cliff Sarginson wrote:
> > Are the solution there? Or quick solution available?
> > 
> A stopwatch, and/or an alarm clock.
> Excuse me but this is Mr Dumb question of 2002 :)

I disagree, using a stopwatch means learning how to use it, then
remembering *to* use it. A completely automated system is much more
fool-proof and usuable even when you've forgotten your stopwatch.

-- 
Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>



msg22114/pgp0.pgp
Description: PGP signature


Re: Send-hook is Lazy

2002-01-02 Thread David T-G

Thorsten --

...and then Thorsten Haude said...
% 
% Hi,

Hello!


% 
% I have set up my mailing lists to different addresses. To make it
% easier to write mails, I have this line in my mutt.rc, and similar
% lines for other mailing lists:
% send-hook '~t [EMAIL PROTECTED]' 'set [EMAIL PROTECTED]'

Makes sense.


% 
% However, this hook seems to catch too late, i.e. I see the result of
% every hook of this kind only in the mail *after* the one the hook is
% made for.
% For example, this mail (the first I write with this instance of Mutt)
% will have my local user@hostname (despite the
% send-hook . 'set [EMAIL PROTECTED]'
% in my mutt.rc), the next mail will have [EMAIL PROTECTED] preset.

A ha!


% 
% So what is the thing I don't understand here?
% 
% I don't ususally edit-header.

Perhaps the difference is that I use my_hdr instead of $from.  From my
muttrc file:

  send-hook .   unmy_hdr From:
  send-hook .   my_hdr From: [EMAIL PROTECTED] (David T-G)
  send-hook (spamcop|(submit|quick).[a-z0-9]*)@.*spamcop.net'unset pgp_autosign ; 
set editor=/bin/true signature= ; my_hdr Fcc: /dev/null ; my_hdr From: 
[EMAIL PROTECTED]'
  send-hook supremegall my_hdr From: [EMAIL PROTECTED] (David T-G)
  send-hook muttmy_hdr From: [EMAIL PROTECTED] (David T-G)
  send-hook remind  my_hdr From: [EMAIL PROTECTED] (David T-G)
  send-hook vim my_hdr From: [EMAIL PROTECTED] (David T-G)
  send-hook win4lin my_hdr From: [EMAIL PROTECTED] (David T-G)
  send-hook secureshell my_hdr From: [EMAIL PROTECTED] (David T-G)

It might, I suppose, also be the leading unmy_hdr call...


% 
% Thorsten
% -- 
% Freedom to be an idiot is part of freedom in general.


HTH & HAND & Happy New Year to all

:-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!




msg22115/pgp0.pgp
Description: PGP signature


Send-hook is Lazy

2002-01-02 Thread Thorsten Haude

Hi,

I have set up my mailing lists to different addresses. To make it
easier to write mails, I have this line in my mutt.rc, and similar
lines for other mailing lists:
send-hook '~t [EMAIL PROTECTED]' 'set [EMAIL PROTECTED]'

However, this hook seems to catch too late, i.e. I see the result of
every hook of this kind only in the mail *after* the one the hook is
made for.
For example, this mail (the first I write with this instance of Mutt)
will have my local user@hostname (despite the
send-hook . 'set [EMAIL PROTECTED]'
in my mutt.rc), the next mail will have [EMAIL PROTECTED] preset.

So what is the thing I don't understand here?

I don't ususally edit-header.

Thorsten
-- 
It has become appallingly obvious that our technology has exceeded our humanity.
- Albert Einstein



--without-iconv doesn't work?

2002-01-02 Thread Claus Assmann

System: OpenBSD 2.8
./configure --without-iconv
doesn't work:
checking for catalogs to be installed...  de ru it es uk fr pl nl cs id sk ko el zh_TW 
zh_CN pt_BR eo gl sv da lt tr ja hu et ca
configure: error: Unable to find an iconv function. See INSTALL for help

I read the INSTALL file, that's why I used
--without-iconv

BTW:
http://clisp.cons.org/~haible/packages-libiconv.html
gives 404.

Before you yell at me: I found the package (later on there is
an ftp URL).

So which part of the INSTALL file is correct: must I install
yet another library or is there a way to turn iconv off?

According to these lines in configure:

if test "$am_cv_func_iconv" != "yes"
then
  { echo "configure: error: Unable to find an iconv function. See INSTALL for help" 
1>&2; exit 1; }
fi

it's not possible to be turned off...



Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Charles Jie

Thank you for your answer, Philip. The idea is wonderful. Now it's
crystally clear to me. I'll roll up my sleeves to code it.

I've just got used to the built-in pager and thought their combination
is not bad. Thus I might not plan to replace it with 'less'.

Before I try to contribute mutt's source code, I'll go thru mutt manual
first. :)

best,
charlie


On Wed, Jan 02, 2002 at 09:46:45AM -0500, Philip Mak wrote:
>
> I don't know of any existing solutions, but I can tell you where to start,
> assuming you can program it yourself.
> ...



Re: --without-iconv doesn't work?

2002-01-02 Thread Daniel Eisenbud

This is annoying.  I've successfully compiled mutt without iconv by
commenting out lines in config.h, so I think that this is just a
braindead policy decision.  Try commenting out the iconv test you quoted
below in configure, and see what happens when you configure and build
without iconv.  Also note that for some reason the iconv macro is
defined twice in config.h: perhaps one of them is hardwired.  So make
sure they're both gone, and remove them if they're not, before you
build.  Let us know what happens -- I definitely think that mutt should
be able to compile without iconv on old boxes where users don't need the
functionality.

-Daniel

On Wed, Jan 02, 2002 at 07:20:14AM -0800, Claus Assmann <[EMAIL PROTECTED]> wrote:
> System: OpenBSD 2.8
> ./configure --without-iconv
> doesn't work:
> checking for catalogs to be installed...  de ru it es uk fr pl nl cs id sk ko el 
>zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca
> configure: error: Unable to find an iconv function. See INSTALL for help
> 
> I read the INSTALL file, that's why I used
> --without-iconv
> 
> BTW:
>   http://clisp.cons.org/~haible/packages-libiconv.html
> gives 404.
> 
> Before you yell at me: I found the package (later on there is
> an ftp URL).
> 
> So which part of the INSTALL file is correct: must I install
> yet another library or is there a way to turn iconv off?
> 
> According to these lines in configure:
> 
> if test "$am_cv_func_iconv" != "yes"
> then
>   { echo "configure: error: Unable to find an iconv function. See INSTALL for help" 
>1>&2; exit 1; }
> fi
> 
> it's not possible to be turned off...

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]

"We should go forth on the shortest walk perchance, in the spirit of
undying adventure, never to return,--prepared to send back our embalmed
hearts only as relics to our desolate kingdoms."
--Henry David Thoreau, "Walking"



Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Cliff Sarginson

On Wed, Jan 02, 2002 at 03:06:51PM +, Benjamin Smith wrote:
> On Wed, Jan 02, 2002 at 03:58:15PM +0100, Cliff Sarginson wrote:
> > > Are the solution there? Or quick solution available?
> > > 
> > A stopwatch, and/or an alarm clock.
> > Excuse me but this is Mr Dumb question of 2002 :)
> 
> I disagree, using a stopwatch means learning how to use it, then
> remembering *to* use it. A completely automated system is much more
> fool-proof 

LOL. Sorry I couldn't help but laugh.
Programs are made by people.
Watches are made by people.
Which one of these two is more fool-proof ?

Mmm.
I think my cheap supermarket watch keeps better time than most PC's
clocks..

-- 
Regards
Cliff






Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Cliff Sarginson

On Wed, Jan 02, 2002 at 11:22:36PM +0800, Charles Jie wrote:
> Thank you for your answer, Philip. The idea is wonderful. Now it's
> crystally clear to me. I'll roll up my sleeves to code it.
> 
> I've just got used to the built-in pager and thought their combination
> is not bad. Thus I might not plan to replace it with 'less'.
> 
> Before I try to contribute mutt's source code, I'll go thru mutt manual
> first. :)
> 
> best,
> charlie
> 
> 
Mmm. Maybe I find it slightly depressing that we need to feel that
automation is some answer to time management. What next ? A
time-management system to measure how much time we spend in
time-management.
We are using email here to communicate with lots of people spread
across the world, that's cool. 
People use email to send messages to people in the office next door to 
them, which probably takes longer than sticking your head around the
door and saying what you have to say.

I went on a Time Managament course once.
I got told off by the instructor on the first day for being late.
So it goes.
This message is a waste of your time .. so don't read it :)
-- 
Regards
Cliff





GPG and \012

2002-01-02 Thread Vincent Lefevre

I still have the \012 character problem with PGP-signed messages
in Mutt 1.3.25:

[-- Fin de sortie PGP --]
\012
[-- Les données suivantes sont signées --]
\012

I thought this bug was fixed. Or perhaps I have misunderstood...

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web:  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: --without-iconv doesn't work?

2002-01-02 Thread Lars Hecking


> without iconv.  Also note that for some reason the iconv macro is
> defined twice in config.h: perhaps one of them is hardwired.  So make

 The reason is that the definition in acconfig.h is superfluous. At a
 glance, it seems that about 20 definitions in acconfig.h are superfluous.

 (See "Making `configure' Scripts" in the autoconf manual for how config.h
  gets generated).




Re: Send-hook is Lazy

2002-01-02 Thread Thorsten Haude

Hi,

* David T-G <[EMAIL PROTECTED]> [02-01-02 16:16]:
>% I have set up my mailing lists to different addresses. To make it
>% easier to write mails, I have this line in my mutt.rc, and similar
>% lines for other mailing lists:
>% send-hook '~t [EMAIL PROTECTED]' 'set [EMAIL PROTECTED]'
>Makes sense.
Yes, especially considering that I forgot to change it even in this
very mail the first time.

>% For example, this mail (the first I write with this instance of Mutt)
>% will have my local user@hostname (despite the
>% send-hook . 'set [EMAIL PROTECTED]'
>% in my mutt.rc), the next mail will have [EMAIL PROTECTED] preset.
>A ha!
Uh? Something wrong here?

>Perhaps the difference is that I use my_hdr instead of $from.
Maybe, but before I try that, I would like to hear an explanation why
the $from solution doesn't work.

>  send-hook .  unmy_hdr From:
>  send-hook .  my_hdr From: [EMAIL PROTECTED] (David T-G)
>
>It might, I suppose, also be the leading unmy_hdr call...
That shouldn't really change things. Do you see a difference if you
leave it out?

Thorsten
-- 
Omnis enim res, quae quando non deficit, dum habetur
et non datur, nondum habetur, quomodo habenda est.
- Aurelius Augustinus



Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Thorsten Haude

Hi,

* Charles Jie <[EMAIL PROTECTED]> [02-01-02 16:22]:
>I've just got used to the built-in pager and thought their combination
>is not bad. Thus I might not plan to replace it with 'less'.
You might try $display_filter.

Thorsten
-- 
Das Briefgeheimnis sowie das Post- und Fernmeldegeheimnis sind unverletzlich.
- Grundgesetz, Artikel 10, Abs. 1 



Re: To log the time I spend in reading/writing a mail

2002-01-02 Thread Philip Mak

On Wed, 2 Jan 2002, Thorsten Haude wrote:

> >I've just got used to the built-in pager and thought their combination
> >is not bad. Thus I might not plan to replace it with 'less'.
> You might try $display_filter.

I was thinking about $display_filter... that command is indeed executed
when the user *starts* viewing a message, so an external timer program
could be hooked there. However, I don't think there's a program that gets
execuetd when the user *stops* viewing a message.

So it doesn't seem like the total time spent viewing a message can be
determined this way.




Re: --without-iconv doesn't work?

2002-01-02 Thread Magnus Bodin

On Wed, Jan 02, 2002 at 07:20:14AM -0800, Claus Assmann wrote:
> System: OpenBSD 2.8
> ./configure --without-iconv
> doesn't work:
> checking for catalogs to be installed...  de ru it es uk fr pl nl cs id sk ko el 
>zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca
> configure: error: Unable to find an iconv function. See INSTALL for help
> 
> I read the INSTALL file, that's why I used
> --without-iconv
> 
> BTW:
>   http://clisp.cons.org/~haible/packages-libiconv.html
> gives 404.
> 

The URL should be 


/magnus



Re: --without-iconv doesn't work?

2002-01-02 Thread Claus Assmann

On Wed, Jan 02, 2002, Daniel Eisenbud wrote:
> This is annoying.  I've successfully compiled mutt without iconv by
> commenting out lines in config.h, so I think that this is just a
> braindead policy decision.  Try commenting out the iconv test you quoted
> below in configure, and see what happens when you configure and build
> without iconv.  Also note that for some reason the iconv macro is

It fails in compilation (this is mutt-1.3.25). I started hacking
to get around the missing iconv stuff, but there seems to be too
much depending on it, e.g., charset.h includes iconv.h, if I change
that to:
#if HAVE_ICONV
#include 
#endif

then it fails somewhere else:

Making all in contrib
gcc  ... -DHAVE_CONFIG_H=1 -I. -I.  -Iintl  -I./intl  -Wall -pedantic -g -O2 -c 
patchlist.c
In file included from mutt.h:51,
 from patchlist.c:5:
charset.h:28: syntax error before `mutt_iconv_open'
charset.h:28: warning: type defaults to `int' in declaration of `mutt_iconv_open'
charset.h:28: ANSI C forbids data definition with no type or storage class
charset.h:29: syntax error before `const'
In file included from mutt.h:812,
 from patchlist.c:5:
protos.h:162: syntax error before `iconv_t'
*** Error code 1


Does your system have the iconv.h file etc? Or did you change
more than just config.h?



Re: --without-iconv doesn't work?

2002-01-02 Thread Daniel Eisenbud

On Wed, Jan 02, 2002 at 08:29:08AM -0800, Claus Assmann <[EMAIL PROTECTED]> wrote:
> On Wed, Jan 02, 2002, Daniel Eisenbud wrote:
> > This is annoying.  I've successfully compiled mutt without iconv by
> > commenting out lines in config.h, so I think that this is just a
> > braindead policy decision.  Try commenting out the iconv test you quoted
> > below in configure, and see what happens when you configure and build
> > without iconv.  Also note that for some reason the iconv macro is
> 
> It fails in compilation (this is mutt-1.3.25). I started hacking
> to get around the missing iconv stuff, but there seems to be too
> much depending on it, e.g., charset.h includes iconv.h, if I change
> that to:
> #if HAVE_ICONV
> #include 
> #endif
[...]
> Does your system have the iconv.h file etc? Or did you change
> more than just config.h?

My system does have iconv.h, which explains why it didn't fail.

I think that this bug is well worth fixing before mutt 1.4.  I'll look
into it this afternoon.

-Daniel

-- 
Daniel E. Eisenbud
[EMAIL PROTECTED]

"We should go forth on the shortest walk perchance, in the spirit of
undying adventure, never to return,--prepared to send back our embalmed
hearts only as relics to our desolate kingdoms."
--Henry David Thoreau, "Walking"



Re: --without-iconv doesn't work?

2002-01-02 Thread Lars Hecking

Claus Assmann writes:
> System: OpenBSD 2.8
> ./configure --without-iconv
> doesn't work:

 The documentation in INSTALL is wrong. There is no --without-iconv
 configure option, and configure does the right thing by bombing out.

 I think this can be fixed, though :)




Re: Where's the MAIL FROM line?

2002-01-02 Thread Ben Reser

On Wed, Jan 02, 2002 at 07:47:14AM -0500, David T-G wrote:
> Are you sure that's not the RCPT TO: part?

Your right.  This is what happens when I post late at night. :)

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

"I wish it need not have happened in my time," said Frodo.
"So do I," said Gandalf, "and so do all who live in such times. But
that is not for them to decide.  All we have to decide is what to do
with the time that is given us."



Re: GPG and \012

2002-01-02 Thread Jim Mock

On Wed, 02 Jan 2002 at 16:41:42 +0100, Vincent Lefevre wrote:
> I still have the \012 character problem with PGP-signed messages
> in Mutt 1.3.25:
> 
> [-- Fin de sortie PGP --]
> \012
> [-- Les données suivantes sont signées --]
> \012
> 
> I thought this bug was fixed. Or perhaps I have misunderstood...

I don't think it was ever committed.  The patch is attached.  Thomas,
can we get this in CVS?

- jim

-- 
jim mock <[EMAIL PROTECTED]> http://soupnazi.org/ | [EMAIL PROTECTED]


--- muttlib.c~  Mon Nov 26 20:11:54 2001
+++ muttlib.c   Mon Dec 10 23:41:39 2001
@@ -1227,7 +1227,7 @@
   while (*t)
   {
 state_putc (*t, s);
-if (*t++ == '\n' && *t)
+if (*t++ == '\n' && *t && IsPrint(*t))
   state_mark_attach (s);
   }
 }



message output after mutt terminates?

2002-01-02 Thread Claus Assmann

This behaviour is a bit strange on my OpenBSD 2.8 system:
$ ./mutt -f =mutt
123 kept, 3 deleted.

Between those two lines I read some mail and deleted 3.
At the end mutt asked me whether to (really) delete them.
I typed 'y' and then I had to hit return, which is different
from the old behaviour (I was running 1.0i before).
Thereafter the line
123 kept, 3 deleted.
was printed.

Mutt 1.3.25i (2002-01-01)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: OpenBSD 2.8 (i386) [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  -HAVE_WC_FUNCS  -HAVE_LANGINFO_CODESET  
++HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  -HAVE_GETADDRINFO  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/home/ca/share/mutt"
SYSCONFDIR="/home/ca/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[EMAIL PROTECTED]>.
To report a bug, please use the flea(1) utility.




Re: GPG and \012

2002-01-02 Thread Benjamin Smith

The same bug also bites me, see in my pager I see a '?' instead of \012.

-- 
Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>



msg22134/pgp0.pgp
Description: PGP signature


Info about field Status: and X-Status:

2002-01-02 Thread Charles Jie

My mutt in linux can not get along well with my mozilla in
windows. I found mutt maintains Status:, and mozilla Status: plus
X-Status. It looks there is something wrong with it.

To do some more experiments, I need documents about the (X-)Status:
field but I can not find.

Could anybody show me where can I get info about how the mailers use the
flags in (X-)Status: ?  Thanks.

charlie



\222 instead of "'"

2002-01-02 Thread Roman Neuhauser

Hi there,

looks like Outlook (specifically: X-Mailer: Microsoft Outlook IMO, Build
9.0.2416 (9.0.2911.0)) does something wrong when it base64-encodes a
message: single quote becomes "\222". Instead of "I'm not sure", mutt
would display "I\222m not sure". Anyone else seeing this? How can I get
compensate for it?

This is a snippet from a message where I noticed this:
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.
[...]
This is a multi-part message in MIME format.
--=_NextPart_000_0038_01C1931A.1931A040
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: base64
[...]

my environment:
LANG=cs_CZ.ISO_8859-2
LC_COLLATE=en_US.ISO_8859-1
LC_MESSAGES=en_US.ISO_8859-1
LC_MONETARY=en_US.ISO_8859-1
LC_NUMERIC=en_US.ISO_8859-1
LC_TIME=en_US.ISO_8859-1
MM_CHARSET=ISO-8859-2

my .muttrc:
set charset = "iso-8859-2"

-- 
FreeBSD 4.4-STABLE
8:30PM up 7 days, 7:08, 19 users, load averages: 0.02, 0.03, 0.00



pgp-hook and key selection

2002-01-02 Thread Dale Woolridge

Attached is a patch which introduces two new variables, pgp_autoselectkey and
pgp_confirmhook, with defaults of 0/no and 1/yes respectively.  The motivation
here is that when I use pgp-hook I really don't want to be asked if that's the
key I intended to use.  Arguably, the confirmation is useful in case I've made
a typo, but I think that would still be a one-time check.  Similarly, the
automatic selection of a key is useful to me since I've (usually) already
decided on the correct key with pgp-hook.  There is also the case where key
selection is obvious based on recipient address.  Any chances this will get
included into the next/some release of mutt?

regards.
--
-Dale


--- init.h 2002/01/02 07:27:09  1.1.1.2
+++ init.h 2002/01/02 19:07:13
@@ -1148,6 +1148,14 @@
 
 #ifdef HAVE_PGP
 
+  { "pgp_autoselectkey",   DT_BOOL, R_NONE, OPTPGPAUTOSELECT, 0 },
+  /*
+  ** .pp
+  ** If set, then a list of keys is not presented for selection when only
+  ** one matching key is available.  This may be useful in conjunction with
+  ** the \fIpgp-hook\fP command (with ``$$pgp_confirmhook'' set) and the
+  ** ``$$pgp_ignore_subkeys'' variable.
+  */
   { "pgp_autosign",DT_BOOL, R_NONE, OPTPGPAUTOSIGN, 0 },
   /*
   ** .pp
@@ -1164,6 +1172,14 @@
   ** to the \fIsend-hook\fP command.  It can be overridden by use of the
   ** \fIpgp-menu\fP, when encryption is not required or signing is
   ** requested as well.
+  */
+  { "pgp_confirmhook", DT_BOOL, R_NONE, OPTPGPCONFIRMHOOK, 1 },
+  /*
+  ** .pp
+  ** If set, then you will be prompted for confirmation of keys when using
+  ** the \fIpgp-hook\fP command.  If unset, no such confirmation prompt will
+  ** be presented.  This is generally considered unsafe, especially where
+  ** typos are concerned.
   */
   { "pgp_ignore_subkeys", DT_BOOL, R_NONE, OPTPGPIGNORESUB, 1},
   /*
--- mutt.h 2002/01/02 07:27:09  1.1.1.2
+++ mutt.h 2002/01/02 08:07:32
@@ -411,8 +411,10 @@
   /* PGP options */
   
 #ifdef HAVE_PGP
+  OPTPGPAUTOSELECT,
   OPTPGPAUTOSIGN,
   OPTPGPAUTOENCRYPT,
+  OPTPGPCONFIRMHOOK,
   OPTPGPIGNORESUB,
   OPTPGPLONGIDS,
   OPTPGPREPLYENCRYPT,
--- pgp.c 2001/12/28 07:50:33   1.1.1.1
+++ pgp.c 2002/01/02 06:30:44
@@ -1366,7 +1366,7 @@
 {
   int r;
   snprintf (buf, sizeof (buf), _("Use keyID = \"%s\" for %s?"), keyID, 
p->mailbox);
-  if ((r = mutt_yesorno (buf, M_YES)) == M_YES)
+  if (!option(OPTPGPCONFIRMHOOK) || (r = mutt_yesorno (buf, M_YES)) == M_YES)
   {
/* check for e-mail address */
if ((t = strchr (keyID, '@')) && 
--- pgpkey.c 2001/12/28 07:50:331.1.1.1
+++ pgpkey.c 2002/01/02 19:15:39
@@ -435,6 +435,11 @@
   return rv;
 }
 
+
+#define pgp_trusted_key(k) (!option(OPTPGPCHECKTRUST) \
+|| (pgp_id_is_valid((k)->address) \
+&& pgp_id_is_strong((k)->address)))
+
 static pgp_key_t *pgp_select_key (pgp_key_t *keys,
  ADDRESS * p, const char *s)
 {
@@ -450,6 +455,7 @@
   pgp_uid_t *a;
   int (*f) (const void *, const void *);
 
+  int keymatch = 0;/* count matching keys */
   int unusable = 0;
 
   keymax = 0;
@@ -479,6 +485,7 @@
   
   KeyTable[i++] = a;
 }
+keymatch++;
   }
 
   if (!i && unusable)
@@ -487,6 +494,17 @@
 mutt_sleep (1);
 return NULL;
   }
+  else if (keymatch == 1 && option(OPTPGPAUTOSELECT) && 
+pgp_trusted_key(KeyTable[0]->parent))
+  {
+/*
+ * In fact, there may be multiple entries in KeyTable even when there is only
+ * one matching key as there may be many addresses (uids) per key...we select
+ * the 0th entry, which is actually the last one listedshould be irrelevant
+ */
+kp = KeyTable[0]->parent;
+safe_free ((void **) &KeyTable);
+return (kp);
+  }
 
   switch (PgpSortKeys & SORT_MASK)
   {
@@ -597,9 +615,7 @@
  break;
}
   
-  if (option (OPTPGPCHECKTRUST) &&
- (!pgp_id_is_valid (KeyTable[menu->current])
-  || !pgp_id_is_strong (KeyTable[menu->current])))
+  if (!pgp_trusted_key(KeyTable[menu->current]->parent))
   {
char *s = "";
char buff[LONG_STRING];



msg22137/pgp0.pgp
Description: PGP signature


Re: \222 instead of "'"

2002-01-02 Thread Magnus Bodin

On Wed, Jan 02, 2002 at 09:04:56PM +0100, Roman Neuhauser wrote:
> Hi there,
> 
> looks like Outlook (specifically: X-Mailer: Microsoft Outlook IMO, Build
> 9.0.2416 (9.0.2911.0)) does something wrong when it base64-encodes a
> message: single quote becomes "\222". Instead of "I'm not sure", mutt
> would display "I\222m not sure". Anyone else seeing this? How can I get
> compensate for it?

The ways to compensate is to convert the charset to a proper one. 

The problem is that users and software on the Windows platform often
confuses the iso-8859-1 character set with Windows-1252.

Windows-1252 is a superset of iso-8859-1 and includes a number of
additional characters. 



Windows users and their software usually mix in WIN-1252 chars in
iso-8859-1 text. I think of it as their problem more than yours. 

/magnus



Incorrect release date for 1.2.5.1?

2002-01-02 Thread Walt Mankowski

I just built and installed mutt 1.2.5.1.  When I run "mutt -v", it
reports that it's "Mutt 1.2.5.1i (2000-07-28)".  Did someone forget to
update reldate.h?

Walt




msg22139/pgp0.pgp
Description: PGP signature


Re: [Announce] SECURITY: mutt-1.2.5.1 and mutt-1.3.25 released.

2002-01-02 Thread Russell Hoover

On Tue 01/01/02 at 09:40 PM +0100, Thomas Roessler
<[EMAIL PROTECTED]> wrote:

> mutt-1.2.5.1 and mutt-1.3.25 have just been released.
> These releases both fix a security hole which can be remotely
> exploited.


May we be told the nature (if not the details) of the vulnerability?

-- 
   // [EMAIL PROTECTED] //



msg22140/pgp0.pgp
Description: PGP signature


Re: Binary version for MUTT

2002-01-02 Thread David Champion

On 2001.12.31, in <[EMAIL PROTECTED]>,
"Will Yardley" <[EMAIL PROTECTED]> wrote:
> Srivastava, Mohit wrote:
> 
> > we have Solaris 5.7 
> > we tried installing GNU C compiler buw were having problems.
> > It would be great if u can add for for Solaris .
> 
> a few things...
> 
> 1) you're probably going to need to install packages other than gcc.  if
> you're using gcc, you should probably use the GNU binutils as well,
> rather than the one in /usr/ccs/bin

Why? The only reason I've found to use binutils instead of the /usr/ccs
tools is that buggy software sometimes assumes that I'm using binutils
syntax if I'm using gcc. I take that as an opportunity to contribute
fixes for the buggy software, not a cause to reconfigure gcc to use
binutils. :)

The /usr/ccs programs work fine with gcc, and keep abreast of changes in
Solaris itself much more than the binutils analogues do.


> there's a good list somewhere of things you need in order to compile
> stuff nicely on slowlaris.

In my experience, most third-party software is *needed* only to dodge
poor design choices in "free" software. There are many things that are
useful, but not needed, though.


> LDFLAGS=-Wl,-R/usr/local/lib ./configure --with-libiconv-prefix=/usr/local
> 
> to get mutt to compile.  i'm not sure if that's the right way to do it
> on solaris but it seemed to work.

You can also configure gcc to always run the linker with
-R/usr/local/lib (see /usr/local/lib/gcc-lib/*-*-solaris*/*/specs), or
you can avoid this problem by using LD_LIBRARY_PATH or LD_RUN_PATH as
appropriate.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread Rob 'Feztaa' Park

Alas! David T-G spake thus:
> In fact, I often don't save the original message, but only my outbound
> reply with his message quoted in it.  I can follow the conversation well
> enough iand save *some* disk space (yes, I already save a lot of mail, but
  
This, from the man who has what? 11 years of archived mail? Or is it 12
years now? :)

> one tries to be good :-) and some search time; if I quote little or none
> of the original, THEN I drop it into =username with its reply.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
C:\WINDOWS;C:\WINDOWS\GO;C:\PC\CRAWL



msg22142/pgp0.pgp
Description: PGP signature


Re: A happy new year!

2002-01-02 Thread Rob 'Feztaa' Park

Alas! Benjamin Smith spake thus:
> > > Happy 2002 to you all!
> > 
> > Lets hope it turns out better than the last one!
> 
> Why? Did something bad happen in 2002BC?

Yeah, that was a bad year for me. It was right near the end of the stone
age, and all these bronze tools were created. It was obvious that it
would just go downhill from there...

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
"I chased a girl for two years only to discover that her tastes
were exactly like mine: We were both crazy about girls."
-- Groucho Marx



msg22143/pgp0.pgp
Description: PGP signature


mail filtering with procmail

2002-01-02 Thread Raynald Mompoint

I just recently started using the combination
fetchmail + procmail + mutt. Procmail seems to filter my incoming
mail OK and puts them in the appropriate mailboxes. But I am
seeing two things that dont seem right.

1. With mutt running, new mail that should be filtered appears to come into my
default mailbox (/var/mail/ FIRST and then a while
later it gets moved to the correct mailbox. Shouldn't the mail
go directly to the correct mailbox?

2. While mutt is running I feek seeing the message 
"Mailbox Modified. Flags may be incorrect.". Why is this happening?




Re: mail filtering with procmail

2002-01-02 Thread Cliff Sarginson

On Wed, Jan 02, 2002 at 05:49:40PM -0800, Raynald Mompoint wrote:
> I just recently started using the combination
> fetchmail + procmail + mutt. Procmail seems to filter my incoming
> mail OK and puts them in the appropriate mailboxes. But I am
> seeing two things that dont seem right.
> 
> 1. With mutt running, new mail that should be filtered appears to come into my
> default mailbox (/var/mail/ FIRST and then a while
> later it gets moved to the correct mailbox. Shouldn't the mail
> go directly to the correct mailbox?
> 
> 2. While mutt is running I feek seeing the message 
> "Mailbox Modified. Flags may be incorrect.". Why is this happening?

Sounds like a locking problem to me.
I am sure someone else will explain, since procmail and it's use of
locks is one of the greatest mysteries on earth (at least to a dummy
like me) I will be interested to read the answer.

-- 
Regards
Cliff





Re: \222 instead of "'"

2002-01-02 Thread Robert A. Knop Jr.

> Windows-1252 is a superset of iso-8859-1 and includes a number of
> additional characters. 
> 
>   
> 
> Windows users and their software usually mix in WIN-1252 chars in
> iso-8859-1 text. I think of it as their problem more than yours. 

It's their mistake, but it's our problem, alas.  The Windows machines
are ubiquitous, and the broken CP-1252 quotes and such are all over the
place.  A pity, but a fact of life.

-Rob



change-folder in browser?

2002-01-02 Thread Will Yardley

maybe this is a dumb question, but is there a reason you can't do
 in the browser?

-w



Re: How to place a request of receipt for an outgoing mail?

2002-01-02 Thread Charles Jie

Hi, thank you, Alain, et al,

After reading Cliff's post and mutt's manual, I am not sure whether
Disposition-Notification-To: will do what I want.

It's said it's dealt with by MTA. And reports success when the
"transmission" succeeds. -- Does that mean the mail just succeessfully
drops into the recipient's mbox instead of being opened for reading?

What I want to get is the RECIPIENT's answering (eg. thru a dialog box),
not of the system.

The value of this mechanism is that the recipient is automatically
prompted for a receipt, and I can get noticed as soon as possible when
he/she is back or available - avoiding many calls in vain.

many thanks,
charlie


On Tue, Jan 01, 2002 at 09:05:40PM +0100, Alain Bench wrote:
>
> Put this line in your muttrc to always request for receipt:
>
> my_hdr Disposition-Notification-To: [EMAIL PROTECTED]
>



Re: mail filtering with procmail

2002-01-02 Thread Roman Neuhauser

> Date: Thu, 3 Jan 2002 02:58:36 +0100
> From: Cliff Sarginson <[EMAIL PROTECTED]>
> To: Mutt Users <[EMAIL PROTECTED]>
> Subject: Re: mail filtering with procmail
 
[...]

> procmail and it's use of locks is one of the greatest mysteries on
> earth (at least to a dummy like me)

Hi Cliff,

I see you keep bashing procmail. Do you use it? Looks like switching
to something else might greatly help your emotional stability. :)

-- 
FreeBSD 4.4-STABLE
7:47AM up 7 days, 18:25, 19 users, load averages: 0.01, 0.01, 0.00



Re: mail filtering with procmail

2002-01-02 Thread Cliff Sarginson

On Thu, Jan 03, 2002 at 07:50:17AM +0100, Roman Neuhauser wrote:
> > Date: Thu, 3 Jan 2002 02:58:36 +0100
> > From: Cliff Sarginson <[EMAIL PROTECTED]>
> > To: Mutt Users <[EMAIL PROTECTED]>
> > Subject: Re: mail filtering with procmail
>  
> [...]
> 
> > procmail and it's use of locks is one of the greatest mysteries on
> > earth (at least to a dummy like me)
> 
> Hi Cliff,
> 
> I see you keep bashing procmail. Do you use it? Looks like switching
> to something else might greatly help your emotional stability. :)
> 
Lol, you are right, I should shutup about it.
Not another word, I promise :)

-- 
Regards
Cliff




Re: \222 instead of "'"

2002-01-02 Thread Roman Neuhauser

> Date: Wed, 2 Jan 2002 20:23:04 -0600
> From: "Robert A. Knop Jr." <[EMAIL PROTECTED]>
> To: Magnus Bodin <[EMAIL PROTECTED]>
> Cc: mutt-users <[EMAIL PROTECTED]>
> Subject: Re: \222 instead of "'"
> 
> > Windows-1252 is a superset of iso-8859-1 and includes a number of
> > additional characters. 
> > 
> > 
> > 
> > Windows users and their software usually mix in WIN-1252 chars in
> > iso-8859-1 text. I think of it as their problem more than yours. 
> 
> It's their mistake, but it's our problem, alas.  The Windows machines
> are ubiquitous, and the broken CP-1252 quotes and such are all over the
> place.  A pity, but a fact of life.

Yep. I don't see how someone could think that having my display
broken is not my problem. Sure, it's the other party's fault, but
that's it.

That said, I've just had a look at the mutt docs (FAQ+manual), and
looks like this isn't mentioned. Does every user of mutt have to
reinvent the wheel? Or does everybody just bite the bullet?

Also, it occured to me that I could probably use message-hook to
identify Outlook messages and override the charset. Would this work?
Does anyone use it?
   
-- 
FreeBSD 4.4-STABLE
8:30AM up 7 days, 19:07, 19 users, load averages: 0.02, 0.09, 0.06