Re: Index format

2002-02-07 Thread Gary Johnson

On Wed, Feb 06, 2002 at 05:36:23PM +, Patrick Colbeck wrote:

> Unfortunately I cannot get mutt to recognise the folder hook, no errors
> are generated but there is no change in the index format. If I change
> the global format even with a "folder hook ." then I do see a change.
> 
> I am using Mutt 1.3.22.1i on SuSE 7.2
> 
> Here is some of my muttrc (stolen from all over the net)
> 
> set folder=~/Mail
> 
> #folder-hook . 'set index_format="%4C %Z %{%b %d} %-15.15t (%4l) %s"'
> folder-hook . 'set index_format="%4C %Z %{%b %d} %-15.15t (%4l) %t"'
> 
> either of the two above work and change the index in all mailboxes
> 
> folder-hook +Spool/mutt-users my_hdr From: [EMAIL PROTECTED]
> folder-hook +Spool/mutt-users set signature=~/Signatures/bashq.sig
> folder-hook +Spool/mutt-users 'fcc-hook .* +Outgoing/mutt-user
> folder-hook +Outgoing/mutt-users 'set index_format="%4C %Z %{%b %d}
> %-15.15t (%4l) %s"'
> 
> The above doesnt work in that ~/Mail/Outgoing/mutt-users gets the same
> index as whatever is set as the default for all folders.

The only things wrong I can see are that the line

> folder-hook +Spool/mutt-users 'fcc-hook .* +Outgoing/mutt-user

has only one single-quote and that the line

> folder-hook +Outgoing/mutt-users 'set index_format="%4C %Z %{%b %d}
> %-15.15t (%4l) %s"'

wraps.  Otherwise, your use of the folder-hook looks fine, including
putting the default folder-hook first.  You said the index_formats
worked when set directly, so I didn't look closely at those.

HTH,
Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



Unable to send email

2002-02-07 Thread Lei Ding

Hello everybody,
I just started to using exim. Recieving pop3 mail is fine.
But Whenever I send email, mutt didn't reports any failure. But It just
unable to deliver to the destination. I have also checked for local
mail, there also aren't any errors or deliver failure notice. I am using
debian woody(unstable).
I have the following entries in my /etc/email-addresses

lei: [EMAIL PROTECTED]

Thanks






Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread David T-G

Ken, et al --

...and then Ken Weingold said...
% 
% On Wed, Feb  6, 2002, Rob 'Feztaa' Park wrote:
% > I just got an email from a nondescript luser asking how I put my replies
...
% > So what do you guys think now? Lusers forced into poor quoting by
% > default settings they don't know how to change, or lusers stubbornly
% > refusing to do anything resembling intelligent behavior?
% 
% Well first you need to get the new O'Reilly book:
% .  Second, as you may know, you

That is *awesome*!


% can actually get Outlook to quote properly, but all the others on the
% network will top post right back.  Plus when you set quoting to "> "

Yeah, but that's your (and her) opportunity to trim the bottom and only
quote from the new stuff, since the context gets changed to that.


% in the options, every time you are in that dialog box and hit Ok, it
% will complain. :-/

That's just about spell checking, though.


% 
% -Ken


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




msg24268/pgp0.pgp
Description: PGP signature


Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread David T-G

Rob, et al --

...and then Feztaa said...
% 
% Alas! Ken Weingold spake thus:
% > Well first you need to get the new O'Reilly book:
% > .  
% 
% ROFL, I want that book ;)

Indeed!


% 
% > Second, as you may know, you can actually get Outlook to quote
% > properly, but all the others on the network will top post right back.
% 
% Largely a non-issue: This isn't a LAN. Just one home user trying to
% teach another how to quote properly. Any such 'network' could only refer
% to the entire internet.
% 
% > Plus when you set quoting to "> " in the options, every time you are
% > in that dialog box and hit Ok, it will complain. :-/
% 
% Really? The messages I get from her seem to be quoted with "> "
% properly, she just doesn't know how to actually write a proper email.

It's not that it doesn't work (and you can even set it to "% " easily
enough :-) but that modifying the original message by line-quoting it
will mess up the spell checker's ability to skip over that part.


% 
% For example, I just got a message from her in response to the one where
% I try to explain how to quote, and her replies were all quoted to the
% same depth as mine: no way to tell who wrote what. In fact, my message
% and her reply were all one big paragraph.

I think your later analysis of her sending in HTML or RTF is accurate.
You should check, however, your PGP settings.  In my experience, LookOut!
will not quote a MIME-signed body because it thinks it isn't text (and
yet it somehow knows enough to put it into the message body for reply!).


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% Microsoft - because God hates us.

How apropos...


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




msg24269/pgp0.pgp
Description: PGP signature


Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread David T-G

Rob, et al --

...and then Feztaa said...
% 
% I just got an email from a nondescript luser asking how I put my replies
% after the quote, The Right Way. She uses LookOut, of course, and doesn't
% like the default quote style that it uses. She says that the way I do it
% is "so cool".

I, too, have gotten such feedback.  Granted, it's not often, but it
definitely happens and many folks love the way responses are right by
original text because then they know what I'm saying and in response to
what.

There is a small percentage of people who recognize the benefits of
quoting The Right Way, and then they're hampered by their mailer.
Unfortunately, most other folks see Outhouse's quoting style and
go from there and then get stuck in a rut and don't want to change.
I even got some hate mail from a few users saying they couldn't read my
messages at a previous gig; of course, it was from those HTML-lovers
who depended heavily on their own special color on the rare occasions
they made any notes within the original body.  I tried to explain that,
if we were all using a real mailer, coloring quoting would also be easy,
but they wouldn't have any talk of anything other than LookOut! being
a Real Mailer :-)


% 
% I'm going to turn this into another reason why she ought to be using
% Linux, because it makes it easier to do that.
% 
% So what do you guys think now? Lusers forced into poor quoting by
% default settings they don't know how to change, or lusers stubbornly
% refusing to do anything resembling intelligent behavior?

Oh, the second is always better because it's more satisfying to LART them.
Realistically, though, the problem gets started by the former and *then*
persists because of the latter; peer pressure is a terrible thing (or
a terrible thing to waste, depending on how you look at it).


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




msg24270/pgp0.pgp
Description: PGP signature


Re: Mailbox is read-only.

2002-02-07 Thread David T-G

Terence --

Before I forget, I should note that the proper list address is not
the @gbnet address but [EMAIL PROTECTED] as I have set it above.
While mutt.org is currently hosted at gbnet and the @gbnet form 
sometimes leaks through, it's better to use the @mutt.org address.


...and then Terence Ng said...
% 
% Hi!

Hello!


% 
% I have just set up my mail server using postfix.  Then I read the mail by using 
Mutt.  After I read the mails and want to delete it, I press 'd' or '^d'.  But, I got 
'Mailbox is read-only' message.  Why?

It sounds like mutt was not installed as a member of the mail group or
like mutt_dotlock was not installed with special permissions, depending
on how your mutt build is configured.


% 
% I have checked the permission by typing:
% ls -ld /var/spool/mail/ngterry

Check the permissions of mutt and mutt_dotlock with something like

  ls -ld `which mutt` `which mutt_dotlock`

and then check how mutt was built with 

  mutt -v

and let us know what you get.


HTH & HAND

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




msg24271/pgp0.pgp
Description: PGP signature


Cannot delete mails

2002-02-07 Thread Terence Ng

On Thu, Feb 07, 2002 at 12:42:32PM +0800, Terence Ng wrote:
> Hi!
> 
> I have just set up my mail server using postfix.  Then I read the mail by using 
>Mutt.  After I read the mails and want to delete it, I press 'd' or '^d'.  But, I got 
>'Mailbox is read-only' message.  Why?
> 
> I have checked the permission by typing:
> ls -ld /var/spool/mail/ngterry
> 
> and I get:
> 
> -rw-rw 1  ngterry mail 494616 Feb 7 00:01  /var/spool/mail/ngterry
> 
> Did I miss sth to configure?
> 
> Sincerely,
> 
> Terence Ng



Re: Index format

2002-02-07 Thread David T-G

Patrick --

...and then Patrick Colbeck said...
% 
% Hi

Hello!


% 
% I am trying to use a folder hook to change the index format. I want my
% sent mail typpe folders to display who the mail was sent to rather than
% who it was from (seeing as I know I wgho sent it if its in my sent mail
% ...)

That's pretty easy.  You shouldn't even need any special hooks.  Of
course, you've specifically chosen %-15.15t, which displays the To:
field, instead of something like %-15.15L (list-from function) or %15.15F
(author's name unless you're the author).  Did you intend to do that?

Is $alternates set up correctly?


% 
...
% Thanks

HTH & HAND


% 
% Pat
% 
% -- 
% ---
% Pat Colbeck
% E-mail:   [EMAIL PROTECTED]
% Tel:  I'm not telling

Good idea and good pun :-)


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




msg24273/pgp0.pgp
Description: PGP signature


Re: selective deletion old mailboxes

2002-02-07 Thread David T-G

Erik --

...and then Erik van der Meulen said...
% 
% David T-G said:
% 
% >  folder-hook mutt.incoming "push 'D !~F !d >14d\n'"
% >
% > work?  [Untested, though.]
% >
% > I trust you've thoroughly read the list of patterns at section 4.2 ...
% 
% Hi David - thanks for your help. First experiments indicate that is does not
% work. My mailbox comes on with an error about the folder hook.

Hmmm...  Well, having not played with it I don't have any further info,
but what sort of folder-hook error does mutt report?

Can you construct a delete command like this that does work when you
enter it from the command line?  Perhaps you need to push

  D '!~F !d >14d'

or some such, which can get tricky since we only have two sorts of quotes
available to us...  Keep experimenting.

Come to think of it, I think your original pattern was

  D~d > ...

but I seem to have changed that to

  D ... !d ...

so you should probably do some debugging before worrying about further
experimentation :-)  Here's where mutt's exact error message will be
helpful.


% I'll go back to the section 4.2 as you have indicated, but I do find that a

What's difficult about it?  Perhaps I can help.

The first part is a list of all of the expandos you can use to select a
message, be it for the D delete command or for a limit or for a tag match
or whatever.  Those should be pretty self explanatory.

There are those ID and EXPR and SUBJECT and [MIN]-[MAX] bits in the
middle column of that listing which might look confusing, but they don't
have to be; those are just the parameters to that expando.  The footnote
somewhat interestingly noted by *) instead of (*) indicates that you don't
specifically have to use the MIN-MAX form but can leave off one or the
other to indicate starting from zero or going to infinity, respectively.
You've obviously already figured that out, though, since you use

  ~d >14d

to specify a date greater than fourteen days ago.  You're on your way!

If there's more, by all means let me know and I'll see how I can clarify.
In the meantime, REMEMBER ALL OF THIS.  One thing that mutt, like most
projects, really needs is documentation work; it's tough to write good
documentation, and it takes time and lots of effort on top of that.
Unfortunately, all of us familiar with mutt tend to either overlook as
obvious stuff that is confusing to new users or explain too briefly.
Your input alone is valuable, though contributions toward rewriting are
even more useful.


% difficult read. (I am one of those who wanted to show that also non
% full-time programmers had an alternative to MS products ;-)

And, indeed, we do!


% 
% Thanks again!

HTH & HAND


% 
% -- 
%   Erik van der Meulen
% 


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




msg24274/pgp0.pgp
Description: PGP signature


Scripted GPG-encrypted mails

2002-02-07 Thread Dave Smith

Hi all.

I'm trying to write a script which will mail any file specified as an
argument, to a specific user.  However, I need the mail to be sent
GPG-encrypted.  Obviously, I can use

  cat file | gpg -e -a -r [EMAIL PROTECTED] | mutt -s "Hello World" [EMAIL PROTECTED]

Or equivalent, but that's a bit messy, and requires significant effort on
the receiving end.

Does anyone have any ideas on how I could get mutt to send a GPG-encoded file
on the command line, so that it appears as a proper encrypted attachment?

The MUA at the receiving end is also mutt, so there's no problem with
broken receiving mailers.

...or is this beyond mutt's intended functionality?

TIA...

-- 
David Smith   Tel: +44 (0)1454 462380 (direct)
STMicroelectronicsFax: +44 (0)1454 617910
1000 Aztec WestTINA (ST only): (065) 2380
Almondsbury  Home: 01454 616963
BRISTOLMobile: 07932 642724
BS32 4SQ   Work Email: [EMAIL PROTECTED]
   Home Email: [EMAIL PROTECTED]



Re: Unable to send email

2002-02-07 Thread darren chamberlain

Lei Ding <[EMAIL PROTECTED]> said something to this effect on 02/07/2002:
> I just started to using exim. Recieving pop3 mail is fine.  But
> Whenever I send email, mutt didn't reports any failure. But It
> just unable to deliver to the destination. I have also checked
> for local mail, there also aren't any errors or deliver failure
> notice. I am using debian woody(unstable).

What so you have $sendmail set to, and can you suvvessfully send
mail by invoking it from the command line?

BTW, what does /var/log/mail.log tell you?

(darren)

-- 
Never underestimate the power of stupid people in large groups.



Re: Index format

2002-02-07 Thread Patrick Colbeck

Hi

Thanks to all who replied. I have got it working now thanks. Just in
case anyone else is having similar issued it looks like this now:

Default format

folder-hook . 'set index_format="%4C %Z %{%b %d} %-15.15L (%4l) %s"'

Normal incoming mail mailbox

folder-hook +Spool/azlan  'set index_format="%4C %Z %{%b %d} %-15.15L
(%4l) %s"'

Normal outgoing mail mailbox

folder-hook +Outgoing/azlan 'set index_format="%4C %Z %{%b %d} %-15.15t
(%4l) %s"'

Incoming mailbox that is mail from a mailing list (thsi si the one that
was causing me problems I think)

folder-hook +Spool/debian-user 'set index_format="%4C %Z %{%b %d}
%-15.15F (%4l) %s"'

Note the use of 15.15F in the above instead of the 15.15L for normal
mailboxes.

Some of the above lines may have wrapped as I have text width set to 72
chars.

Thanks again all.

Pat

-- 
---
Pat Colbeck
E-mail: [EMAIL PROTECTED]
Tel:I'm not telling
---



Re: Scripted GPG-encrypted mails

2002-02-07 Thread John Buttery

On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote:
>Hi all.
>
>I'm trying to write a script which will mail any file specified as an
>argument, to a specific user.  However, I need the mail to be sent
>GPG-encrypted.  Obviously, I can use
>
>  cat file | gpg -e -a -r [EMAIL PROTECTED] | mutt -s "Hello World" [EMAIL PROTECTED]
>
>Or equivalent, but that's a bit messy, and requires significant effort on
>the receiving end.
>
>Does anyone have any ideas on how I could get mutt to send a GPG-encoded file
>on the command line, so that it appears as a proper encrypted attachment?
>
>The MUA at the receiving end is also mutt, so there's no problem with
>broken receiving mailers.
>
>...or is this beyond mutt's intended functionality?
>
>TIA...
>

  Well, I'm not sure how to do this on the command line, but in a script
(or possibly on the command line given enough voodoo) you could
gpg-encrypt the file first, use --output to generate a gpg-crypted
output file, and then call mutt with -a to attach that file to a
message.  Is that what you had in mind?

  Yeah right, like there's something you can't do with mutt.  :)

-- 

 John Buttery

 "Mulder, please explain to me the scientific
   significance of 'the whammy'..."

   X-Files

 (Web page temporarily unavailable)




msg24278/pgp0.pgp
Description: PGP signature


Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread Roman Neuhauser

> Date: Wed, 06 Feb 2002 22:50:30 -0700
> From: "Rob 'Feztaa' Park" <[EMAIL PROTECTED]>
> Subject: Re: Breaking News: Lusers _want_ to quote email replies The Right Way.
> To: Mutt Users List <[EMAIL PROTECTED]>
> 
> Really, though: this isn't a network, just one person to one person. She
> can read proper quoting, so that's not a problem. She _wants_ to learn
> proper quoting, so that's also not a problem. 
> 
> The only problem is, she's a little slow, and her mail client doesn't
> really want her to learn anything, so she probably won't without my
> intervention.

Umm... How about getting her another MUA that will not get in the
way that much?

-- 
FreeBSD 4.4-STABLE
4:46PM up 17 days, 23:10, 15 users, load averages: 0.00, 0.02, 0.00



cannot delete mails

2002-02-07 Thread Terence Ng

Hi!

I don't know why I cannot delete the mails in /var/spool/mail/ngterry by using Mutt.  
When the mailbox has too many mails, I have to use Balsa or Mozilla to delette the 
mails.  What can I do to solve this problem?

Terence Ng



Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread Lorin Winchester

On Wed, Feb 06, 2002 at 10:13:31PM -0700, Rob 'Feztaa' Park wrote:

> So what do you guys think now? Lusers forced into poor quoting by
> default settings they don't know how to change, or lusers stubbornly
> refusing to do anything resembling intelligent behavior?

I think that "lusers" quote poorly because of default settings, their not
knowing any better, and because everyone else they correspond with does it.

-- 
Lorin Winchester
[EMAIL PROTECTED]



msg24281/pgp0.pgp
Description: PGP signature


Re: cannot delete mails

2002-02-07 Thread Markus Boelter


msg.pgp
Description: PGP message


Re: Scripted GPG-encrypted mails

2002-02-07 Thread Dave Smith

On Thu, Feb 07, 2002 at 09:30:03AM -0600, [EMAIL PROTECTED] wrote:
>   Well, I'm not sure how to do this on the command line, but in a script
> (or possibly on the command line given enough voodoo) you could
> gpg-encrypt the file first, use --output to generate a gpg-crypted
> output file, and then call mutt with -a to attach that file to a
> message.  Is that what you had in mind?

Well, that's closer (and less work at the receiving end), but it still
doesn't come out like a 'proper' PGP/MIME mail.

-- 
David Smith   Tel: +44 (0)1454 462380 (direct)
STMicroelectronicsFax: +44 (0)1454 617910
1000 Aztec WestTINA (ST only): (065) 2380
Almondsbury  Home: 01454 616963
BRISTOLMobile: 07932 642724
BS32 4SQ   Work Email: [EMAIL PROTECTED]
   Home Email: [EMAIL PROTECTED]



Re: cannot delete mails

2002-02-07 Thread Terence Ng

Then, can you tell me how to delete "a few" mails by Mutt?

On Thu, Feb 07, 2002 at 05:00:17PM +0100, Markus Boelter wrote:
> Hi!
> 
> On Fri, Feb 08, 2002 at 12:01:19AM +0800, Terence Ng wrote:
> 
> > I don't know why I cannot delete the mails in /var/spool/mail/ngterry by using 
>Mutt.  When the mailbox has too many mails, I have to use Balsa or Mozilla to delette 
>the mails.  What can I do to solve this problem?
> How many mails are "too many"? I'm using a mailbox (mbox) with about
> 16.000 mails and 350 MB - and I *can* delete mails :)
> 
> cu!
>   Markus
> -- 
> please don't send me html-messages!
> pgp-fingerprint: 0FFC 3A33 8B54 DDB9 0F3D  BFD5 CFB1 6038 FB0E 1D5B
> pgp-public-key: http://www.mitternachtsstun.de/gpg-key.markus.txt



Re: cannot delete mails

2002-02-07 Thread Markus Boelter


msg.pgp
Description: PGP message


Re: Scripted GPG-encrypted mails

2002-02-07 Thread Jeremy Blosser

On Feb 07, Dave Smith [[EMAIL PROTECTED]] wrote:
> On Thu, Feb 07, 2002 at 09:30:03AM -0600, [EMAIL PROTECTED] wrote:
> >   Well, I'm not sure how to do this on the command line, but in a script
> > (or possibly on the command line given enough voodoo) you could
> > gpg-encrypt the file first, use --output to generate a gpg-crypted
> > output file, and then call mutt with -a to attach that file to a
> > message.  Is that what you had in mind?
> 
> Well, that's closer (and less work at the receiving end), but it still
> doesn't come out like a 'proper' PGP/MIME mail.

Use mutt -e or -F to invoke a specific set of configs for this task that
encrypt all mail sent.  You may run into confirmation dialogues for the key
you're encrypting to... if so, there are patches linked from www.mutt.org
that can get rid of these.

mutt  -a  -s  -e  


msg24286/pgp0.pgp
Description: PGP signature


send-hook for NNTP folders

2002-02-07 Thread Volker Moell

Hi, there!

I'm doing my first steps on VV's NNTP patch.  Great one! :-)

But I didn't found out to build a send-hook (for $attribution et al)
recognizing when a posting is sent to a newsgroup (via "F").

I tried
  send-hook '~h ^Newsgroups:' 'set attribution="%n wrote:"'
but this did not work:
  Error in /home/moell/.muttrc, line 274: h: not supported in this mode

Can anyone help me?

   -volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

Hier könnte Ihre Werbung stehen!



Re: send-hook for NNTP folders

2002-02-07 Thread Louis-David Mitterrand

On Thu, Feb 07, 2002 at 05:29:03PM +0100, Volker Moell wrote:
> Hi, there!
> 
> I'm doing my first steps on VV's NNTP patch.  Great one! :-)
> 
> But I didn't found out to build a send-hook (for $attribution et al)
> recognizing when a posting is sent to a newsgroup (via "F").
> 
> I tried
>   send-hook '~h ^Newsgroups:' 'set attribution="%n wrote:"'
> but this did not work:
>   Error in /home/moell/.muttrc, line 274: h: not supported in this mode



I use the following kludge:

## nothing in "To:" AND a subject not starting with "Fwd [" AND
## subject non-empty means
## probably usenet posting

send-hook '!~t. !~s^Fwd:\\\ \\\[ ~s.' set stuff

Let me know if you find something better,

-- 
PHEDRE: J'évitais Hippolyte, et tu me l'as fait voir.
De quoi te chargeais-tu ? Pourquoi ta bouche impie
A-t-elle, en l'accusant, osé noircir sa vie ?
  (Phèdre, J-B Racine, acte 4, scène 6)



Re: cannot delete mails

2002-02-07 Thread David T-G

Terence --

...and then Terence Ng said...
% 
% Hi!

Hello!


% 
% I don't know why I cannot delete the mails in /var/spool/mail/ngterry by using Mutt. 
 When the mailbox has too many mails, I have to use Balsa or Mozilla to delette the 
mails.  What can I do to solve this problem?

You have not answered the questions in my response to your first posting,
so it's tough to provide you any assitance.


% 
% Terence Ng


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




msg24289/pgp0.pgp
Description: PGP signature


New project proposing mutt

2002-02-07 Thread Marco Fioretti

Hello,

I just started a new GPL project which recommends the use of mutt (see
below).
It is Red Hat based, but (see FAQ #5) even users of other distribution
might benefit from it. The reverse is also true, of course.

Any contribution to the project is welcome!

Ciao,

Marco Fioretti

the RULE project: Run Up2date Linux Everywhere

http://spazioweb.inwind.it/marco_web/

-- 
We have to pursue this subject of fun very seriously if we
want to stay competitive in the 21st century. -George Yeo,
 Singapore's Minister of State for Finance.



Re: folders ? [2]

2002-02-07 Thread Nico Schottelius

fished that out of the mailing list archive.
> Depends on when you want it sorted.  Mutt does have the capability to
> save read mails to certain folders automagically,  but that is after it
> has already been delivered to your spool file

Howto do that ? Does this work with Maildir boxes ?

Could you please CC me in answer? The "lists mutt-users" entry
in .muttrc seems not todo anything at all.

Nico

-- 
{Greetings,Gruss},
Nico Schottelius

I am some kind of busy -
Do not expect an answer within 24 hours.
Instead use the telephon: +49 (0) 173 - 750 7022.



msg24291/pgp0.pgp
Description: PGP signature


Re: folders ? [2]

2002-02-07 Thread Rob Reid

At  2:38 PM EST on February  7 Nico Schottelius sent off:
> > Depends on when you want it sorted.  Mutt does have the capability to
> > save read mails to certain folders automagically,  but that is after it
> > has already been delivered to your spool file
> 
> Howto do that ? Does this work with Maildir boxes ?

Yes.  Look up "save-hook" in the fine manual (www.mutt.org).

-- 
"You just don't write jokes in base 13!"  - Douglas Adams
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: folders ? [2]

2002-02-07 Thread Nico Schottelius

> did the original poster even say (s)he was using fetchmail?

He uses shift+g.

Nico

Please CC me!



msg24293/pgp0.pgp
Description: PGP signature


Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread Rob Reid

At 12:13 AM EST on February  7 Rob 'Feztaa' Park sent off:
> I just got an email from a nondescript luser asking how I put my replies
> after the quote, The Right Way.

> So what do you guys think now? Lusers forced into poor quoting by
> default settings they don't know how to change, or lusers stubbornly
> refusing to do anything resembling intelligent behavior?

It's worse than that.  Even halfway intelligent people will think that if
everybody else does something a certain way, then that must be the most
intelligent way of doing it, because presumably someone must have put some
thought into it.

My worst example came when somebody asked why I replied after the quoted
material.  I gave her the standard explanation, and then she asked "Aren't you
worried about people not reading your email?".  It turned out that she had
brainwashed herself into thinking that "start of quoted material = end of
message: stop reading" and had almost deleted my email because it didn't have
anything before the quoted stuff.  I'm still annoyed that she'd think I'd be
more likely to send out unedited full quotes of emails than to do the right
thing.  And she uses Linux, so the problem has spread beyond LookOut.

In happier news, there's a lot of talk here about scrapping LookOut and IE
because they're so insecure.

-- 
Penguins are so sensitive to my needs. - Lyle Lovett
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Saving outgoing mail in current mailbox

2002-02-07 Thread John Iverson

Hi,

Is there a way to tell Mutt to save outgoing messages in whatever
mailbox I'm working in?  

I'm currently setting "record" for each mailbox like this:

folder-hook .   "set record='=sent'"
folder-hook box1"set record='=box1'"
folder-hook box2"set record='=box2'"
... 

This works, just wondering if there's a shortcut I'm missing, maybe
something along the lines of:

folder-hook .   "set record=."

(which doesn't work).

Thanks,
John



Re: Breaking News: Lusers _want_ to quote email replies The Right Way.

2002-02-07 Thread Mike Schiraldi

I think this all stems from people not trimming away quoted material. If
everyone's going to quote pages of needless text, it makes sense to put your
replies at the top; otherwise you'd have to skip past pages of worthless
filler to get to the actual message.

When was the last time you saw someone use the backwards quoting order who
-did not- quote the entire message? In other words:

 me too
 
 > and in conclusion, I like stuff.

That never happens. The people who quote in the wrong order always include
the entire message in their reply. The latter causes the former.

And, to beat an even more off-topic dead horse, i think people don't trim
away quoted material because they don't know how to do it quickly. I've seen
many, many pine users pressing the delete-line key (Ctrl-K, i think) over
and over and over to delete a quoted reply. Then they get sick of doing this
and just leave the whole reply in there.

And Windows users don't know about shift-ctrl-end to quickly highlight from
the cursor location to the end of the buffer, followed by any key to delete
it all. They think you have to highlight it all with the mouse, which is
hard, and then click edit->cut. Major pain. So they get sick of doing that
and start putting their replies at the top.

But the major cause of the bozo-quoting-order is the way that certain
mailers don't use any "> " prefix. They just say, "On [date], [person]
said:" followed by the message. So if you type your reply before that, you
get a nice delimiter. But if you type your reply at the end, you have to
make your own delimiter. Which is a pain. So people reply at the top.




msg24296/pgp0.pgp
Description: PGP signature


Re: cannot delete mails

2002-02-07 Thread David Rock

On Fri, Feb 08, 2002 at 12:01:19AM +0800, Terence Ng wrote:
> Hi!
> 
> I don't know why I cannot delete the mails in /var/spool/mail/ngterry
> by using Mutt.  When the mailbox has too many mails, I have to use
> Balsa or Mozilla to delette the mails.  What can I do to solve this
> problem?

Are you always having problems deleting mails in this file? Maybe the
file is marked read-only? Try toggling this with the "%" keybinding.

-- 
David Rock
[EMAIL PROTECTED]



msg24297/pgp0.pgp
Description: PGP signature


Bug: [yes]/no instead of [y]/n

2002-02-07 Thread Rob Reid

Hi,

I recently upgraded from 1.2.5 to 1.3.27 and the only real annoyance has been
that mutt now asks for [yes]/no (or [no]/yes) when it really means [y]/n.  Take
the [no]/yes case, when I want to say yes, and type "y e s".  The y answers the
question, and then e sends the message to the editor, which isn't what I want.

I've been conditioned by emacs and other programs that simple y/n type
questions are presented with y/n type prompts.  If they actually spell (yes)/no
out in full then they require yes or no to be typed out in full.  (This is
useful for occasional questions that are too risky to be answered with a single
keypress.)  So when I see [no]/yes, it's really hard to only hit the first key.

(Searching the mailing list archives for "[yes]/no" was surprisingly useless.)

-- 
Fnord is that funny feeling you get when you reach for the Snickers
bar and come back holding a slurpee.  - alt.discordia
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: Saving outgoing mail in current mailbox

2002-02-07 Thread Michael Tatge

John Iverson muttered:
> Is there a way to tell Mutt to save outgoing messages in whatever
> mailbox I'm working in?  
> 
> just wondering if there's a shortcut

There is a current shortcut patch. David has it on his mutt patch site.
http://mutt.justpickone.org/mutt-build-cocktail/

The patch is called patch-1.3.23.bj.current_shortcut.1.dtg there. I
don't know who the original author is.
Since David has it in his "cocktail" I assume the patch applies cleanly to
mutt's latest devellopment version. :-)
The patch offers "^" as a shortcut to the current folder.

HTH,

Michael
-- 

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



People who don't wrap their lines

2002-02-07 Thread Philip Mak

I'm having trouble reading messages from people who don't wrap their
lines. They have it so that one paragraph is a very long line, but it
seems to cut off after about 255 characters, i.e. I can only see the
first 255 characters of each line in the pager.

I can't reproduce this always, though. If I send a message to myself
that has a very long line, it comes through fine. I think it might
require certain MIME conditions.

Any idea what I'm talking about? I can forward a specific message that
should cause these conditions.



Re: Scripted GPG-encrypted mails

2002-02-07 Thread Magnus Bodin

On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote:
> Hi all.
> 
> I'm trying to write a script which will mail any file specified as an
> argument, to a specific user.  However, I need the mail to be sent
> GPG-encrypted. 

It will at some point either require you to

1. Have an empty passphrase (not recommended)
2. Enter your passphrase (not so practical, may be?)
3. Have a script that contains the passphrase (security issue, too)
4. Have a script that takes the passphrase as CL parameter (not good)

.
.



/magnus

-- 
http://x42.com/
  V wbvarq RSS. Qvq lbh?



Re: Scripted GPG-encrypted mails

2002-02-07 Thread Gerhard Häring

Le 08/02/02 à 07:24, Magnus Bodin écrivit:
> On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote:
> > Hi all.
> > 
> > I'm trying to write a script which will mail any file specified as an
> > argument, to a specific user.  However, I need the mail to be sent
> > GPG-encrypted. 
> 
> It will at some point either require you to
> 
>   1. Have an empty passphrase (not recommended)
>   2. Enter your passphrase (not so practical, may be?)
> 3. Have a script that contains the passphrase (security issue, too)
>   4. Have a script that takes the passphrase as CL parameter (not good)

Probably best develop something like ssh-agent:

- Have a seperate program, lets call it gpg-agent running that, on
  start, lets you enter the passphrase. Then, it goes into the
  background.

- Via some ipc way; deliver the passphrase to the client program if the
  following conditions are met
  -- the client program's uid matches the one from the gpg-agent program
  -- the process name matches a list of known "good" client programs

I'm pretty sure something like the above can be implemented without much
effort on Unix, but I don't know the exact library functions needed.

Gerhard
-- 
mail:   gerhard  bigfoot  de   registered Linux user #64239
web:http://www.cs.fhm.edu/~ifw00065/OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



Re: Scripted GPG-encrypted mails

2002-02-07 Thread Will Yardley

Magnus Bodin wrote:
> On Thu, Feb 07, 2002 at 02:23:49PM +, Dave Smith wrote:
> > 
> > I'm trying to write a script which will mail any file specified as an
> > argument, to a specific user.  However, I need the mail to be sent
> > GPG-encrypted. 
> 
> It will at some point either require you to
> 
>   1. Have an empty passphrase (not recommended)
>   2. Enter your passphrase (not so practical, may be?)
> 3. Have a script that contains the passphrase (security issue, too)
>   4. Have a script that takes the passphrase as CL parameter (not good)

why is a passphrase required to encrypt a file TO a user? (unless they
need to sign as well as encrypt).

w




Re: People who don't wrap their lines

2002-02-07 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* and then Philip Mak declared
> I'm having trouble reading messages from people who don't wrap their
> lines. They have it so that one paragraph is a very long line, but it
> 
> Any idea what I'm talking about? I can forward a specific message that
> should cause these conditions.

No. hehe, but a nice gentlemen from 'the rolling hils of south carolina'
sent me this handy little vim macro:

map  {!}par 72
}j

Of course you need par installed, but it works a treat. Just hit ^l and
it will reformat the lines for you.

- -- 

Nick Wilson

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



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8Y4B2HpvrrTa6L5oRAsYaAKCz9KDVuFVh0tSfG/P5B6vUB8lRQwCePIHN
KS8pJu8sWksV8ogTEghM/ow=
=XUxR
-END PGP SIGNATURE-