Re: Going GUI...er

2020-04-04 Thread Brian Salter-Duke
I set this up long ago and now at the age of 80 I am beginning 
to forget what I did. Basically I have mutt set up so when the cursor 
is on a message, typing 'v' shows the bits of it. If only html, or
if there are several sections I move the cursor to the html section.
I them hit 'm' and it opens the html in google. It is messy but it 
works.

On Sat, Apr 04, 2020 at 09:41:59AM +0200, Vegard Svanberg wrote:
> Hi,
> 
> I love Mutt.
> 
> However, I'm increasingly finding myself having to resort to various
> tricks to deal with HTML only emails (with picture attachments),
> calendar invites, and other oddities and awkward stuff people send.
> 
> My Holy Grail, which would be a native Mutt GUI client, I guess, doesn't
> seem to exist.
> 
> I don't know how I would survive with a regular GUI client like
> Thunderbird or Evolution. I've tried, but they all suck. Mutt's
> keybindings, search and navigation features are irreplaceable.
> 
> Currently I'm running Mutt from a machine which I ssh into from 5 other
> computers I use frequently (IMAP backend - self-hosted).
> 
> Suggestions? What does everyone else do?
> 
> -- 
> Vegard Svanberg  [*Takapa@IRC (EFnet)]

-- 
On two occasions I have been asked [by members of Parliament], "Pray, Mr. 
Babbage, if you put into the machine wrong figures, will the right answers 
come out?". I am not able rightly to comprehend the kind of confusion of 
ideas that could provoke such a question.
       -- Charles Babbage
Brian Salter-Duke (Brian Duke) Email: brian(DOTjames(DOTduke(AT)gmail(DOT)com


A mutt related fetchmail problem.

2017-10-05 Thread Brian Salter-Duke
I use fetchmail to download emails from two different accounts into mutt. This
worked fine for years on my desktop and then my laptop when travelling. I am
currently travelling and using my laptop.

Some times I get the following output:-

fetchmail: No mail for b_d...@bigpond.net.au at pop.telstra.com
fetchmail: Server certificate verification error: unable to get local issuer 
certificate
fetchmail: Broken certification chain at: /OU=GlobalSign Root CA - 
R2/O=GlobalSign/CN=GlobalSign
fetchmail: This could mean that the server did not provide the intermediate 
CA's certificate(s), 
   which is nothing fetchmail could do anything about.  For details, 
please see the 
   README.SSL-SERVER document that ships with fetchmail.
fetchmail: This could mean that the root CA's signing certificate is not in the 
trusted CA 
   certificate location, or that c_rehash needs to be run on the 
certificate directory. 
   For details, please see the documentation of --sslcertpath and 
--sslcertfile in the 
   manual page.
fetchmail: OpenSSL reported: error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate 
   verify failed
fetchmail: SSL connection failed.
fetchmail: socket error while fetching from 
brian.james.d...@gmail.com@pop.gmail.com
fetchmail: Query status=2 (SOCKET

It get the mail from bigpond account, but fails on the gmail account. On the
surface, it seems that the CA's signing certificate is corrupt. If that was the
case it would always fail. But it does not always fail. Sometimes is downloads
fine. I am using different wi-fi connections and it seems that once it starts
to fail with one wi-fi it continues to fail even after a reboot, but I am not
certain about that. With a new wi-fi it sometime works fine and then later it
fails. Sometimes it fails at first and then works. I have run c_rehash and that
does change anything. I can of course read gmail mail in firefox, but I want to
download it.

Can anyone throw any light on this?

Regards to all mutters, Brian.
-- 
Brian Salter-Duke (Brian Duke) Email: brian.james.d...@gmail.com 
 Web: http://www.salter-duke.bigpondhosting.com/brian/index.htm 


Re: group mailings with blind cc

2016-04-15 Thread Brian Salter-Duke
On Fri, Apr 15, 2016 at 04:13:47PM -0400, Jon LaBadie wrote:
> On Fri, Apr 15, 2016 at 09:48:26PM +0200, Alarig Le Lay wrote:
> > On Fri Apr 15 14:40:27 2016, Jon LaBadie wrote:
> > > I'm trying to set up a way to send periodic notices
> > > to a list of people with the restriction that the
> > > recipients email addresses not be generally visible,
> > > thus they would be listed in the Bcc: header.
> > > 
> [snip]
> > 
> > Hi,
> > 
> > Why do you don’t set up a mailing list? That’s their aim.
> > If you do so, you don’t have to care about Bcc header, just send a mail
> > to tf...@jgcomp.com.
> > 
> 
> Not enough traffic.  I wouldn't expect more than
> 1 or 2 messages a year.  Like meet times change
> in the summer, revert in fall.
> 
> jl
> -- 
> Jon H. LaBadie j...@jgcomp.com
>  11226 South Shore Rd.  (703) 787-0688 (H)
>  Reston, VA  20190  (703) 935-6720 (C)

How large is the list. If it is not too large, just make a group alias
in your alias file and send the message putting that alias in the Bcc line.
I do that for about 30 or 40 people.

Brian.

-- 
I really didn't foresee the Internet. But then, neither did the computer 
industry. Not that that tells us very much, of course - the computer 
industry didn't even foresee that the century  was going to end.   
   -- Douglas Adams 
Brian Salter-Duke (Brian Duke) Email: brian.james.duke(AT)gmail(DOT)com


Re: select wrapped lines / click long url / bug 3453

2015-11-28 Thread Brian Salter-Duke
On Sat, Nov 28, 2015 at 08:28:29AM +0100, Matthias Apitz wrote:
> El día Saturday, November 28, 2015 a las 06:18:56PM +1100, Erik Christiansen 
> escribió:
> 
> > On 28.11.15 07:01, Brian Salter-Duke wrote:
> > > I use a Ubuntu terminal and the url above shows up highlighted in blue.
> > > I hold the mouse over it and right click brings up a menu. I select
> > > "open in browser" and it does just that. For attached html I use 
> > > mutt_bgrun. I have a script with several alternatives:-
> 
> Hello,
> 
> Which terminal is this exactly in Ubuntu? I'm used to use uRxvt in an
> KDE4 environment in FreeBSD. This does not have this mouse-over/menu
> feature, at leasr AFAIK.
> 
>   matthias

I am not sure. I am using Ubuntu 12.04 with unity and it is what is called 
"terminal", if you look
in the dash home.

Brian.

> -- 
> Matthias Apitz, ✉ g...@unixarea.de,  http://www.unixarea.de/  ☎ 
> +49-176-38902045

-- 
A Computer is like a horse, it will sense weakness.
-- Greg Wettstein
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: select wrapped lines / click long url / bug 3453

2015-11-27 Thread Brian Salter-Duke
On Fri, Nov 27, 2015 at 07:01:24PM +, David Woodfall wrote:
> >Hi!
> >
> >I'm currently using mutt in xterm, and I finally got tired of copy
> >long urls (wrapped in multiple lines) from mutt to browser. Ideally, I'd
> >like to be able to open urls by clicking them.
> >
> >It looks like xterm doesn't support clicking on urls, so I'm ready to
> >switch to any other terminal emulator which will support this feature.
> >Right now I'm experimenting with Konsole, but it's just a random choice.
> >
> >   Side note about 'markers': I'd like them, but had to switch them off
> >   to avoid junk inside urls. Ideally, I'd like to be able to have
> >   markers in all wrapped lines except inside urls - is that possible?
> >
> >Problem is, konsole doesn't detect wrapped urls as single line. While
> >investigating this issue I noticed line selection (using triple-click) also
> >doesn't detect lines wrapped by mutt as single line (but it does work for
> >lines wrapped by other apps like less or bash, both in xterm and konsole).
> >
> >So, looks like something is broken in mutt.
> >Maybe this issue is already known: http://dev.mutt.org/trac/ticket/3453
> >
> >
> >I don't like to use url shorteners because of several reasons:
> >- I wanna see real url before opening it
> >- private urls unintentionally made public
> >- changing content of incoming emails may break things (like pgp signatures)
> >- probably won't work for outgoing emails
> >and first reason is most important.
> >
> >I know about urlview, but it both doesn't show long urls well and more
> >complicated to use than just copy (with disabled markers).
> >
> >Can anyone recommend any other solutions? How you open long urls?
> >
> >-- 
> > WBR, Alex.
> 
> It would be nice to see this fixed somehow. I've used urlview in the
> past but I prefer to see links in the context of the surrounding text.
> 
> Dave

I use a Ubuntu terminal and the url above shows up highlighted in blue.
I hold the mouse over it and right click brings up a menu. I select
"open in browser" and it does just that. For attached html I use 
mutt_bgrun. I have a script with several alternatives:-

#!/bin/bash 
#
# see_html
# script to give choice of viewer for html attachments
#
# Brian Salter-Duke <b_d...@bigpond.net.au>
# This version: 13 May 2007
#---
#
view2="4"
echo "Menu for possible applications."
echo
echo "  1   Use lynx"
echo "  2   Use w3m"
echo "  3   Use Firefox"
echo "  4   Use Google Chrome"
echo "  0   Exit"
echo
echo 
echo -n "Type in the number of the application you want: "
read viewer
if [ -z $viewer ]; then
viewer=$view2
fi
#
case $viewer in
0)
exit
;;
1)
echo "lynx -dump -force_html $1"
lynx -dump -force_html $1 > /tmp/out$$
/usr/bin/less /tmp/out$$
rm /tmp/out$$
;;
2) 
echo "w3m -dump $1"
#/usr/bin/w3m -dump $1 > /tmp/out$$
/usr/bin/w3m -dump -T text/html -I %{charseti} $1 | /usr/bin/less
#/usr/bin/less /tmp/out$$
#rm /tmp/out$$
;;
3) 
echo "Using Firefox for $1"
mutt_bgrun firefox $1
;;
4) 
echo "Using google-chrome for $1"
mutt_bgrun google-chrome -enable-plugins $1
;;
esac

These solutions have been around for a long time. Am I missing something?

Brian
-- 
"The box said 'Windows 95 or better', so I installed Linux"
-- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Use of vcalendar with mutt

2015-07-30 Thread Brian Salter-Duke
On Thu, Jul 30, 2015 at 10:14:39PM +0200, Bernard Massot wrote:
 Le 30/07/2015 à 07:36, Brian Salter-Duke a écrit :
  I will try to attach it. Thanks for all your help.
 It worked fine for me. If didn't for you it means you missed something.
 Here is my setup:
 
 In ~/.muttrc:
 auto_view text/calendar
 
 In ~/.mailcap:
 text/calendar; ~/.mutt/vcalendar-filter; copiousoutput

I finally got there. One problem was that I had a text/* line in
mailcap. I had to put the text/calendar above it. 

Then my mailcap had this comment in it from way back - I forget where.

# Mutt can only edit attachments if they have a mailcap edit entry.
# (This would be a good thing to fix.)  However, a mailcap entry
# apparently must include the display function--it can't be defaulted.
# The combination cat; copiousoutput comes close to the default in
# that in invokes the default pager on the output of cat.  However,
# there is apparently no way to specify the default editor--a shell
# environment variable such as $VISUAL or $EDITOR is as close as we can
# get.
#

I had to follow it. The commented text/calendar line if I uncomment it
does not work, but the one below does. So I am there, but why? Any thoughts.

#text/calendar; /home/brian/.mutt/vcalendar-filter 
text/calendar; /home/brian/.mutt/vcalendar-filter; copiousoutput; edit=$VISUAL 
%s
 
A further question - where is the path set to find the mailcap file?

Thanks for your help.

Brian.

 Did you forget to make vcalendar-filter executable?
 Test it independently from Mutt. Save the text/calendar part in
 /tmp/foo.ics and run:
 ~/.mutt/vcalendar-filter  /tmp/foo.ics
 What does that return?
 
 For the reference, here is how your mail looks with my setup:
 
 
 Date: Mon, 20 Jul 2015 10:27:13 +1000
 From: Karen Drakatos karen.draka...@monash.edu
 To: PharmacyHDRStudents
 Cc: 
 Subject: REMINDER: 2015 3MT competition this Friday
 
 [-- Autoview using ~/.mutt/vcalendar-filter --]
 Timezone: AUS Eastern Standard Time
 
 
 Summary : REMINDER: 2015 3MT competition this Friday
 
 Description : Dear all
 
   You’re invite to attend the 2015 Faculty Three Minute
   Thesis (3MT®) competition. Every researcher knows that
   one of the key elements to making an impact with your
   research is to convey its importance to the general
   public. But, could you explain your research is just three
   minutes? That is the unique challenge that awaits our fast-
   thinking graduate research students who have entered the
   3MT® competition! Please come along and show your support
   to our students who will provide engaging, inspirational
   and a concise three minute summary of their work. For
   catering purposes, please accept this calendar invitation.
   Date: Friday, 24th July 2015 Venue: Cossar Hall Mural
   Section Time: Please ensure you arrive and be seated no
   later than 12pm. The start time will be 12pm sharp.
 
 
 Location: Cossar Hall
 Dtstart : 2015-07-24 12:00
 Dtend   : 2015-07-24 14:00
 
 -- 
 Bernard Massot

-- 
On two occasions I have been asked [by members of Parliament], Pray, Mr. 
Babbage, if you put into the machine wrong figures, will the right answers 
come out?. I am not able rightly to comprehend the kind of confusion of 
ideas that could provoke such a question.
   -- Charles Babbage
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Use of vcalendar with mutt

2015-07-29 Thread Brian Salter-Duke
On Thu, Jul 23, 2015 at 09:32:29AM +1000, Brian Salter-Duke wrote:
 
 Le 22/07/2015 à 20:31, Brian Salter-Duke a écrit :
  It does have a lot od email addresses in it. If you email me, I will send 
  you a
  copy , but I do not think I can put it to the list.
 You can edit it directly from Mutt (with the 'e' key) before sending it
 to this list. It would be better this way.

I will try to attach it. Thanks for all your help.

Brian

-- 
English is about as pure as a cribhouse whore. We don't just borrow words; 
on occasion, English has pursued other languages down alleyways to beat 
them unconscious and riffle [sic] their pockets for new vocabulary
-- James D. Nicoll
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au
---BeginMessage---
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VTIMEZONE
TZID:AUS Eastern Standard Time
BEGIN:STANDARD
DTSTART:16010401T03
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZOFFSETFROM:+1100
TZOFFSETTO:+1000
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16011007T02
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
TZOFFSETFROM:+1000
TZOFFSETTO:+1100
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ATTENDEE;CNCREATED:20150720T002712Z
DESCRIPTION:Dear all \n\nYou’re invite to attend the 2015 Faculty Three M
	inute Thesis (3MT®) competition.\nEvery researcher knows that one of the 
	key elements to making an impact with your research is to convey its impor
	tance to the general public.  But\, could you explain your research is jus
	t three minutes?  \nThat is the unique challenge that awaits our fast-thin
	king graduate research students who have entered the 3MT® competition!  \
	nPlease come along and show your support to our students who will provide 
	engaging\, inspirational and a concise three minute summary of their work.
	 \nFor catering purposes\, please accept this calendar invitation. \nDate:
		Friday\, 24th July 2015\nVenue:	Cossar Hall Mural Section\nTime:	Please e
	nsure you arrive and be seated no later than 12pm. The start time will be 
	12pm sharp.\n
DTEND;TZID=AUS Eastern Standard Time:20150724T14
DTSTAMP:20150720T002712Z
DTSTART;TZID=AUS Eastern Standard Time:20150724T12
LAST-MODIFIED:20150720T002713Z
LOCATION:Cossar Hall
PRIORITY:5
SEQUENCE:1
SUMMARY;LANGUAGE=en-au:REMINDER: 2015 3MT competition this Friday
TRANSP:OPAQUE
UID:04008200E00074C5B7101A82E008D047944DCF7DD001000
	01000C0F6B5DA0EA60A4A919327F0F675DD5E
X-ALT-DESC;FMTTYPE=text/html:!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//E
	N\nHTML\nHEAD\nMETA NAME=Generator CONTENT=MS Exchange Server ve
	rsion 14.02.5004.000\nTITLE/TITLE\n/HEAD\nBODY\n!-- Converted f
	rom text/rtf format --\n\nP DIR=LTRSPAN LANG=en-auFONT FACE=Calib
	riDear all /FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-au/SPANS
	PAN LANG=en-au/SPANSPAN LANG=en-au/SPANSPAN LANG=en-au/SPA
	N/P\n\nP DIR=LTRSPAN LANG=en-au/SPANSPAN LANG=en-auFONT FA
	CE=CalibriYou’re invite to attend the 2015 Faculty Three Minute Thesi
	s (3MT®) competition./FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-au
	FONT FACE=CalibriEvery researcher knows that one of the key elements t
	o making an impact with your research is to convey its importance to the g
	eneral public.nbsp\; But\, could you explain your research is just three 
	minutes?nbsp\; /FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-auFONT 
	FACE=CalibriThat is the unique challenge that awaits our fast-thinking 
	graduate research students who have entered the 3MT® competition!nbsp\; 
	/FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-auFONT FACE=CalibriP
	lease come along and show your support to our students who will provide en
	gaging\, inspirational and a concise three minute summary of their work. 
	/FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-auFONT FACE=CalibriFo
	r catering purposes\, please accept this calendar invitation. /FONT/SPA
	N/P\n\nP DIR=LTRSPAN LANG=en-au/SPANSPAN LANG=en-auFONT FA
	CE=CalibriDate:nbsp\;nbsp\; Friday\, 24/FONT/SPANSPAN LANG=en-a
	uSUPFONT FACE=Calibrith/FONT/SUP/SPANSPAN LANG=en-auFON
	T FACE=Calibri July 2015/FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en
	-auFONT FACE=CalibriVenue:nbsp\; Cossar Hall Mural Section/FONT/
	SPAN/P\n\nP DIR=LTRSPAN LANG=en-auFONT FACE=CalibriTime:nbsp
	\;nbsp\; Please ensure you arrive and be seated no later than 12pm. The s
	tart time will be 12pm sharp./FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=
	en-au/SPANSPAN LANG=en-au/SPANSPAN LANG=en-au/SPANSPAN LA
	NG=en-au/SPAN/P\n\nP DIR=LTRSPAN LANG=en-au/SPANSPAN LANG=
	en-auFONT FACE=CalibriRegards/FONT/SPAN/P\n\nP DIR=LTRSPAN
	 LANG=en-au/SPANSPAN LANG=en-auFONT FACE=CalibriKaren Drakato
	s/FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-auFONT FACE=Calibri
	Postgraduate Research Programs Administrator /FONT/SPAN/P\n\nP DIR=
	LTRSPAN LANG=en-auFONT FACE=CalibriFaculty of Pharmacy and Pharma
	ceutical Sciences/FONT/SPAN/P\n\nP DIR=LTRSPAN LANG=en-auFONT
	 FACE=CalibriMonash University (Parkville Campus)/FONT

Re: Use of vcalendar with mutt

2015-07-22 Thread Brian Salter-Duke
On Wed, Jul 22, 2015 at 10:48:02AM +0200, Bernard Massot wrote:
 Le 22/07/2015 à 15:41, Brian Salter-Duke a écrit :
  I have that in my muttrc, but in the case where the only part of
  the email shows as:-
   
  1 [ 8.6K] no descriptionquoted-printable text/calendar
  
  it gives:-
  
  [-- Autoview using cat --]
  
  at the top of the plain text output. I am puzzled.
 Could you send us an example of such a mail? (If you have one with no
 private information in it.)
 Attach the whole mail, so that we can look at the headers.
 -- 
 Bernard Massot

It does have a lot od email addresses in it. If you email me, I will send you a
copy , but I do not think I can put it to the list.

Brian.
-- 
~
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Use of vcalendar with mutt

2015-07-21 Thread Brian Salter-Duke
On Mon, Jul 20, 2015 at 11:44:03PM +0200, Bernard Massot wrote:
 Le 20/07/2015 à 13:31, Brian Salter-Duke a écrit :
  I used vcalender long ago, but then had no use for it, but I am now getting 
  a
  lot of important emails from the university where I have an adjunct
  appointment. I work at home and I do not have the Windows nonsense that full
  time members of the department have to use.
 I'm not sure if this is what you meant, but iCalendar format is not
 Windows nonsense. It's a plain text format standardized in a RFC.
 
  In my mailcap I have:-
  
  text/calendar; /home/brian/.mutt/vcalendar-filter; copiousoutput
  application/ics; /home/brian/.mutt/vcalendar-filter; copiousoutput
 You have to use auto_view text/calendar application/ics in your
 .muttrc as well.
 Otherwise Mutt shows it as plain text, i.e. in its raw format.

Thanks for the suggestion.

I have that in my muttrc, but in the case where the only part of
the email shows as:-
 
1 [ 8.6K] no descriptionquoted-printable text/calendar

it gives:-

[-- Autoview using cat --]

at the top of the plain text output. I am puzzled.

Brian.

 -- 
 Bernard Massot

-- 
Using encryption on the Internet is the equivalent of arranging an
armored car to deliver credit-card information from someone living in a
cardboard box to someone living on a park bench.
-- Gene Spafford
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Use of vcalendar with mutt

2015-07-19 Thread Brian Salter-Duke
I used vcalender long ago, but then had no use for it, but I am now getting a
lot of important emails from the university where I have an adjunct
appointment. I work at home and I do not have the Windows nonsense that full
time members of the department have to use. I use mutt as I have done for
longer than I can now remember.

In my mailcap I have:-

text/calendar; /home/brian/.mutt/vcalendar-filter; copiousoutput
application/ics; /home/brian/.mutt/vcalendar-filter; copiousoutput

from long ago. 

I have now got the second line to work when there is a *.ics attachment. 
I had to download and install several perl modules used by vcalendar-filter
which were not on my current machine.

However I get messages where the whole email is text/calendar with
nothing else.  Typing 'v' just shows:-

1 [ 8.6K] no description  quoted-printable text/calendar

Opening that gives:-

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
X-MS-OLK-FORCEINSPECTOROPEN:TRUE
BEGIN:VTIMEZONE
TZID:AUS Eastern Standard Time
BEGIN:STANDARD
DTSTART:16010401T03
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZOFFSETFROM:+1100
TZOFFSETTO:+1000
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16011007T02
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
TZOFFSETFROM:+1000
TZOFFSETTO:+1100
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT

and so on. Is that expected or is there a way to get something
a bit more useful?

It is a long time ago when I added anything usefull to the mutt project, so
many thanks to all who have kept it going so well over the years. It must also
be many years since I posted here.

Cheers, Brian.

-- 
On two occasions I have been asked [by members of Parliament], Pray, Mr. 
Babbage, if you put into the machine wrong figures, will the right answers 
come out?. I am not able rightly to comprehend the kind of confusion of 
ideas that could provoke such a question.
   -- Charles Babbage
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Can not delete attachements

2015-02-20 Thread Brian Salter-Duke
I am receiving emails from a colleague that have the following attachements:-

1 [  10M] no description7bit 
multipart/alternative
2 [ 3.6K] no description   
quoted-printable text/plain
3 [  10M] no description  7bit 
multipart/mixed
4 [ 3.8K] no description
quoted-printable text/html
5 [ 9.4M] H2-paper.docx  base64 
application/vnd.openxmlformats-officedocument.wordprocess
6 [ 0.2K] no description
7bit text/html
7 [ 816K] H2-paper.pdfbase64 
application/pdf
8 [ 2.5K] no description
quoted-printable text/html
9 [ 7.2K] smime.p7s   base64 
application/pkcs7-signature

I can save the docx and pgf files, but having done so, I want to delete them
from the email, which of course I want to save. However it will not let me.  It
is something to do with the smime.p7s signiture. How can I delete the large
files?  Any help eould be appreciated.

Cheers, Brian.

-- 
Brian Salter-Duke (Brian Duke) b_d...@bigpond.net.au  
Melbourne, Australia.


Re: pop(s),smtp(s)

2014-11-03 Thread Brian Salter-Duke
On Mon, Nov 03, 2014 at 12:55:07PM -0500, DaleKelly wrote:
 On 11/03/2014 11:41 AM, John Niendorf wrote:
 Just a note: ~/ is shorthand for/home/dale/
 
 
 installed from repository, more recent
 
 set up my ~/.muttrc file
 
 with these additions
 
 set smtp_host=smtp://u...@smtpout.secureserver.net:80
 set pop_host=pop://u...@pop.secureserver.net:110
 
 (can't use port 25 for my SMTP server, 80 works on Thunderbird,
 trying to get a lower memory footprint for email/news, have problems
 with desktop switcher)
 
 get these errors
 
 dale@dale-W3653:~$ mutt
 Error in /home/dale/.muttrc, line 136: smtp_host: unknown variable
 source: errors in /home/dale/.muttrc
 Press any key to continue...

This is pointing to the problem. Look at line 136. Is line 136 the one
you give above:-

set smtp_host=smtp://u...@smtpout.secureserver.net:80

Do you have to replace user with your user name? 

When you type mutt -v at the prompt, do you get +USE_SMTP in the
output, or do you get -USE_SMTP? If you get the latter you have not
compiled mutt with SMTP support so it will not recognise smtp_host.

You have the error message. You have the manual. Just search until you
debug this problem.

Brian.
 
 
 (mutt loads but emails sent are not received)
 
 -- 
 (my whereabouts below)
 http://www.dalekelly.org/

-- 


Re: Long urls

2013-03-30 Thread Brian Salter-Duke
On Sat, Mar 30, 2013 at 02:56:18PM +0100, John Niendorf wrote:
 I am using Mutt-patched from the Ubuntu repository (Yes, I am one of the 
 unwashed.)
 Anyway, it works really well except that if a url extends to multiple lines, 
 Mutt can't figure it out and clicking leads to a page not found error.
 
 I tried copying the url, but when I highlight the lines with the url I end up 
 copying a bunch of other stuff that is not in the url (like part of the list 
 of folders in the Mutt side panel, for example).
 
 Does anyone know a way to deal with long urls aside from opening up 
 Thunderbird?

urlview or urlscan. They are in the Ubuntu synopticpackage manager.
 
 Thanks for any advice, I really appreciate it.
 
 John

-- 


Re: Is it supposed to be possible to deliver mail while mutt has the mbox open?

2013-03-24 Thread Brian Salter-Duke
I looked at a mbox that was entirely created under Ubuntu and there are
blank lines at the end of each message before the From line.


On Sat, Mar 23, 2013 at 03:28:29PM +, Chris Green wrote:
 On Sun, Mar 24, 2013 at 01:22:56AM +1100, Erik Christiansen wrote:
  On 23.03.13 12:40, Chris Green wrote:
   Well I first actually tried it and saw no blank line.
   
   I've now looked throught my archive (1845 mailboxes) and most of them,
   saved with mutt, using S[ave], seem *not* to have a blank line either.
   There are some with blank lines between but I suspect that's because of
   migrating back and forth between various formats quite a lot over the
   years.
  
  That is weird, because I'm using:
 Mutt 1.5.21+145 (2a1c5d3dd72e) (2012-12-30)
  but have used a whole string of older mutts over the years. And I've
  never made (or heard of) a related config setting which could explain
  the behavioural difference.
  
   Certainly my current mutt 1.5.21 doesn't put a blank line in there and
   it's quite standard from the Ubuntu repositories (though I suppose they
   *might* have done something funny to it).
  
  So your mailboxes, viewed in vim or similar, have the /^From / line
  immediately following the last non-blank line of the previous message!!?
  That's something I've never seen ... in decades, mostly with mutt.
  
 Here, I've just sent myself three test E-Mails and have saved them to a
 mailbox called test, here is the result:-
 
 From MAILER-DAEMON Sat Mar 23 15:19:20 2013
 Return-Path: ch...@zbmc.eu
 X-Original-To: chris
 Delivered-To: ch...@zbmc.eu
 Received: by chris.zbmc.eu (Postfix, from userid 1000)
 id 94F62380255; Sat, 23 Mar 2013 15:19:20 + (GMT)
 Date: Sat, 23 Mar 2013 15:19:20 +
 From: Chris Green ch...@isbd.co.uk
 To: Chris Green ch...@zbmc.eu
 Subject: Test
 Message-ID: 20130323151920.GC10234@chris
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 User-Agent: Mutt/1.5.21 (2010-09-15)
 Content-Length: 31
 Lines: 3
 
 This is test 3
 
 --
 Chris Green
 From MAILER-DAEMON Sat Mar 23 15:18:53 2013
 Return-Path: ch...@zbmc.eu
 X-Original-To: chris
 Delivered-To: ch...@zbmc.eu
 Received: by chris.zbmc.eu (Postfix, from userid 1000)
 id B4267380255; Sat, 23 Mar 2013 15:18:53 + (GMT)
 Date: Sat, 23 Mar 2013 15:18:53 +
 From: Chris Green ch...@isbd.co.uk
 To: Chris Green ch...@zbmc.eu
 Subject: Test1
 Message-ID: 20130323151853.GA10234@chris
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 User-Agent: Mutt/1.5.21 (2010-09-15)
 Status: O
 Content-Length: 31
 Lines: 3
 
 This is test 1
 
 --
 Chris Green
 From MAILER-DAEMON Sat Mar 23 15:19:06 2013
 Return-Path: ch...@zbmc.eu
 X-Original-To: chris
 Delivered-To: ch...@zbmc.eu
 Received: by chris.zbmc.eu (Postfix, from userid 1000)
 id 12196380255; Sat, 23 Mar 2013 15:19:06 + (GMT)
 Date: Sat, 23 Mar 2013 15:19:06 +
 From: Chris Green ch...@isbd.co.uk
 To: Chris Green ch...@zbmc.eu
 Subject: Test2
 Message-ID: 20130323151905.GB10234@chris
 MIME-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 User-Agent: Mutt/1.5.21 (2010-09-15)
 Status: O  
 Content-Length: 31
 Lines: 3
 
 This is test 2
 
 --
 Chris Green
 
 
 I saved them separately (i.e. I didn't do a tag-save), nothing else
 special at all, as you can see I didn't save them in the order I
 sent them.
 
 'mutt -v' returns:-
 
 chris$ mutt -v
 Mutt 1.5.21 (2010-09-15)
 Copyright (C) 1996-2009 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: Linux 3.5.0-26-generic (x86_64)
 ncurses: ncurses 5.9.20110404 (compiled with 5.9)
 libidn: 1.25 (compiled with 1.25)
 hcache backend: tokyocabinet 1.4.47
 Compile options:
 -DOMAIN
 +DEBUG
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL
 -USE_FLOCK   
 +USE_POP  +USE_IMAP  +USE_SMTP  
 -USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS
 +HAVE_GETADDRINFO  
 +HAVE_REGCOMP  -USE_GNU_REGEX  
 +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
 +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
 +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
 +CRYPT_BACKEND_GPGME  
 -EXACT_ADDRESS  -SUN_ATTACHMENT  
 +ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
 +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
 +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
 -ISPELL
 

Re: sidebar patch

2013-02-11 Thread Brian Salter-Duke
On Mon, Feb 11, 2013 at 09:53:17AM +0100, Scott Stevenson wrote:
 On Mon, Feb 11, 2013 at 06:56:46AM +1100, Brian Salter-Duke wrote:
  On Sun, Feb 10, 2013 at 06:46:11PM +0100, Scott Stevenson wrote:
   On Sun, Feb 10, 2013 at 07:52:57PM +0530, dexter wrote:
I'm new to mutt, just installed one and getting 
to know it, how do i get sidebar in mutt, google
search tells me that i have to apply a patch,
i'm running on ubuntu, where can i get this patch?
   
   Debian and derivatives such as Ubuntu provide a `mutt-patched` package,
   which includes the sidebar patch.
  
  I have Ubuntu 12.04 and Mutt 1.5.21 (2010-09-15) unmodified by me. It
  does not have the sidebar patch as far as I can see. 
 
 Then I suspect you have the `mutt` package [0] installed rather than
 `mutt-patched` [1]. The sidebar patch is only included in the latter.
 
 [0] http://packages.ubuntu.com/precise/mail/mutt
 [1] http://packages.ubuntu.com/precise/mail/mutt-patched

Yes, you are right. mutt has a whole lot of patches included, so I did
not think to look for a more patched version. I have long been wary
about the sidebar patch but had never tried it. I now understand why it
is not included in the main release and I fully support that. It is
easier to use mutt without it. Unfortunately installing mutt-patched
installed /usr/bin/mutt-patched but overwrote /usr/bin/mutt to be a soft
link to mutt-patched. I had to uninstall mutt-patched and then reinstall
mutt to get rid of the sidebar. Back to normal now.

Brian.
 -- 
 Scott Stevenson

-- 
I really didn't foresee the Internet. But then, neither did the computer 
industry. Not that that tells us very much, of course - the computer 
industry didn't even foresee that the century  was going to end.   
   -- Douglas Adams 
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: sidebar patch

2013-02-11 Thread Brian Salter-Duke
On Mon, Feb 11, 2013 at 03:16:08PM -0600, Luis Mochan wrote:
 On Tue, Feb 12, 2013 at 08:02:39AM +1100, Brian Salter-Duke wrote:
  On Mon, Feb 11, 2013 at 09:53:17AM +0100, Scott Stevenson wrote:
   On Mon, Feb 11, 2013 at 06:56:46AM +1100, Brian Salter-Duke wrote:
On Sun, Feb 10, 2013 at 06:46:11PM +0100, Scott Stevenson wrote:
 On Sun, Feb 10, 2013 at 07:52:57PM +0530, dexter wrote:
  ...
  easier to use mutt without it. Unfortunately installing mutt-patched
  installed /usr/bin/mutt-patched but overwrote /usr/bin/mutt to be a soft
  link to mutt-patched. I had to uninstall mutt-patched and then reinstall
  mutt to get rid of the sidebar. Back to normal now.
  
 
 Under Debian you could run 
 
   sudo update-alternatives --config mutt
 
 to choose which mutt (patched or not) to run by default. I guess that
 Ubuntu is similar. Thus, it was not really necessary to
 uninstall/reinstall in order to test and choose among the two mutt versions. 
 Of
 course, you already did...

Indeed. I used the synaptic package manager. That is probably more
simple minded than updating from a prompt in the terminal. Nevertheless
it is very easy to use.

Brian.

 Best regards,
 Luis
 
 
 -- 
 
   o
 W. Luis Mochán,  | tel:(52)(777)329-1734 /(*)
 Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388 `/   /\
 Apdo. Postal 48-3, 62251 |   (*)/\/  \
 Cuernavaca, Morelos, México  | moc...@fis.unam.mx   /\_/\__/
 GPG: DD344B85,  2ADC B65A 5499 C2D3 4A3B  93F3 AE20 0F5E DD34 4B85
 

-- 
First they ignore you, then they laugh at you, then they fight you,
then you win. 
  -- Gandhi, being prophetic about Linux.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: sidebar patch

2013-02-11 Thread Brian Salter-Duke
On Mon, Feb 11, 2013 at 03:55:09PM -0600, Luis Mochan wrote:
 On Tue, Feb 12, 2013 at 08:29:29AM +1100, Brian Salter-Duke wrote:
  ...
   
   Under Debian you could run 
   
 sudo update-alternatives --config mutt
   
   to choose which mutt (patched or not) to run by default. I guess that
   Ubuntu is similar. Thus, it was not really necessary to
   uninstall/reinstall in order to test and choose among the two mutt 
   versions. Of
   course, you already did...
  
  Indeed. I used the synaptic package manager. That is probably more
  simple minded than updating from a prompt in the terminal. Nevertheless
  it is very easy to use.
  
 
 I guess there is some confusion: Synaptic, like aptitude and apt-get,
 is for installing and removing packages. Update-alternatives is to
 choose which program to use when you have several programs installed
 that offer similar functionality, such as the patched and the
 un-patched versions of mutt. You may install both using synaptics and
 then choose which one to use (by default) without uninstalling the
 other. 

No, that is not how it worked. I had the normal mutt for months.
Yesterday I installed mutt-patched and it overwrote mutt. It was just a
link to mutt-patched. Am I missing something?

Brian.

 Regards,
 Luis
 
 
 -- 
 
   o
 W. Luis Mochán,  | tel:(52)(777)329-1734 /(*)
 Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388 `/   /\
 Apdo. Postal 48-3, 62251 |   (*)/\/  \
 Cuernavaca, Morelos, México  | moc...@fis.unam.mx   /\_/\__/
 GPG: DD344B85,  2ADC B65A 5499 C2D3 4A3B  93F3 AE20 0F5E DD34 4B85
 

-- 
A child of five could understand this!  Fetch me a child of five. 
   -- Marx (guess which one)
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: sidebar patch

2013-02-11 Thread Brian Salter-Duke
On Mon, Feb 11, 2013 at 10:22:35PM -0600, Luis Mochan wrote:
 On Tue, Feb 12, 2013 at 09:22:20AM +1100, Brian Salter-Duke wrote:
  ...
   I guess there is some confusion: Synaptic, like aptitude and apt-get,
   is for installing and removing packages. Update-alternatives is to
   choose which program to use when you have several programs installed
   that offer similar functionality, such as the patched and the
   un-patched versions of mutt. You may install both using synaptics and
   then choose which one to use (by default) without uninstalling the
   other. 
  
  No, that is not how it worked. I had the normal mutt for months.
  Yesterday I installed mutt-patched and it overwrote mutt. It was just a
  link to mutt-patched. Am I missing something?
  
 Dear Brian,
 
  I guess there is still some confusion. When you installed
 mutt-patched, mutt was overwritten. The same thing happened to me.  In
 my system, /usr/bin/mutt is a link pointing to
 /etc/alternatives/mutt. Furthermore, /etc/alternatives/mutt is a link
 pointing to /usr/bin/mutt-patched, which is the actual binary for the
 patched version of mutt. Using the command update-alternatives as I
 mentioned a couple of messages ago, this link may be replaced by a
 link to /usr/bin/mutt-org, which is the binary for the unpatched
 mutt. Thus I can experiment alternating freely between mutt-patched
 and mutt (unpatched) without having to uninstall either. I use Debian,
 but I understand that the 'alternatives' system is available in Ubuntu
 also. 
 
 Best regards,
 Luis

Many thanks. I understand it now. It is indeed like your describe in
Ubuntu. I had just not come across this alternates idea before.

Brian.

-- 
Rectify the anomaly.
 The worst slogan used by an education trade union.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: sidebar patch

2013-02-10 Thread Brian Salter-Duke
On Sun, Feb 10, 2013 at 06:46:11PM +0100, Scott Stevenson wrote:
 On Sun, Feb 10, 2013 at 07:52:57PM +0530, dexter wrote:
  I'm new to mutt, just installed one and getting 
  to know it, how do i get sidebar in mutt, google
  search tells me that i have to apply a patch,
  i'm running on ubuntu, where can i get this patch?
 
 Debian and derivatives such as Ubuntu provide a `mutt-patched` package,
 which includes the sidebar patch.

I have Ubuntu 12.04 and Mutt 1.5.21 (2010-09-15) unmodified by me. It
does not have the sidebar patch as far as I can see. 

Brian.
 
 -- 
 Scott Stevenson



-- 
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Putting table in email?

2012-11-20 Thread Brian Salter-Duke
On Tue, Nov 20, 2012 at 02:34:59PM -0600, David Champion wrote:
 * On 20 Nov 2012, David Champion wrote: 
  * On 20 Nov 2012, Peter Davis wrote: 
   Is there any reasonly easy (non-painful) way to put a table in a
   message? A plain text table would be fine if I could limit it to 72
   characters wide or so, and if there were a reasonable way to edit it,
   preferably in emacs.
  
  Type this:
  ...
 
 I've never used this before but I want to start.  I wrote a wrapper so
 that I only need to compose the table's contents, not the additional
 markup.
 
 ### save to mutt-table script
 #!/bin/sh
 # table wider than line width is an error that tbl may produce when
 # no terminal is present.
 (
   echo '.TS'
   echo 'box tab(|);'
   read line
   # produce a column format based on columns in line 1
   echo $line | sed -e 's,[^|]*,l,' -e 's,[^|]*,c,g' -e 's,$,.,'
   echo $line
   cat -
   echo '.TE'
 ) |
 tbl |
 nroff -Tascii 21 |
 grep -v 'table wider than line width' |
 uniq
 
 ### add to .exrc
 map T {
 !}mutt-table
 
 ### type into vi
 Year|Hurricane|Deaths|Location
 1780|Great Hurricane of 1780|27,500+|Antilles
 1998|Hurricane Mitch|18,974 - 21,000|Honduras
 1900|cane|8,000 - 12,000|Cuba, Texas
 1974|Hurricane Fifi|8,000 - 10,000|Honduras, Belize
 1930|bcane|2,000 - 8,000|Antilles, D.R.
 1963|Hurricane Flora|7,186 - 8,000|Haiti, Cuba
 
 ### press T over table to format

This looks great, but I am unclear what one does precisely. I created
the script, and added the stuff to .exrc (actually created that file, as
I use .vimrc). Then I added the text for the table to the article. What
do I do next. Pressing T did nothing.

Brian.

 
 -- 
 David Champion • d...@uchicago.edu • IT Services • University of Chicago

-- 


Re: Putting table in email?

2012-11-20 Thread Brian Salter-Duke
On Tue, Nov 20, 2012 at 11:16:40PM -0600, David Champion wrote:
 * On 20 Nov 2012, Brian Salter-Duke wrote: 
   map T {
   !}mutt-table
   ...
   ### press T over table to format
  
  This looks great, but I am unclear what one does precisely. I created
  the script, and added the stuff to .exrc (actually created that file, as
  I use .vimrc). Then I added the text for the table to the article. What
  do I do next. Pressing T did nothing.
 
 I'm not terribly familiar with vim since I prefer vi.  I do have a .vimrc
 though, in case I have to use vim, and it ends with:
 
 source .exrc
 
 which implies to me that when .vimrc is present, .exrc is not processed
 by default (I really don't recall for sure).  So I suggest putting the
 map command into .vimrc instead, and just deleting the .exrc file.
 
 Here's the macro again, with literal carriage returns replaced by ^M.
 To enter a carriage return while editing the .vimrc, press control-V
 control-M.
 
  Run tbl markup through mutt-table
 map T {^M!}mutt-table^M

OK, I have done that. I also changed nroff to groff as I have both and
they are different sizes. However, I still do not really understand by
press T over table to format. I type the table, hit esc and then
shift-T. Nothing happens. What am I supposed to do?

Brian. 
 -- 
 David Champion • d...@bikeshed.us

-- 
Microsoft is not the answer. It is the question. The answer is 'No'.
   -- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Using mailto-mutt in Firefox

2012-08-14 Thread Brian Salter-Duke
I am trying to get mailto-mutt working in Firefox. I have it set in my
preferences. I use folder-hook to define sendmail, from and signature.
folder-hook .  is used to define the default. However, none of these
are set. It does not send. There is no signature file set. The From line
is just my name on my local machine, not my mail address. It does not
appear to be obeying any folder-hook commands, as if there is no folder
defined. I got things to work by setting defaults directly in muttrc for
all three of these:-

set signature=~/.mutt/general.sig
set from=b_d...@bigpond.net.au
set sendmail=/usr/bin/msmtp -C /home/brian/.msmtprc.bp

There must be a better way, that avoids setting each of these and a few
others that are less importan. I tried editing mailto-mutt to make the
mutt_commands= line read:-

mutt_commands=-f incoming

hoping that this would make incoming the default folder, and thus get
folder-hook .  to work, but that does work. Does anyone have an idea
how to get folder-hook to work in this context of mailto-mutt?

Cheers, Brian.

-- 
   Brian Salter-Duke (Brian Duke)   brian.salter-d...@monash.edu
Adjunct Associate Professor
Monash Institute of Pharmaceutical Sciences
  Monash University Parkville Campus, VIC 3052, Australia


Re: Problems sending using msmtp and mutts built in smtp

2012-05-11 Thread Brian Salter-Duke
On Fri, May 11, 2012 at 10:33:33PM +0800, Martin De'Pannone wrote:
 Hello all.
 
 New to mutt and to the mailing list.
 
 I have mutt working as far as being able to fetch my emails from an
 IMAP mail srver that I run. ?The issue is I can not send emails
 despite several nights trying to get the thing to work.
 
 Below is my .muttrc
 
 
 #muttrc by martin thanks to brisbin
 
 
 set realname = Martin De
 set imap_user = mar...@mailserver.com
 set folder=imaps://mail.mailserver.com:8993/
 set spoolfile=+INBOX
 set record=imaps://mail.mailserver.com/Sent
 set imap_check_subscribed
 set certificate_file ? ?= ~/.mutt/cert_file ? ? ? ? ? ? ? ? # where to
 store certs
 set mailcap_path ? ? ? ?= ~/.mutt/mailcap ? ? ? ? ? ? ? ? ? ? ? #
 entrys for filetypes
 source ~/.mutt/colours
 set from=mar...@mailserver.com

 #set sendmail = /usr/bin/msmtp -a home -X /home/martin/.newmsmtp.log

I think after -a you need your mail account name. e.g. x...@gmail.com.
What is in your .msmtprc file? The account and logfile are best put
there.

Brian.

 #set ssl_verify_host = no
 #set ssl_verify_dates = no
 set use_from=yes
 set envelope_from=yes
 set my_user=mar...@mailserver.com
 set smtp_url=smtps://mar...@mailserver.com@mail.mailserver.com:8465/
 set ssl_force_tls = yes
 
 
 
 # main options
 
 ? set beep_new ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 terminal bell on new message
 unset confirmappend ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 don't ask, just do
 ? set delete ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 don't ask, just do
 ? set mail_check ? ? ? ? ?= 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 minimum time between scans
 unset markers ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # no
 ugly plus signs
 unset mark_old ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 read/new is good enough for me
 ? set menu_scroll ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 scroll in menus
 ? set pager_index_lines ? = 10 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 number of index lines to show
 ? set pager_context ? ? ? = 5 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 number of context lines to show
 ? set pager_stop ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 don't go to next message automatically
 ? set pipe_decode ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 strip headers and eval mimes when piping
 ? set reverse_alias ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 show names from alias file in index
 #set sort ? ? ? ? ? ? ? ?= threads ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # like gmail
 #set sort_aux ? ? ? ? ? ?= reverse-last-date-received ? ? ? ? ? ?# like gmail
 #unset sort_re ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 always thread
 ? set thorough_search ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 strip headers and eval mimes before searching
 ? set thread_received ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 sort threads by date received, not sent
 ? set tilde ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 show tildes like in vim
 ? set timeout ? ? ? ? ? ? = 3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? #
 idle time before scanning
 unset wait_key ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 don't show Press any key to continue
 unset resolve ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?#
 stops attachjments being downloaded
 
 # sidebar settings
 ###
 ? set sidebar_visible = yes
 ? set sidebar_width ? = 25
 
 ? set sidebar_delim = ? ? ? ? ? ? ? '|'
 ? set status_format = -%r- %v --+/ %f %m%?n? [+%n]?%?d?
 [-%d]?%?t? [*%t]? /%?p?---/ %p waiting to send /?-%-(%P)---
 
 # colors
 color sidebar_new brightyellow black
 
 # sidebar bindings
 bind index,pager \CJ sidebar-next
 bind index,pager \CK sidebar-prev
 bind index,pager \CB sidebar-open
 
 This fails with the following error.
 
 SSL failed: error:140770FC:SSL
 routines:SSL23_GET_SERVER_HELLO:unknown protocol
 
 
 
 I have tried also using msmtp, this gives me the same error.
 
 My .msmtprc is below
 
 account home
 host mail.mailserver.com
 port 8465
 protocol smtp
 logfile /home/martin/.newmsmtp.log
 auth plain
 user mar...@mailserver.com
 from mar...@mailserver.com
 tls on
 tls_certcheck off
 tls_starttls off
 tls_force_sslv3 on
 
 account default : home
 
 It gives me the exact same error, in fact, it doesn't even prompt me
 for a password which I would have thought t would have.
 
 I have now tried the same config on two different mutt builds in
 archlinux (see link following to my post on arch linux forums
 https://bbs.archlinux.org/viewtopic.php?id=141204) and both builds
 have the same error mentioned above despite some helpful input from
 the archlnux?community.
 
 
 On a possibly related note the self-signed SSL cert will not save
 despite me selecting a when prompted during the retrieval of my
 email - perhaps this is a related error or something?
 
 Can someone possibly give me some guidance on how to fix this problem

Re: mutt and stdin

2012-04-17 Thread Brian Cuttler

I'd thought he could put the data into a file and then
invoke mutt, something like.

pre-amble creating body of email

mutt -s $subject_string $delivery_to_string  message_file

At least this works for me when using mailx, but that is a
very different utility than mutt.



On Tue, Apr 17, 2012 at 11:24:10AM -0500, Luis Mochan wrote:
 On Tue, Apr 17, 2012 at 01:10:43PM -0300, Andrei Mikhailov wrote:
  Thank you !
  I think I now understand, more or less, why it does not work as expected.
  Perhaps my question is more about Linux, than about Mutt. What I really
  want to achieve is the following:
  
echo mydata | myscript.sh
  
  where myscript.sh is the following:
  
#!/bin/bash
some-program-which-reads-from-stdin.sh
mutt
 If your purpose is automatically sending mail based on 'mydata' and
 the results of some-program..., maybe you shouldn't use mutt, which I
 believe is designed for interactive use. For example, in my perl
 scripts I use Mime::Lite to send email as
 
 my $msg=MIME::Lite-new(
   From='My Name my@address',
   To='Her name her@address',
   Subject=My subject,
   Type='text/plain; charset=utf-8',
   Data=The message text with interpolated $variables,
 );
 $msg-attach(
   Type='text/plain;charset=utf8',
   Path='aTextFile.txt',
   Disposition='inline'
   );
 $msg-attach(
   Type='image/jpg',
   Path='anImageFile.jpg',
   Disposition='attachment'
   );
$msg-send;
 
 Best regards,
 Luis
 
  
  In other words, the script first reads the pipe and does something, 
  and then just calls mutt.
  Somehow, beteween ``some-program-...'' and ``mutt'' I have to insert
  some command, saying:
``finished reading pipe, control is now returning to the terminal''
  Is that possible?
  Is it possible to call Mutt from within scripts accepting pipe input?
  
  On Tue, Apr 17, 2012 at 10:37:55AM -0500, Derek Martin wrote:
   On Tue, Apr 17, 2012 at 11:46:15AM -0300, Andrei Mikhailov wrote:
I would expect that this command:

  echo mymaildir | xargs mutt -f 

be equivalent to:

  mutt -f mymaildir

But instead, mutt complains about ``no recipient specified''.
Please help me to figure this out!
   
   The problem here is that when you run it this way, Mutt's stdin is not
   a terminal.  When that's the case, mutt expects you're composing a
   message on the command line, and will complain when you don't provide
   it enough options to specify the message envelope:
   
   $ mutt -f Mailbox  /dev/null
   No recipients were specified.
   
   For the UI to work, stdin must be a terminal, so that mutt (or rather,
   whichever terminal control library it uses) knows what to send to the
   terminal to draw the screen, etc.  AFAIK there's no way around that.
   
   -- 
   Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
   -=-=-=-=-
   This message is posted from an invalid address.  Replying to it will 
   result in
   undeliverable mail due to spam prevention.  Sorry for the inconvenience.
   
  
  
 
 -- 
 
   o
 W. Luis Moch?n,  | tel:(52)(777)329-1734 /(*)
 Instituto de Ciencias F?sicas, UNAM  | fax:(52)(777)317-5388 `/   /\
 Apdo. Postal 48-3, 62251 |   (*)/\/  \
 Cuernavaca, Morelos, M?xico  | moc...@fis.unam.mx   /\_/\__/
 
 O ascii ribbon campaign - stop html mail - www.asciiribbon.org   
   
 
 
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: How to save a thread to a file

2012-04-08 Thread Brian Salter-Duke
On Sat, Apr 07, 2012 at 01:38:07PM -0800, Tim Johnson wrote:
 * Gary Johnson garyj...@spocom.com [120407 13:06]:
  
  Well, mbox folders are just files.  Could you save to an mbox 
  folder?
 
  Of course, but what I was really inquiring about was whether I could
  save 'en masse' :: a thread to one file.
  thanks

I don't understand what you are asking.
 It would be nice if I could save all of the tagged messages to one
 k*named* (not mbox) file - just as if I were saving a viewed
 attachment. It looks like that is not doable.
  
  I'm not following you at all.  An mbox file _is_ a named file.  You
  can choose any name you like, absolute, relative to your mail folder
  directory, or relative to the directory in which you started mutt.
  
You can tag the thread, and save it all 'en masse' to an 'mbox' file
anywhere where you can create a file.  How would the file you are want
to create differ from what you get when it is created as an 'mbox'?
 Yeah, what would work for me is a special mbox directory for just
 saving stuff then open them in vim and weed out headers, saving
 content to a new file..
  
  Save a thread to any file name you like, open that file in vim and
  tell me how that differs from what you requested.
 Gary, below is my original question:
   I can Esct to tag the thread and then ;s to save to another
   mailbox, but I don't know if I can save the same to a file.
  To recap, if I tag the thread and invoke ;s
  I get the following response
  Save tagged to mailbox ('?' for list): =tim
  If I back up the cursor and enter ~/save-thread.txt,
  mutt creates a mailbox named save-thread.txt
  That is not what I want.

save-thread.txt is just a file, no more, no less. Do you want to remove
all the headers? What is it that is not what you want?

However, I think you have a bigger problem. Doing what you suggest, I
think, gives only the first message of the thread. I think you want all
messages. I agree it would be a nice feature, but I can not see how to
do it at the moment.

Brian.

  ---
  Please tell me how you would save the entire thread to one file.
  Clearly I am not using the correct command.
  thanks
 -- 
 Tim 
 tim at tee jay forty nine dot com or akwebsoft dot com
 http://www.akwebsoft.com

-- 


Re: Fetch and delete only lists and make offline /copy/ of other msgs - IMAP

2011-11-17 Thread Brian Salter-Duke
On Fri, Nov 18, 2011 at 12:04:14AM +0100, Nikola Hardi wrote:
 Hi!
 
 I'm using gmail's IMAP and I'm subscribed to several mailing lists. Now
 I wont to get that mail from lists to my desktop computer and delete it
 from the server, then sort it to different local mailboxes. Other part
 is to make offline copy of valuable messages and keep them on the
 server for usage with other mail clients.
 
 What tool is for what? Fetchmail probably could do this part getting
 mail and offlineimap the other part of syncing other messages. Who
 should do the sorting part and keep messages from one mailing list in
 one mailbox? Is it task for MDA?
 
 Just tell me which tool should do what and I'll try to make my way
 somehow.
 
 This is the first time I'm writing to a mailing list so tell me if I did
 something wrong. :)

Welcome to the list. Use fetchmail to get them and procmail to filter
them into different mail boses.

Cheers, Brian.

-- 
First they ignore you, then they laugh at you, then they fight you,
then you win. 
  -- Gandhi, being prophetic about Linux.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Configuring mailcap to view vnd.openxm

2011-10-08 Thread Brian Salter-Duke
On Sat, Oct 08, 2011 at 07:17:48PM +0200, P. Mazart wrote:
 Hi,
 
 Mandar Mitra schrieb am 08.10.2011 17:24:30:
  I have the following line in /etc/mailcap (probably added by the
  installation scripts for libreoffice):
 
  application/vnd.openxmlformats-officedocument.wordprocessingml.document; 
  soffice -no-oosplash -writer '%s'; edit=soffice -no-oosplash -writer '%s'; 
  test=test -n $DISPLAY; description=Office Open XML Document; 
  nametemplate=%s.docx
 
 I have the exact same line on Debian Lenny,
 yet mutt won’t open it with soffice…

What version of OpenOffice do you have? Support for docx files is
relatively new I think.
 
  I also have libreoffice installed, and can read docx files after a
  fashion using this package.
 
 Maybe its because mutt mentions the attachment as octett stream‽
 
 Regards,
 P.M.

-- 
A Computer is like a horse, it will sense weakness.
-- Greg Wettstein
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: gpg issues

2011-06-05 Thread Brian Ryans
Quoting Chris Brennan on 2011-06-04 19:54:
 I added my 8-charcater key and mutt changes it to a 10-character
 hexidecimal key.

Are the first two characters of the 10-character key 0x? If so that's
just denoting the key's hex and are not part of the key; I haven't set
it up in quite a long time, unfortunately, that's all I could think of
re: that.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: brianlry...@gmail.com  ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ DRM: encryption which assumes Bob is also Eve and Mallory.


signature.asc
Description: Digital signature


Re: Cc prompt when writing a new message

2011-03-07 Thread Brian Ryans
Quoting Patrice Clement on 2011-02-22 06:09:
 Hi there
 
 I've been looking for a way to get a prompt to fill up the Cc: field when I
 want to write a new email. Currently, when I press m (you all know what the
 key-binding for m is :)), mutt asks me to whom I want to send the email and
 the subject of it. But no Cc: comes up. I looked through the documentation
 but couldn't find anything related to this.

In addition to what Eric said, you could set edit_headers=yes in .muttrc
and handle destinations and {B,}CCs in your editor.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: brianlry...@gmail.com  ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr


signature.asc
Description: Digital signature


Re: viewing the result of piping a message in mutt

2011-02-02 Thread Brian Salter-Duke
On Wed, Feb 02, 2011 at 01:27:34PM +0100, Joost Kremers wrote:
 hi all,
 
 when i pipe a message through an external command, the output is written to a
 file. is there a way to have the output displayed in mutt itself, similar to
 viewing attachments in-line?

It is a function of the external command. It seems that is writing to a
file. So change the external command to write to STOUT.

Brian.
 
 TIA
 
 joost
 
 
 -- 
 Joost Kremers, PhD
 University of Göttingen
 Institute for German Philology
 Käte-Hamburger-Weg 3
 37073 Göttingen, Germany
 Tel. +49 551 39 4467

-- 
The PROPER way to handle HTML postings is to cancel the article, then
hire a hitman to kill the poster, his wife and kids, and fuck his dog
and smash his computer into little bits. Anything more is just extremism.
-- Paul Tomblin
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: ad: muttlearn - tool for managing multiple identities

2010-11-30 Thread Brian Salter-Duke
On Tue, Nov 30, 2010 at 01:17:20PM +0100, Johannes Weißl wrote:
 Hi Brian,
 
 On Tue, Nov 30, 2010 at 06:51:14PM +1100, Brian Salter-Duke wrote:
  Looks interesting, so I got it. Why does it install in ~/.local? How can
  I change this as .local would be just another directory I would have to
  add to my path? I looked to see if I could alter it, but could not find
  where it was set to install in ~.local. I would like to install in
  /usr/local/bin or ~/bin.
 
 No problem at all! Just use:
   sudo python setup.py install --prefix=/usr/local

Thanks for that. Perhaps this could be put in the INSTALL file. I was
confused by the fact that the --prefix use was only mentioned for
version 2.5 and I have 2.6

Brian.
 
 And to remove:
   sudo rm -rvf /usr/local/bin/muttlearn 
 /usr/local/lib/python*/*-packages/muttlearn*
 
 I used ~/.local because it seems to be the upcoming standard for
 installing python modules by (non-root) users.
 
 Is it working now?
 
 
 Johannes



-- 
Microsoft is not the answer. It is the question. The answer is 'No'.
   -- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: ad: muttlearn - tool for managing multiple identities

2010-11-29 Thread Brian Salter-Duke
On Sun, Nov 28, 2010 at 11:49:26PM +0100, Johannes Weißl wrote:
 Hello!
 
 I recently uploaded a small python program I've been using privately for
 a few years now. It scans sent messages and automatically generates
 send-hooks for recipients or groups of recipients. The learned settings
 include $from, $realname, $signature, $send_charset, language, a message
 template (greeting, goodbye) and crypto settings.
 
 Maybe it is useful for you, in any case I would appreciate any feedback
 on how to improve it! The URL is:
 https://molb.org/~weisslj/muttlearn/

Looks interesting, so I got it. Why does it install in ~/.local? How can
I change this as .local would be just another directory I would have to
add to my path? I looked to see if I could alter it, but could not find
where it was set to install in ~.local. I would like to install in
/usr/local/bin or ~/bin.

Cheers, Brian.

 For users of mairix, mu or nmzmail, another script might be interesting:
 muttjump: https://github.com/weisslj/muttjump
 It allows jumping back from the search folder to the original message
 (useful for editing, changing flags, deleting).
 
 
 Johannes



-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.
   -- Albert Einstein   
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Can I use a sendmail across my LAN?

2010-10-28 Thread Brian Cuttler
On Thu, Oct 28, 2010 at 12:21:41PM +0100, Chris G wrote:
 On Thu, Oct 28, 2010 at 01:00:43PM +0200, Matthias Apitz wrote:
  El d?a Thursday, October 28, 2010 a las 11:50:23AM +0100, Chris G escribi?:
  
   I have a small home LAN and have one machine set up as a server machine.
   That machine has postfix on it fully configured to both send and receive
   mail. 
   
   Is it possible to use the sendmail (well, postfix's sendmail) on that
   machine from other machines on the LAN to send mail?  Otherwise I have
   to configure each machine my ISP's smarthost SMTP details whereas if I
   use my LAN machine's sendmail I only need to set up the smart/relay host
   in one place.
   
   If it is possible how do I configure the various mutts to use it?
  
  You could configure each sendmail to use your central box as relay
  (smarter host) or you can set in each mutt something like:
  
 But then I have to install and configure an MTA on every machine.

Sorry for jumping in...

How where you planning to generate the mail to begin with ?

If you are just using a browser email client of some kind you
can configure, oh, thunderbird, or whatever to use the mailhub
and be done with it, but you will need some config in some client
on each end-point... unless you want to install squirl mail or some
other web-based email server, but you will still need the mailhub
and pop or imap under it.

  set smtp_url=smtp://your-central-box/
  
 Yes, I guess this is the way to do it, just seems wrong somehow to
 convert it all to SMTP and back.  Will it work just as above with no
 user name or password?  I guess I can just try it.
 
 -- 
 Chris Green
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: fetchmail - google certificate

2010-10-23 Thread Brian Salter-Duke
On Sat, Oct 23, 2010 at 09:08:52AM -0600, Joseph wrote:
 On 10/23/10 08:53, Harry Strongburg wrote:
 On Sat, Oct 23, 2010 at 12:15:23AM -0600, Joseph wrote:
 fetchmail: socket error while fetching from 
 syscon...@gmail.com@pop.gmail.com
 Silly mistake there! :)

 Fetchmail 'user' requires you do NOT have a domain-name added onto it.
 The domain-name is supplied at the poll argument.

 Have fun.

 I've removed the domain name, now the line looks like:
 poll pop.gmail.com with proto POP3 and options no dns user 'syscon780' 
 password '' options ssl sslcertpath /home/joseph/.mutt/cert/

I have had this working for ages and I do not have time to think about
it, but I have the equivalent of syscon...@gmail.com, not syscon780 or
syscon...@gmail.com@pop.gmail.com. I also have sslcertck after ssl. I do
not know whether that would help.

 but it still complains, certificate not trusted.

 fetchmail: This means that the root signing certificate (issued for
 /C=US/O=Google Inc/CN=Google Internet Authority) is not in the trusted
 CA certificate locations, or that c_rehash needs to be run on the
 certificate directory. For details, please see the documentation of
 --sslcertpath and --sslcertfile in the manual page.
 fetchmail: Server certificate verification error: certificate not trusted
 fetchmail: Warning: the connection is insecure, continuing anyways. (Better 
 use --sslcertck!)

 -- 
 Joseph

-- 
If a thing's worth doing, it is worth doing badly.
   -- G.K. Chesterton
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: collapse-all folder-hook doesn't alway work for default mailbox

2010-10-18 Thread Brian Ryans
Quoting Bill Sun on 2010-10-16 07:51:00:
 However, in these cases listed below, the folder-hook works correctly:
 1)First launch a terminal, then typemutt in it to launch mutt. In this
   case, the folder-hook also works for default mailbox.

 2)Using keyboard shortcut to launch mutt, then enter any folder. In this
   case, the folder-hook doesn't work for default mailbox.

Start mutt by each method and type:


!pwd  false

You should see mutt's current working directory. false is not needed if
you have mutt var $wait_key set (the default). This is just a shot in
the dark (I lack the ability to install urvxt at this time) but maybe a
regular will lead us in the right direction until then.

With my _current_ setup though (using 1.5.20), exec collapse-all does
not work on the default folder, whereas push collapse-all works as
expected.

Hope this helps!

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: brianlry...@gmail.com  ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr


signature.asc
Description: Digital signature


Re: Usage poll for mutt on Solaris

2010-09-27 Thread Brian Cuttler


Dago,

Typically we run zones on systems as, you stated, an isolation
mechanism. Webservers, DNS server, etc.

Typically we don't have a lot of users on these zones, there are
more for services.

A single mutt config file would work just fine for us, the few
users that log-into those zones, and the subset of those that
use mutt from there is small and there is no need for us to
differentiate the system-wide Muttrc files.

--

If I can ask a question in return ?

I've installed mutt 1.5.20 on a Solaris 10/x86 and I can't
open the imap server. When invoking mutt, even prior to entering
the username I get the following error.

Bad IDN imaps.wadsworth.org.

This was not an issue in the earlier SFW mutt I was running.
No changes to my private .muttrc file. I am able to run the new
version against my mutt.outbox in my directory.

If you have any suggestions... that will allow me to move from
Solaris on Sparc to x86.

thank you,

Brian

On Mon, Sep 27, 2010 at 03:56:59PM +0200, Dagobert Michelsen wrote:
 Hi,
 
 I am maintaing mutt on Solaris for OpenCSW and there is some
 discussion going on about the best placement of the mutt
 configuration files like Muttrc. The problem arises when
 there have been multiple zones installed as sparse zones.
 A zone in Solaris terminology is similar to a BSD Jail,
 isolating processes between the zones and allowing
 similar or different network configurations of each zone
 on a machine. A Sparse Zone inherits some directories
 from the global zone, making these very space efficient.
 However, to make the implementation secure these
 inherited directories are read-only from within the zone.
 
 Now here is the question: Would it be more likely that
 all zones share the same mutt configuration or would a
 typical administrator adjust each of them individually?
 
 
 Thanks for your time and best regards
 
   -- Dago
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: Up to date version of trash patch?

2010-09-26 Thread Brian Ryans
Quoting seanh on 2010-09-25 08:33:53:
 I'd like to see the trash setting become part of mutt also.

+1 on the trash patch going mainline.

[ ~/.mutt/muttrc:39,41 ]-
# Simulate behavior of Thunar and Explorer trashcans
folder-hook . set delete=yes
folder-hook +trash set delete=ask-no


-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ 43190205 | Mail/Jabber/Yahoo/MSN: brianlry...@gmail.com  ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Modern man has an approximately 140-character attention span. -- blr


signature.asc
Description: Digital signature


Re: some color definitions dont work

2010-09-20 Thread Brian Cuttler

I don't know if it helps or applies to you, but I was unable
to get the colors to work, but the devil is in the details.

I was running on Solaris 10/x86 and installed mutt from 
the sunfreeware pre-built.

No luck with colors under 1.5.17 but no problems at all with 1.5.20
with a lot of the issues being the load library dependencies.




On Sat, Sep 18, 2010 at 02:16:53PM +0200, Matthias Apitz wrote:
 
 Hello,
 
 I'm really with no clue and sorry if this stupid or a FAQ, but I can't
 get some of the color settings to work in mutt 1.15.9 :-(
 
 What does work is:
 
 set color_after_eol=no
 color status brightgreen blue
 color indicator brightyellow red
 color normal black white
 
 What does not work is, for example:
 
 color header brightyellow red ^(To|From|Subject):
 
 The effect is with the above statement like 'brightgris white'. Same
 happens with
 
 color signature brightgreen blue
 
 setting this gives the signature in 'brightgris white'. What do I
 stupidly wrong? Thanks for a pointer. And yes. I have read the manual,
 already for some hours, and it is not my xterm, because it worked with
 1.14.x
 
 Thanks
 
   matthias
 -- 
 Matthias Apitz
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e g...@unixarea.de - w http://www.unixarea.de/
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: mutt remove white space in 67 character in the subject

2010-09-07 Thread Brian Salter-Duke
On Tue, Sep 07, 2010 at 01:28:42PM -0400, Bouzite, Radouan wrote:
 
 
 
 
 If I send an meail with mutt using the following  subject :
  1234567890123456789012345678901234567890123456789012345678901234567
 890
 
 I receive the email with the subjsct changed : the white space in
 positon 67 was removed :
 
 1234567890123456789012345678901234567890123456789012345678901234567890
 
 
 My Mutt version  : 
 Mutt 1.5.18 (2008-05-17)

I have the same version, although with some patches as it is the Ubuntu
release, and it does not do that. In displaying the email it splits the
subjext line at the whitspace but the subject is intact if you look when
replying to it for example.
 
 -
 Radouan Bouzite
 Unix/SAN Admin.
 Ipex Management Inc.
 Tel : (514) 769 3445 ext 291
 Fax :(514) 769-1672

-- 
A computer without Windows is like a chocolate cake without
mustard.
-- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Taking notes using Mutt threads

2010-09-04 Thread Brian Ryans
Quoting Chris Bannister on 2010-08-31 07:00:43, in Message-Id
20100831120043.gb18...@fischer

 I remember a program called tina whose interface was like mutts.

I'm a tina user myself, but there's a certain part of my brain that's
tickled by perverting software into doing things it wasn't designed to
do.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ The most powerful optimization tool . . . may be the Delete key.
  -- Eric S. Raymond


signature.asc
Description: Digital signature


bad idn problem

2010-09-02 Thread Brian Cuttler




Hello Mutt users, 

I am in the process of moving my mutt platform from a 
Sparce Solaris 9 box to an x86 Solaris 10 box.

In order to resolve issues with the terminal color map
I am now (trying) to run a newer version of mutt but
am receiving an error when I invoke it.

I'm able to provide username and password, but then receive
the error
Bad IDN imaps.wadsworth.org.

I did not experience this issue on Solaris 9, Mutt 1.4.1i
(which worked fine), nor on Solaris 10x86 Mutt 1.5.17, which
did not map the colors at all but opened the mailbox just fine.

The error is occuring on the Solaris 10x86 system with Mutt 1.5.20.

I suspect a set folder syntax error but don't see it, the .muttrc
files has not been altered.

I think all versions where installed pre-built from sunfreeware.

thank you,

Brian
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: mutt - color problem

2010-09-01 Thread Brian Cuttler
On Tue, Aug 31, 2010 at 01:57:39PM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  On Tue, Aug 31, 2010 at 01:16:03PM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
This is telling...

#!/bin/sh
for color in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 0
do
echo `tput setaf ${color}``date`
done


output is as expected for the first 8 colors, that is
Black, Red, Green, Yellow, Blue, Magenta, Cyan, White (on white...)

When run on my Solaris 10 desktop I then get the inverse for the
last 8. I do not get the inverse on the remote system.



On Tue, Aug 31, 2010 at 12:22:00PM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Chip,
  
  This works a little better
  # echo `tput setaf 1`hello`tput me`
  tput: unknown terminfo capability 'me'
  hello
  
  Where we are in red from hello onwards.
  
  So there are some colors available. 
  
  
  On Tue, Aug 31, 2010 at 11:46:57AM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
Chip,

No, mutt is not producing any errors, its just failing, not only
to set colors but even to highlight (or is it simply reverse)
the black and white header and footer or provide inverse for the
message I'm currently pointing to in the index.

With mutt not complaining I'm guessing it is a terminal/display
issue rather than a mutt issue, just hadn't realized that the 
new
server (since nothing changed on my desktop) had, ya know, 
issues.

I don't think its mutt, I think mutt is just a symptom, had
hoped that everything would work out of the box.

Trying to download newer sunfreeware mutt build but the download
keeps stalling out on me.

thanks,

Brian

On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Hate ask, but I think I've tried the obvious...
  
  Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i 
  (2003-03-19)
  to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm 
  finding that
  my colors and highlighting don't work at all.
  
  Checked terminal type, the same, didn't make any config 
  changes,
  just # ssh'd into a different server. My desktop is Solaris 
  10x86
  and that hasn't changed either. Its something with the 
  server or
  with the specific build of mutt, I believe both from 
  sunfreeware.
  
  Sorry to ask such a rudimenary question.
  
  Thanks for your 
  help,
  
  Brian
  
  ---
 Brian R Cuttler 
  brian.cutt...@wadsworth.org
 Computer Systems Support(v) 518 486-1697
 Wadsworth Center(f) 518 473-6384
 NYS Department of HealthHelp Desk 518 473-0773
  
  
  
  IMPORTANT NOTICE: This e-mail and any attachments may 
  contain
  confidential or sensitive information which is, or may be, 
  legally
  privileged or otherwise protected by law from further 
  disclosure.  It
  is intended only for the addressee.  If you received this 
  in error or
  from someone who was not authorized to send it to you, 
  please do not
  distribute, copy or use it or any attachments.  Please 
  notify the
  sender immediately by reply e-mail and delete this from your
  system. Thank you for your cooperation.
  
 
 Rudimentary, yes.  Easy, no.  I probably don't know enough 
 about Solaris
 to help you, but I can tell you that on FreeBSD I ran into 
 several
 issues:
 
 1. I had to build mutt with slang instead of ncurses.
 
 2. The terminal definition I use has to be set up correctly 
 in *both*
 termcap and terminfo.  Specifically, it needs to have the 
 correct number
 of colors specified (Co# in termcap) and the correct 
 sequences for
 setting foreground/background color.
 
 3. The terminal in which you are running mutt (urxvt in my 
 case) has to
 be built with the same color options (256 color support, in 
 my case).
 
 So, what kind of problem are you seeing?  Is mutt

Re: mutt - color problem

2010-09-01 Thread Brian Cuttler

Chip,

 curie's mutt is built with slang, nnewton's is built with ncurses.  That
 probably accounts for the difference.

I finally got a download of a newer mutt version from sunfreeware
and will install it on the Solaris x86 platform.

Assuming that its also built with slang - do you know what I need
to do to make it work ?

thanks,

Brian


IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: mutt - color problem

2010-09-01 Thread Brian Cuttler

Chip,

I installed mutt 1.5.20 from sunfreeware and found that we
where missing several required packages, including slang.

I installed and mutt seems to open my outbox ok, That is
the index displays correctly with header and footer inverse
and the index bar being visible.

Typically the outbox does not show messages based on my
color highlighting rules, but based on prior behavor things
are looking good.

I ran into what I suspect is a syntax error with the inbox
when I invoke mutt with no arguments.

Bad IDN imaps.wadsworth.org.

.muttrc file beings this way.

[curie] ~ 233 more .muttrc
set spoolfile=imap://imaps.wadsworth.org/INBOX
set folder=imap://imaps.wadsworth.org/

I'm looking online now, don't know for sure that the error
is where I'm looking (or what IDN stands for) but the .muttrc
file is static and works under v1.5.17 (prior version on
solaris x86) and 1.4.1i on Solaris sparc.

thanks,

Brian


IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: 1.5.20 and sidebar

2010-08-31 Thread Brian Ryans
Quoting fe...@crowfix.com on 2010-08-30 11:00:25, in Message-Id
20100830160025.ga23...@crowfix.com

[Snip: Several failed attempts, all of which I'd tried myself]

 Any suggestions?

mailboxes `find ~/mail -mindepth 1 -maxdepth 1 \( -type d -not -name 
'localhost' -not -name '.*' -printf +'%f'  \) , \( -type f -name 
'*_archive.gz' -printf +'%f'  \)`

Fairly convoluted, but automatically updates the mailboxes definition
[1]. Pretty quick to run, too.

What it does is prints just the name of every directory not named
'localhost', not having a name beginning with a dot, and the name of
every file ending in '_archive.gz' -- each with a + prepended.

[1] From reading Mutt manual section 3.13, I'm under the impression that
my mailboxes command is executed only upon mutt startup, or at any other
time that my muttrc is sourced. Adding appropriate beep commands to my
mailboxes command seems to confirm.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ The most powerful optimization tool . . . may be the Delete key.
  -- Eric S. Raymond


signature.asc
Description: Digital signature


Re: mutt - color problem

2010-08-31 Thread Brian Cuttler

Chip,

No, mutt is not producing any errors, its just failing, not only
to set colors but even to highlight (or is it simply reverse)
the black and white header and footer or provide inverse for the
message I'm currently pointing to in the index.

With mutt not complaining I'm guessing it is a terminal/display
issue rather than a mutt issue, just hadn't realized that the new
server (since nothing changed on my desktop) had, ya know, issues.

I don't think its mutt, I think mutt is just a symptom, had
hoped that everything would work out of the box.

Trying to download newer sunfreeware mutt build but the download
keeps stalling out on me.

thanks,

Brian

On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Hate ask, but I think I've tried the obvious...
  
  Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
  to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
  my colors and highlighting don't work at all.
  
  Checked terminal type, the same, didn't make any config changes,
  just # ssh'd into a different server. My desktop is Solaris 10x86
  and that hasn't changed either. Its something with the server or
  with the specific build of mutt, I believe both from sunfreeware.
  
  Sorry to ask such a rudimenary question.
  
  Thanks for your help,
  
  Brian
  
  ---
 Brian R Cuttler brian.cutt...@wadsworth.org
 Computer Systems Support(v) 518 486-1697
 Wadsworth Center(f) 518 473-6384
 NYS Department of HealthHelp Desk 518 473-0773
  
  
  
  IMPORTANT NOTICE: This e-mail and any attachments may contain
  confidential or sensitive information which is, or may be, legally
  privileged or otherwise protected by law from further disclosure.  It
  is intended only for the addressee.  If you received this in error or
  from someone who was not authorized to send it to you, please do not
  distribute, copy or use it or any attachments.  Please notify the
  sender immediately by reply e-mail and delete this from your
  system. Thank you for your cooperation.
  
 
 Rudimentary, yes.  Easy, no.  I probably don't know enough about Solaris
 to help you, but I can tell you that on FreeBSD I ran into several
 issues:
 
 1. I had to build mutt with slang instead of ncurses.
 
 2. The terminal definition I use has to be set up correctly in *both*
 termcap and terminfo.  Specifically, it needs to have the correct number
 of colors specified (Co# in termcap) and the correct sequences for
 setting foreground/background color.
 
 3. The terminal in which you are running mutt (urxvt in my case) has to
 be built with the same color options (256 color support, in my case).
 
 So, what kind of problem are you seeing?  Is mutt complaining, or is it
 just silently not changing the colors?
 
 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| 
 http://chipsquips.com


---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: mutt - color problem

2010-08-31 Thread Brian Cuttler

Will,

I'd tried term vt100 and dtterm, setting both xterm and xterm-color
env vars I now get a black block cursor in the last column of the
index as I move up and down the message index.

looking more and more like a termcap issue... I'll see if there are
other vt100 or dtterm color settings as well.

thanks,

Brian

On Tue, Aug 31, 2010 at 01:40:39PM -0500, Will Fiveash wrote:
 On Tue, Aug 31, 2010 at 01:56:01PM -0400, Brian Cuttler wrote:
  
  Hate ask, but I think I've tried the obvious...
  
  Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
  to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
  my colors and highlighting don't work at all.
  
  Checked terminal type, the same, didn't make any config changes,
  just # ssh'd into a different server. My desktop is Solaris 10x86
  and that hasn't changed either. Its something with the server or
  with the specific build of mutt, I believe both from sunfreeware.
  
  Sorry to ask such a rudimenary question.
 
 When you ssh in to the server what does:
 
 env|grep TERM
 
 output?
 
 If the TERM is xterm, perhaps also exporting COLORTERM=xterm-color
 will help.
 -- 
 Will Fiveash
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: mutt - color problem

2010-08-31 Thread Brian Cuttler

Will,

Here is a crazy test. from the system I'd ssh'd into, I ssh'd
to a linux box where, the # ls command there has an option to
display different types of files in different colors. That worked
perfectly.

Term there was xterm and there was also the addtional env var
of COLORTERM set to 1.

By using # ssh -X, and then # ssh -X again I'm avoiding the
termcap settings in the intermediate host though, aren't I ?

For a test like that the middle man's problems are simply ignored. right ?



On Tue, Aug 31, 2010 at 01:40:39PM -0500, Will Fiveash wrote:
 On Tue, Aug 31, 2010 at 01:56:01PM -0400, Brian Cuttler wrote:
  
  Hate ask, but I think I've tried the obvious...
  
  Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
  to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
  my colors and highlighting don't work at all.
  
  Checked terminal type, the same, didn't make any config changes,
  just # ssh'd into a different server. My desktop is Solaris 10x86
  and that hasn't changed either. Its something with the server or
  with the specific build of mutt, I believe both from sunfreeware.
  
  Sorry to ask such a rudimenary question.
 
 When you ssh in to the server what does:
 
 env|grep TERM
 
 output?
 
 If the TERM is xterm, perhaps also exporting COLORTERM=xterm-color
 will help.
 -- 
 Will Fiveash
---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: mutt - color problem

2010-08-31 Thread Brian Cuttler


From Chip Camden

 Try this at a shell prompt:
 
 echo `tput AF 1`hello`tput me` 
 
 hello should be in red.

Chip - B/W only, plus the errors. I'm guessing that the
errors tell us where the root of the problem is.

Ok, I'm guessing that the errors will tells someone who
is not me where the error lies.


[curie] ~ 212 printenv | grep TER
TERM=xterm
COLORTERM=1

[curie] ~ 213 echo `tput AF 1`hello`tput me`
tput: unknown terminfo capability 'AF'
tput: unknown terminfo capability 'me'
hello



On Tue, Aug 31, 2010 at 11:46:57AM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Chip,
  
  No, mutt is not producing any errors, its just failing, not only
  to set colors but even to highlight (or is it simply reverse)
  the black and white header and footer or provide inverse for the
  message I'm currently pointing to in the index.
  
  With mutt not complaining I'm guessing it is a terminal/display
  issue rather than a mutt issue, just hadn't realized that the new
  server (since nothing changed on my desktop) had, ya know, issues.
  
  I don't think its mutt, I think mutt is just a symptom, had
  hoped that everything would work out of the box.
  
  Trying to download newer sunfreeware mutt build but the download
  keeps stalling out on me.
  
  thanks,
  
  Brian
  
  On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
Hate ask, but I think I've tried the obvious...

Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
my colors and highlighting don't work at all.

Checked terminal type, the same, didn't make any config changes,
just # ssh'd into a different server. My desktop is Solaris 10x86
and that hasn't changed either. Its something with the server or
with the specific build of mutt, I believe both from sunfreeware.

Sorry to ask such a rudimenary question.

Thanks for your help,

Brian

---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.

   
   Rudimentary, yes.  Easy, no.  I probably don't know enough about Solaris
   to help you, but I can tell you that on FreeBSD I ran into several
   issues:
   
   1. I had to build mutt with slang instead of ncurses.
   
   2. The terminal definition I use has to be set up correctly in *both*
   termcap and terminfo.  Specifically, it needs to have the correct number
   of colors specified (Co# in termcap) and the correct sequences for
   setting foreground/background color.
   
   3. The terminal in which you are running mutt (urxvt in my case) has to
   be built with the same color options (256 color support, in my case).
   
   So, what kind of problem are you seeing?  Is mutt complaining, or is it
   just silently not changing the colors?
   
   -- 
   Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
   http://camdensoftware.com | http://chipstips.com| 
   http://chipsquips.com
  
  
  ---
 Brian R Cuttler brian.cutt...@wadsworth.org
 Computer Systems Support(v) 518 486-1697
 Wadsworth Center(f) 518 473-6384
 NYS Department of HealthHelp Desk 518 473-0773
  
  
  
  IMPORTANT NOTICE: This e-mail and any attachments may contain
  confidential or sensitive information which is, or may be, legally
  privileged or otherwise protected by law from further disclosure.  It
  is intended only for the addressee.  If you received this in error or
  from someone who was not authorized to send it to you, please do not
  distribute, copy or use it or any attachments.  Please notify the
  sender immediately by reply e-mail and delete this from your
  system. Thank you for your cooperation.
  
 
 Try this at a shell prompt:
 
 echo `tput AF 1`hello`tput me` 
 
 hello should be in red.
 
 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com

Re: mutt - color problem

2010-08-31 Thread Brian Cuttler

Chip,

This works a little better
# echo `tput setaf 1`hello`tput me`
tput: unknown terminfo capability 'me'
hello

Where we are in red from hello onwards.

So there are some colors available. 


On Tue, Aug 31, 2010 at 11:46:57AM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Chip,
  
  No, mutt is not producing any errors, its just failing, not only
  to set colors but even to highlight (or is it simply reverse)
  the black and white header and footer or provide inverse for the
  message I'm currently pointing to in the index.
  
  With mutt not complaining I'm guessing it is a terminal/display
  issue rather than a mutt issue, just hadn't realized that the new
  server (since nothing changed on my desktop) had, ya know, issues.
  
  I don't think its mutt, I think mutt is just a symptom, had
  hoped that everything would work out of the box.
  
  Trying to download newer sunfreeware mutt build but the download
  keeps stalling out on me.
  
  thanks,
  
  Brian
  
  On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
Hate ask, but I think I've tried the obvious...

Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
my colors and highlighting don't work at all.

Checked terminal type, the same, didn't make any config changes,
just # ssh'd into a different server. My desktop is Solaris 10x86
and that hasn't changed either. Its something with the server or
with the specific build of mutt, I believe both from sunfreeware.

Sorry to ask such a rudimenary question.

Thanks for your help,

Brian

---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.

   
   Rudimentary, yes.  Easy, no.  I probably don't know enough about Solaris
   to help you, but I can tell you that on FreeBSD I ran into several
   issues:
   
   1. I had to build mutt with slang instead of ncurses.
   
   2. The terminal definition I use has to be set up correctly in *both*
   termcap and terminfo.  Specifically, it needs to have the correct number
   of colors specified (Co# in termcap) and the correct sequences for
   setting foreground/background color.
   
   3. The terminal in which you are running mutt (urxvt in my case) has to
   be built with the same color options (256 color support, in my case).
   
   So, what kind of problem are you seeing?  Is mutt complaining, or is it
   just silently not changing the colors?
   
   -- 
   Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
   http://camdensoftware.com | http://chipstips.com| 
   http://chipsquips.com
  
  
  ---
 Brian R Cuttler brian.cutt...@wadsworth.org
 Computer Systems Support(v) 518 486-1697
 Wadsworth Center(f) 518 473-6384
 NYS Department of HealthHelp Desk 518 473-0773
  
  
  
  IMPORTANT NOTICE: This e-mail and any attachments may contain
  confidential or sensitive information which is, or may be, legally
  privileged or otherwise protected by law from further disclosure.  It
  is intended only for the addressee.  If you received this in error or
  from someone who was not authorized to send it to you, please do not
  distribute, copy or use it or any attachments.  Please notify the
  sender immediately by reply e-mail and delete this from your
  system. Thank you for your cooperation.
  
 
 Try this at a shell prompt:
 
 echo `tput AF 1`hello`tput me` 
 
 hello should be in red.
 
 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| 
 http://chipsquips.com


---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any

Re: mutt - color problem

2010-08-31 Thread Brian Cuttler

This is telling...

#!/bin/sh
for color in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 0
do
echo `tput setaf ${color}``date`
done


output is as expected for the first 8 colors, that is
Black, Red, Green, Yellow, Blue, Magenta, Cyan, White (on white...)

When run on my Solaris 10 desktop I then get the inverse for the
last 8. I do not get the inverse on the remote system.



On Tue, Aug 31, 2010 at 12:22:00PM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Chip,
  
  This works a little better
  # echo `tput setaf 1`hello`tput me`
  tput: unknown terminfo capability 'me'
  hello
  
  Where we are in red from hello onwards.
  
  So there are some colors available. 
  
  
  On Tue, Aug 31, 2010 at 11:46:57AM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
Chip,

No, mutt is not producing any errors, its just failing, not only
to set colors but even to highlight (or is it simply reverse)
the black and white header and footer or provide inverse for the
message I'm currently pointing to in the index.

With mutt not complaining I'm guessing it is a terminal/display
issue rather than a mutt issue, just hadn't realized that the new
server (since nothing changed on my desktop) had, ya know, issues.

I don't think its mutt, I think mutt is just a symptom, had
hoped that everything would work out of the box.

Trying to download newer sunfreeware mutt build but the download
keeps stalling out on me.

thanks,

Brian

On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Hate ask, but I think I've tried the obvious...
  
  Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i (2003-03-19)
  to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding that
  my colors and highlighting don't work at all.
  
  Checked terminal type, the same, didn't make any config changes,
  just # ssh'd into a different server. My desktop is Solaris 10x86
  and that hasn't changed either. Its something with the server or
  with the specific build of mutt, I believe both from sunfreeware.
  
  Sorry to ask such a rudimenary question.
  
  Thanks for your help,
  
  Brian
  
  ---
 Brian R Cuttler brian.cutt...@wadsworth.org
 Computer Systems Support(v) 518 486-1697
 Wadsworth Center(f) 518 473-6384
 NYS Department of HealthHelp Desk 518 473-0773
  
  
  
  IMPORTANT NOTICE: This e-mail and any attachments may contain
  confidential or sensitive information which is, or may be, legally
  privileged or otherwise protected by law from further disclosure.  
  It
  is intended only for the addressee.  If you received this in error 
  or
  from someone who was not authorized to send it to you, please do not
  distribute, copy or use it or any attachments.  Please notify the
  sender immediately by reply e-mail and delete this from your
  system. Thank you for your cooperation.
  
 
 Rudimentary, yes.  Easy, no.  I probably don't know enough about 
 Solaris
 to help you, but I can tell you that on FreeBSD I ran into several
 issues:
 
 1. I had to build mutt with slang instead of ncurses.
 
 2. The terminal definition I use has to be set up correctly in *both*
 termcap and terminfo.  Specifically, it needs to have the correct 
 number
 of colors specified (Co# in termcap) and the correct sequences for
 setting foreground/background color.
 
 3. The terminal in which you are running mutt (urxvt in my case) has 
 to
 be built with the same color options (256 color support, in my case).
 
 So, what kind of problem are you seeing?  Is mutt complaining, or is 
 it
 just silently not changing the colors?
 
 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 
 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| 
 http://chipsquips.com


---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized

Re: mutt - color problem

2010-08-31 Thread Brian Cuttler
On Tue, Aug 31, 2010 at 01:16:03PM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  This is telling...
  
  #!/bin/sh
  for color in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 0
  do
  echo `tput setaf ${color}``date`
  done
  
  
  output is as expected for the first 8 colors, that is
  Black, Red, Green, Yellow, Blue, Magenta, Cyan, White (on white...)
  
  When run on my Solaris 10 desktop I then get the inverse for the
  last 8. I do not get the inverse on the remote system.
  
  
  
  On Tue, Aug 31, 2010 at 12:22:00PM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
Chip,

This works a little better
# echo `tput setaf 1`hello`tput me`
tput: unknown terminfo capability 'me'
hello

Where we are in red from hello onwards.

So there are some colors available. 


On Tue, Aug 31, 2010 at 11:46:57AM -0700, Chip Camden wrote:
 Quoth Brian Cuttler on Tuesday, 31 August 2010:
  Chip,
  
  No, mutt is not producing any errors, its just failing, not only
  to set colors but even to highlight (or is it simply reverse)
  the black and white header and footer or provide inverse for the
  message I'm currently pointing to in the index.
  
  With mutt not complaining I'm guessing it is a terminal/display
  issue rather than a mutt issue, just hadn't realized that the new
  server (since nothing changed on my desktop) had, ya know, issues.
  
  I don't think its mutt, I think mutt is just a symptom, had
  hoped that everything would work out of the box.
  
  Trying to download newer sunfreeware mutt build but the download
  keeps stalling out on me.
  
  thanks,
  
  Brian
  
  On Tue, Aug 31, 2010 at 11:19:59AM -0700, Chip Camden wrote:
   Quoth Brian Cuttler on Tuesday, 31 August 2010:
Hate ask, but I think I've tried the obvious...

Moving from a Solaris 9/sparc box with mutt Mutt 1.4.1i 
(2003-03-19)
to Solaris 10x86 with Mutt 1.5.17 (2007-11-01) and I'm finding 
that
my colors and highlighting don't work at all.

Checked terminal type, the same, didn't make any config changes,
just # ssh'd into a different server. My desktop is Solaris 
10x86
and that hasn't changed either. Its something with the server or
with the specific build of mutt, I believe both from 
sunfreeware.

Sorry to ask such a rudimenary question.

Thanks for your 
help,

Brian

---
   Brian R Cuttler brian.cutt...@wadsworth.org
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, 
legally
privileged or otherwise protected by law from further 
disclosure.  It
is intended only for the addressee.  If you received this in 
error or
from someone who was not authorized to send it to you, please 
do not
distribute, copy or use it or any attachments.  Please notify 
the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.

   
   Rudimentary, yes.  Easy, no.  I probably don't know enough about 
   Solaris
   to help you, but I can tell you that on FreeBSD I ran into several
   issues:
   
   1. I had to build mutt with slang instead of ncurses.
   
   2. The terminal definition I use has to be set up correctly in 
   *both*
   termcap and terminfo.  Specifically, it needs to have the correct 
   number
   of colors specified (Co# in termcap) and the correct sequences for
   setting foreground/background color.
   
   3. The terminal in which you are running mutt (urxvt in my case) 
   has to
   be built with the same color options (256 color support, in my 
   case).
   
   So, what kind of problem are you seeing?  Is mutt complaining, or 
   is it
   just silently not changing the colors?
   
   -- 
   Sterling (Chip) Camden| sterl...@camdensoftware.com | 
   2048D/3A978E4F
   http://camdensoftware.com | http://chipstips.com| 
   http://chipsquips.com
  
  
  ---
 Brian R Cuttler brian.cutt...@wadsworth.org
 Computer Systems Support(v) 518 486-1697

Re: Taking notes using Mutt threads

2010-08-30 Thread Brian Ryans
Quoting j...@telefonica.net on 2010-08-29 12:59:20, in Message-Id
20100829175920.gc29...@luminium.local

 Now I use it also to Take Notes.

I'd love to see how you did it! I'd never figure mutt to be used as a
note-taking program, and there's just a certain part of my brain tickled
by seeing {hard,soft} used in ways not envisioned by its engineers.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ The most powerful optimization tool . . . may be the Delete key.
  -- Eric S. Raymond


signature.asc
Description: Digital signature


Re: Deleting messages trash-can-style

2010-08-24 Thread Brian Ryans
Quoting seanh on 2010-08-24 07:21:21, in Message-Id
20100824122121.gb26...@kisimul

 I think the third-party trash patch is applied in the version of mutt
 from the debian repos.

It is.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ The most powerful optimization tool . . . may be the Delete key.
 -- Eric Raymond


signature.asc
Description: Digital signature


Re: sending to a list of undisclosed recipients

2010-07-27 Thread Brian Salter-Duke
On Tue, Jul 27, 2010 at 09:36:44AM +0200, Christoph Kukulies wrote:
 Everyone know this when you get an email from someone and he is  
 disclosing his whole (Outlook) addressbook to the
 recipients. Often this is an interesting field for social research :)  
 but that left aside, I would like avoid this in a case now when I'm  
 about to send an
 information about an upcoming event to a list of about 100 users.

 Instead of going through a for i in `cat users`do mutt ... $i done loop  
 I could make an alias of these users, but how do I tell to
 hide the 100 users and only show up the one addressee plus a note that  
 the email went to a group of undisclosed users?

Put the alias in the Bcc: line and yourself in the To: line.

 Thanks.

 --
 Christoph

-- 
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed.
   -- Albert Einstein   
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: sending to a list of undisclosed recipients

2010-07-27 Thread Brian Salter-Duke
On Tue, Jul 27, 2010 at 01:50:17PM -0700, Chip Camden wrote:
 Quoth Patrick Shanahan on Tuesday, 27 July 2010:
  * Derek Martin inva...@pizzashack.org [07-27-10 16:31]:
   
   Ah, you must mean this bit, from the muttrc man page:
   
  write_bcc
 Type: boolean
 Default: yes
   
   Controls  whether  mutt  writes out the ?Bcc:? header
   when preparing messages to be sent.  Exim users may wish
   to unset this. If mutt is set to deliver directly via
   SMTP (see $smtp_url), this option does nothing: mutt
   will never write out the ?Bcc:?  header in this case.
   
   Hmmm... Seems like you're wrong after all (Mutt 1.5.20hg
   (2009-08-27)).  Mutt may well write out the Bcc line on the message
   that is sent out.
   
  
  the something is drastically amiss!
  
  openSUSE 11.2 x86_64
  mutt-1.5.20-16.1.x86_64.rpm
  
  Mutt 1.5.20 (2009-06-14)
  Copyright (C) 1996-2009 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: Linux 2.6.31.13-21-default (x86_64)
  ncurses: ncurses 5.6.20080804 (compiled with 5.6)
  libidn: 1.10 (compiled with 1.10)
  hcache backend: GDBM version 1.8.3. 10/15/2002 (built Oct 24 2009 01:25:27)
  Compile options:
  -DOMAIN
  -DEBUG
  -HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE  +USE_FCNTL
  -USE_FLOCK   
  +USE_POP  +USE_IMAP  +USE_SMTP  
  +USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
  -HAVE_REGCOMP  +USE_GNU_REGEX  
  +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
  +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
  +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
  +CRYPT_BACKEND_GPGME  
  -EXACT_ADDRESS  +SUN_ATTACHMENT  
  +ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS
  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
  +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
  ISPELL=/usr/bin/ispell
  SENDMAIL=/usr/sbin/sendmail
  MAILPATH=/var/mail
  PKGDATADIR=/usr/share/mutt
  SYSCONFDIR=/etc
  EXECSHELL=/bin/sh
  -MIXMASTER
  To contact the developers, please mail to mutt-...@mutt.org.
  To report a bug, please visit http://bugs.mutt.org/.
  
  patch-1.5.20.sidebar.20090619.txt
  patch-1.5.19.rr.compressed.1
  patch-1.5.5.1.nt.xtitles.3.ab.1
  
  
  
  I have:  
  :set ?write_bcc  write_bcc is set
  
  and I am bcc'ing this post to you, the op and me.
  
 Maybe sendmail strips it?  I'm using ssmtp.

I use ssmtp and I found very odd behaviour. I sent a message to me at 4
different alternative addresses that all forward to my main address. My
sourceforge address was in the To. My old UK college was in the Cc. and
my gmail and university addresses were in Bcc:. There was no set write_bcc 
in my muttrc. None of the 4 show up in the message, but if I look in the
full headers the Bcc is there in three but not in my university one. I
then set write_bcc=no  and now the Bcc does not show in any of the
headers. 

Surely set write_bcc should be only about what you see when composing
mail? In sending, the Bcc should not reach the recipients.

Brian.

 -- 
 Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com| 
 http://chipsquips.com



-- 
The PROPER way to handle HTML postings is to cancel the article, then
hire a hitman to kill the poster, his wife and kids, and fuck his dog
and smash his computer into little bits. Anything more is just extremism.
-- Paul Tomblin
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: return reciepts

2010-07-08 Thread Brian Salter-Duke
On Sun, Jul 04, 2010 at 03:00:32PM +0200, lee wrote:
 On Sat, Jul 03, 2010 at 09:51:03AM -0400, Patrick Shanahan wrote:
  * lee l...@yun.yagibdah.de [07-03-10 09:13]:
   On Sat, Jul 03, 2010 at 12:12:38AM +0200, Rado S wrote:
   
Practice has shown that it is not best practice.
   
   Because of poor support, maybe :)
  
  Or, more likely, requests for features that most do *not* want presented
  in a haughty manner
 
 What's haughty about this?
 
  which would require coding and where work-a-rounds
  have been presented.
 
 Just look at the replies, ppl told me at first that a feature I have
 use for is useless, troublesome and pointless and that they don't want
 it because they don't like it. How haughty is that? And keep in mind
 that nobody would be forced to use this feature if they don't like it.
 
 Just look at your own comment and how haughty that is: Apparently the
 idea that implementing a feature would require some work is horrible
 to you, so you're telling me that everyone who has use for it should
 implement the feature by doing the necessary steps for each message
 manually. Do it manually was the only workaround presented, but
 that's silly considering that I already said in my OP that I can do it
 manually but am wondering if there's a better solution
 available. Besides, it has probably escaped you that there's a
 difference between solution and workaround.
 
 Isn't it amazing that ppl can't say something like hey I don't have
 use for this feature and I don't like it and I don't know of any
 implementation, but it would sure be great if you were to come up with
 a solution everyone could use?

I have not responded before, but what is wrong with that. It is my
position. I do not use them. I do not like them and do not quite
understand why you and others think it solves a problem. However, I am
more than happy for a new feature to be available in or with mutt. Do I
know of an implementation? I have a vague recollection that there was
one on this mailing list 10 or more years ago, but I no longer have
details and can not remember anything.
 
 You know, I've already been asking myself if I should make such a
 solution available for everyone who wants it if I ever implement it
 after seeing the rude comments I got here. Don't be surprised when at
 some time, you'll find yourself out of free software because you
 finally managed to piss off everyone who was willing to provide some.

Free software is not going to die because you are pissed off. The mutt
list is calm and helpful compared with many lists.

-- 
The box said 'Windows 95 or better', so I installed Linux
-- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: binding multiple steps to one key

2010-04-17 Thread Brian Ryans
Quoting Asif Iqbal on 2010-04-17 12:47:36:
 Hi All
 
 Our company policy is to forward the spam as an attachment to company
 abuse address.
 
 So, I am doing all the following 6 steps to do just that
 
f hit this in index to forward
   To: type the abuse address at this prompt
   Subject: the long message hit enter to accept as it is
   Forward as attachment? type yes
   type :wq exit vim editor
   hit y to send it
 
 Is it possible to bind all these steps to one key like for example `S'
 in index ?

Yes, it's possible. You're looking for macro functionality. Please see
[1]. A tip for macro usage, from experience: When writing macros, don't
use specific keys, but use function names instead. That's also covered
in the manual.

Also, I don't know your specific company policy, but all the abuse desks
I've worked with ask for a full copy of the message. You'll want to
bounce it to your company's abuse desk if company policy requires all
headers to be intact.

[1] /usr/share/doc/mutt/html/configuration.html

Offtopic: _LOVE_ your sig.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Any technology distinguishable from magic is insufficiently advanced


signature.asc
Description: Digital signature


Re: Wrapping on internal pager

2010-04-12 Thread Brian Ryans
Quoting Camaleón on 2010-04-11 09:53:51:
 Or you mean I can setup the pager to use Vim as internal source?
You can use vim as your pager. This [1] is a script to use vim as a
pager. It essentially emulates 'less', but has vim's highlighting.
May be what you're looking for, from what I'm reading.

[1] /usr/share/vim/vimcurrent/macros/less.sh

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Any technology distinguishable from magic is insufficiently advanced


signature.asc
Description: Digital signature


Re: handling List-Id header

2010-04-10 Thread Brian Ryans
Quoting ilf on 2010-04-09 18:38:19:
 I don't know where you got 3.1.1, my manual doesn't have that section
 :)

That was my mistake. 2.3.1.1 (3.1.1 within Chapter 2).

 Why was it decided to set the flag only for subscribed lists and not
 listed lists?

I'm unsure of the actual reason for that. One would probably have to
grep hg and find and read the relevant commit log? I've searched the
source, couldn't find anything pointing to reasoning. [1]

In my limited mutt experience (as a user) I believe it was decided that
way as people would probably be more interested in subscribed than known
lists.

 Also, I still don't have a reason for the difference of 'lists' and
 'subscribe', other than that it's documented this way, too :)

Other than material presented in the docs and what I've already said,
I'm clueless on it. :( [1]

 Which thread is that? I've searched the archives, but haven't been able
 to find it.

I don't have network access as I write this, so I can't grep the online
archives for the post, but my archive has, as one message in that
thread, this message:

,Message-ID: 20100406140146.ga9...@sigpipe.org

 How would an MDA help in achieving this? It doesn't 'lists' or
 'subscribe' mails in my muttrc :)

I wasn't necessarily aiming to 'lists' or 'subscribe' anything, but
rather to present a more general solution to handling mailing lists. If
you decide to go this route, check a good procmail FAQ and read
procmailrc(5) and procmailex(5).

MDAs like procmail will, though, help you filter mail into different
folders. I'm a procmail newbie myself, and such is offtopic for this
list, so I won't go into that farther here.

[1] Input from someone more clueful would be appreciated, as this is
beyond my understanding at this point.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Any technology distinguishable from magic is insufficiently advanced


signature.asc
Description: Digital signature


Re: handling List-Id header

2010-04-09 Thread Brian Ryans
Quoting ilf on 2010-04-08 16:09:46:
 I'm confused by Mutts handling of mailing lists.

 First, I do not understand the difference of known lists (lists) and
 subscribed lists (subscribe). If Mutt handles mail from a known list,
 I'm probably subscribed, no?

Mutt's meaning of known and subscribed lists is covered in Chapter 3.11
of the manual. It's available in text [1] and html [2] formats on your
local system. 

 Secondly, I find having to manually maintain a list of subscriptions in
 my config unreasonable. Why doesn't Mutt automatically lists/subscribe
 to lists based on the List-Id header? That's what it's for:

Chapter 4.8 of the manual states:

---
The first thing you must do is to let Mutt know what addresses you
consider to be mailing lists (technically this does not have to be a
mailing list, but that is what it is most often used for)
---

I believe Mutt uses List-Id: (me, ACK?), but at the time I type this
message I don't have access to the sources to confirm. From a recent
message on this list, to blr [3], I found that Mutt supports List-Post:
natively.

Quoting Michael Elkins on 2010-04-06 12:01:46
in Message-ID: 20100406140146.ga9...@sigpipe.org:
 If you merely want list-reply to work properly, you might not even
 need to add a lists/subscribe line at all because I believe the Debian
 mailing lists all add a List-Post: header field, which Mutt should
 pick up.

List-Post: is specified in RFC 2369, Section 3.4 [4]. From grepping my
maildir, almost all of my lists support List-Id: and List-Post:. Of
course, YMMV depending on what kind of lists you read.

 [Snip: Rest of your message]
See above: concerns you raise, indirectly, in the remainder of this post
seem to be addressed above to the best of my ability. Please let me know
if that's not the case.

[1] file:///usr/share/doc/mutt/html/index.html
[2] file:///usr/share/doc/mutt/index.txt.gz
[3] I refer to myself as 'blr' and not 'me' in this to eliminate
ambiguity.
[4] http://www.ietf.org/rfc/rfc2919.txt

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Any technology distinguishable from magic is insufficiently advanced


signature.asc
Description: Digital signature


Re: handling List-Id header

2010-04-09 Thread Brian Ryans
Quoting ilf on 2010-04-09 12:18:08:
 Thanks for your hints. But I am still confused :)

Now I'm confused too, see below.
 
 Manual section 4.8 Handling Mailing Lists sais, Mutt can do things
 with mailing lists once Mutt knows what [my] mailing lists are.
 
 It can:
 1. show mailing list in index with
- listname with $index_format including %L
- message status flag 'L' with $index_format including %Z
 2. use list-reply
 3. use $followup_to
 
 Section 3.9 Mailing lists sais that use $followup_to is only for
 subscribed lists. I have not tried this.

Confirmed.

 But the first feature, showing mailing lists in index only works with
 subscribed lists. It does not work with listsed lists. Why?

That's intentional. Section 3.1.1, Status Flags, indicates that the L
flag indicates a message sent to a _subscribed_ list.

 Also, it seems intuitive to me, that Mutt should show mailing lists in
 index not only with listsed lists, but also automatically based on the
 List-Id: header. And that's what I assume this Ticket is also about:
 http://dev.mutt.org/trac/ticket/3160
 
 What do you think?

This ticket seems to partially address your concerns. From how I read
it, it by itself doesn't show what list it's sent to (as you stated
above you need %L in $index_format for that), but it does request
something that I've been looking for: ability to use regexes with List-*
headers, or perhaps even arbitrary headers, in 'lists' and 'subscribe'
commands. In the thread referenced in my last reply, a kludge was found,
but only worked on Debian lists and involved running a shell command.

I have no idea how hard it is to add a feature like that, but some would
propose that a feature like that is better to be in a MDA like procmail.
I'd offer to implement it myself, but it's still Beyond My Ken at this
point.

This, actually, is how I learn about stuff: answering questions for
others, or at least trying to, will eventually get me in a position
where I really grok the source and documentation.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Any technology distinguishable from magic is insufficiently advanced


signature.asc
Description: Digital signature


Re: set-and-forget blanket subscribe statement

2010-04-06 Thread Brian Ryans
Quoting Michael Elkins on 2010-04-06 09:01:46:
 because I believe the Debian mailing lists all add a List-Post: header
 field, which Mutt should pick up.

Debian lists do add a List-Post: header, which in my book is a Good
Thing.

 
 If you are trying to properly set your Mail-Followup-To: header field to
 avoid duplicate messages, or refer cross-list, then using the
 'subscribe' command as you've outline is the right approach.

Yes, I'm aiming for Mail-Followup-To:.

 subscribe '`echo -n ~/mail/debian-* | sed s/debian-\([^ 
 ]+\)/\...@lists\.debian\.org/g`'

Thanks for that, Michael. I'll use it and see how much faster it gets.
My original method, with all the subshells, command redirections, and so
forth, probably can't be very fast.

-- 
 _  Brian Ryans 8B2A 54C4 E275 8CFD 8A7D 5D0B 0AD0 B014 C112 13D0 .
( ) ICQ UIN: 43190205 | Mail/MSN/Jabber: brianlry...@gmail.com   ..:
 X  ASCII Ribbon Campaign Against HTML mail and v-cards: asciiribbon.org
/ \ Any technology distinguishable from magic is insufficiently advanced


signature.asc
Description: Digital signature


Re: problem with muttprint

2010-02-03 Thread Brian Salter-Duke
On Wed, Feb 03, 2010 at 02:26:22PM -0500, Patrick Shanahan wrote:
 * Lubos Kolouch lubos.kolo...@gmail.com [02-03-10 10:02]:
  I would like to ask, if there is somebody using muttprint.
 
 yes
 
  When I tried it, it prints for me the headers (date, from, subject),
  then horizontal line,
  
  and then
  -uSN3yb/content instead of the text itself.
  
  The footer is printed OK.
  
  Do you have any hints why it does not print the content?
 
 
 Just guessing, I would say that you have the wrong charset specified in
 ~/.muttrpintrc
 
 Mine is set to auto, CHARSET=auto

I do not have CHARSET set to anything, either in /etc/Muttprintrc or
~/.muttprintrc and it works OK, although I can not get the penguin or
other image to print.

Brian.

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

-- 
Microsoft is not the answer. It is the question. The answer is 'No'.
   -- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: problem with muttprint

2010-02-03 Thread Brian Salter-Duke
On Wed, Feb 03, 2010 at 08:01:22PM -0500, Patrick Shanahan wrote:
 * Brian Salter-Duke b_d...@bigpond.net.au [02-03-10 17:02]:
  
  I do not have CHARSET set to anything, either in /etc/Muttprintrc or
  ~/.muttprintrc and it works OK, although I can not get the penguin or
  other image to print.
  
 
 You do have the *full* path set for BabyTuX.esp
 and
 XFACE=on

I did not have XFACE=on, as I thought the PENGUIN line was enough. I
also did not have an *.esp file. Using what you suggest now works.

Thanks and Cheers, Brian.

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

-- 
The problem with defending the purity of the English language is that 
English is about as pure as a cribhouse whore. We don't just borrow words; 
on occasion, English has pursued other languages down alleyways to beat 
them unconscious and riffle [sic] their pockets for new vocabulary
-- James D. Nicoll
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Simple Mutt with Eee PC 701.

2010-01-24 Thread Brian Durant

Pedro L Vera wrote:

I found this website very useful:

http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap

The instructions worked for my email account and my setup.

What I would like to do now is sort my mail so that it goes into
different boxes locally. I had previously run mutt with fetchmail and
procmail, and it was working ok for gmail. However, if I can just run
mutt that would be better.

Pedro

I have implemented one account so far and I am experiencing problems
with the following lines for my (non-Gmail) IMAP account:

set sent = +/Sent
set trash = +/Trash

The first returns an error of:

Error in ~/foo/.muttrc, line 9: sent: unknown variable

The second I encounter an error with when I attempt to quit Mutt:

Purge 12 deleted messages? ([yes]/no): y
Create .Trash? ([yes]/no): y
Can't open trash folder

Where is the .Trash folder supposed to be created? In my ~/ .mutt folder
or on the IMAP server? There is one already on the IMAP server as far as
I know.

Cheers,

Brian



Re: Simple Mutt with Eee PC 701.

2010-01-24 Thread Brian Durant

maillistjb wrote:

On Sun, 24 Jan 2010, Brian Durant wrote:




Pedro L Vera wrote:

I found this website very useful:

http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap

The instructions worked for my email account and my setup.

What I would like to do now is sort my mail so that it goes into
different boxes locally. I had previously run mutt with fetchmail and
procmail, and it was working ok for gmail. However, if I can just run
mutt that would be better.

Pedro

I have implemented one account so far and I am experiencing problems
with the following lines for my (non-Gmail) IMAP account:

set sent = +/Sent
set trash = +/Trash

The first returns an error of:

Error in ~/foo/.muttrc, line 9: sent: unknown variable

The second I encounter an error with when I attempt to quit Mutt:

Purge 12 deleted messages? ([yes]/no): y
Create .Trash? ([yes]/no): y
Can't open trash folder

Where is the .Trash folder supposed to be created? In my ~/ .mutt folder
or on the IMAP server? There is one already on the IMAP server as far as
I know.

Cheers,

Brian


--

Hello Brian

I have since moved from crunchbang and went back to ubuntu .. my 
question is this .. i would love to use mutt i love how it looks the 
colors everything .. right now im using alpine because it works .. my 
question is i need mutt to be setup for 4 accounts and be able to send 
and recieve from both of them .. how hard would that be to configure 
.. they are 4 imap accounts


Thanks
maillistjb


I am as much in the dark as you are, but from what I can see from the
other postings, I would have to say that it would be very difficult. If
you figure out something, let me know as I am in the same boat :-[

Good luck,

Brian



Re: Simple Mutt with Eee PC 701.

2010-01-24 Thread Brian Durant

maillistjb wrote:

On Sun, 24 Jan 2010, Brian Durant wrote:




Pedro L Vera wrote:

I found this website very useful:

http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap

The instructions worked for my email account and my setup.

What I would like to do now is sort my mail so that it goes into
different boxes locally. I had previously run mutt with fetchmail and
procmail, and it was working ok for gmail. However, if I can just run
mutt that would be better.

Pedro

I have implemented one account so far and I am experiencing problems
with the following lines for my (non-Gmail) IMAP account:

set sent = +/Sent
set trash = +/Trash

The first returns an error of:

Error in ~/foo/.muttrc, line 9: sent: unknown variable

The second I encounter an error with when I attempt to quit Mutt:

Purge 12 deleted messages? ([yes]/no): y
Create .Trash? ([yes]/no): y
Can't open trash folder

Where is the .Trash folder supposed to be created? In my ~/ .mutt folder
or on the IMAP server? There is one already on the IMAP server as far as
I know.

Cheers,

Brian


--

Hello Brian

I have since moved from crunchbang and went back to ubuntu .. my 
question is this .. i would love to use mutt i love how it looks the 
colors everything .. right now im using alpine because it works .. my 
question is i need mutt to be setup for 4 accounts and be able to send 
and recieve from both of them .. how hard would that be to configure 
.. they are 4 imap accounts


Thanks
maillistjb


I am as much in the dark as you are, but from what I can see from the
other postings, I would have to say that it would be very difficult. If
you figure out something, let me know as I am in the same boat :-[

Good luck,

Brian



Re: Simple Mutt with Eee PC 701.

2010-01-20 Thread Brian Durant

Horacio Sanson wrote:

On Sun, Jan 17, 2010 at 12:57:29PM +0100, Brian Durant wrote:
  

Dale A. Raby wrote:


I'm no expert, but I'm pretty sure you need the following in your .muttrc file 
in order to access a gmail account via IMAP:

set folder = imaps://imap.gmail.com:993
set spoolfile = +INBOX
set postponed=+[Gmail]/Drafts

set header_cache= /home/dale/.mutt/cache/headers
set message_cachedir= /home/dale/.mutt/cache/bodies
set certificate_file= /etc/pki/tls/certs/ca-bundle.crt
  

And I also need to add an instance of the following for each of my
IMAP accounts?




Managing multiple accounts with Mutt can be a little daunting... some people
simply use a different Mutt instance for each account in a screen window or
implement some very obscure macros to switch between accounts.

Here is my configuration for reading two Gmail accounts with one Mutt instance:

  # Default configuration
  set folder=imaps://userna...@imap.gmail.com:993
  set from=userna...@gmail.com
  set spoolfile=+INBOX
  set postponed=+[Gmail]/Drafts
  unset record
  set imap_check_subscribed
  account-hook . 'unset preconnect imap_user imap_pass imap_authenticators;set 
ssl_starttls=ask-yes'

  ## Gmail account1 userna...@gmail.com
  mailboxes imaps://userna...@imap.gmail.com:993
  account-hook imaps://userna...@imap.gmail.com:993 'set 
imap_user=userna...@gmail.com'
  account-hook imaps://userna...@imap.gmail.com:993 'set imap_pass=yourpass'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
from=userna...@gmail.com'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
folder=imaps://userna...@imap.gmail.com:993'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set spoolfile=+INBOX'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
postponed=+[Gmail]/Drafts'
  #folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
trash=+[Gmail]/Trash'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'unset record'

  ## Gmail account userna...@gmail.com
  mailboxes imaps://userna...@imap.gmail.com:993
  account-hook imaps://userna...@imap.gmail.com:993 'set 
imap_user=userna...@gmail.com'
  account-hook imaps://userna...@imap.gmail.com:993 'set imap_pass=yourpass'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
from=userna...@gmail.com'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
folder=imaps://userna...@imap.gmail.com:993'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set spoolfile=+INBOX'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
postponed=+[Gmail]/Drafts'
  #folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'set 
trash=+[Gmail]/Trash'
  folder-hook 'imaps://userna...@imap.gmail.com:993.*' 'unset record'

Notes:
 - I unset record because send email using Gmail smtp that records all sent mail
   in the Sent folder. If you wish to store mail you send somewhere else set the
   record option.
 - Enabling the Gmail trash folder can have secondary effects. With it enabled
   deleting a message completely removes the message from Gmail (e.g. takes away
   all it's assigned tags) and with the trash disabled deleting a message simply
   removes the tag it is being deleted from.

To send email using GMail smtp add these lines:

  send-hook '~f ^userna...@gmail.com$' 'set
  smtp_url=smtp://userna...@smtp.gmail.com:587/'
  send-hook '~f ^userna...@gmail.com$' 'set smtp_pass=yourpass'
  send-hook '~f ^userna...@gmail.com$' 'set realname=Your Name'
  send-hook '~f ^userna...@gmail.com$' 'set 
signature=$HOME/.mutt/signatures/signature1'
  send-hook '~f ^userna...@gmail.com$' 'set pgp_autosign=yes'
  send-hook '~f ^userna...@gmail.com$' 'set pgp_sign_as=userna...@gmail.com'

  send-hook '~f ^userna...@gmail.com$' 'set
  smtp_url=smtp://userna...@smtp.gmail.com:587/'
  send-hook '~f ^userna...@gmail.com$' 'set smtp_pass=yourpass'
  send-hook '~f ^userna...@gmail.com$' 'set realname=Your Name'
  send-hook '~f ^userna...@gmail.com$' 'set 
signature=$HOME/.mutt/signatures/signature2'
  send-hook '~f ^userna...@gmail.com$' 'set pgp_autosign=no'
  send-hook '~f ^userna...@gmail.com$' 'unset pgp_sign_as'

Notes:

 - You can create signature files for each account and put them in the signature
   variable. 
 - The first account has a pgp signature that I set for all email sent from that

   account. You can unset pgp_sign_as if you do not have pgp signatures.

Some other useful configuration:

set ssl_starttls=yes # activate TLS if available on the server
set ssl_force_tls=yes # always use SSL when connecting to a server
unset imap_passive # Don't wait to enter mailbox manually
#set imap_peek=yes # Don't mark imap emails as read
set imap_check_subscribed # poll mailboxes for new mail
set mail_check=60 # Reduce polling frequency to a sane level
set timeout=10 # Poll current mailbox more often
set net_inc=5 # Display download progress every 5K
set fast_reply   # Skip initial prompts when replying
set use_from # Needed to enable reverse_name
set

Re: Simple Mutt with Eee PC 701.

2010-01-17 Thread Brian Durant

Dale A. Raby wrote:

I'm no expert, but I'm pretty sure you need the following in your .muttrc file 
in order to access a gmail account via IMAP:

set folder = imaps://imap.gmail.com:993
set spoolfile = +INBOX
set postponed=+[Gmail]/Drafts

set header_cache= /home/dale/.mutt/cache/headers
set message_cachedir= /home/dale/.mutt/cache/bodies
set certificate_file= /etc/pki/tls/certs/ca-bundle.crt
  
And I also need to add an instance of the following for each of my IMAP 
accounts?


set realname = Your realname
set from = Email address
set imap_user = yourusern...@foo.org
set imap_pass = yourpassword

How do I switch between IMAP accounts? I looked here 
http://wiki.mutt.org/?action=browsediff=1id=UserStory/GmailMultiIMAP 
and see they suggest the following:


set folder=imaps://aoliv...@imap.gmail.com
mailboxes =INBOX

set folder=imaps://redon...@imap.gmail.com
mailboxes =INBOX

unset folder

unset imap_passive


Notice that the INBOX is not the same.

BTW, thanks for the paranoid tips :-)



Simple Mutt with Eee PC 701.

2010-01-16 Thread Brian Durant

I would like to start using Mutt on my Eee PC. I have done some searches
on the net, but despite (or maybe because of) the large amount of
documentation, I haven't really been able to ascertain whether or not I
am on the right track in drafting my .muttrc file. I am using Debian
Lenny and Mutt version  1.5.18.6 and just want to access my IMAP and
Gmail accounts, read manually selected e-mails, reply and/or delete
obvious junk, without actually downloading my e-mail to the Eee. I am
just looking for easy access to my e-mail without having to worry about
the amount of MB left on the Eee's SDHC card.

Here is my draft .muttrc, I am hoping that someone can respond and give
me some advice:

# Created Jan. 16, 2010

# IMAP/GMAIL
set realname = Your realname
set from = Email address
set imap_user = yourusern...@foo.org
set imap_pass = yourpassword

# Remote IMAP/GMAIL folders
set folder = imap://imap.foo.org:000
set spoolfile = +INBOX
set postponed = +/Drafts
set sent = +/Sent
set trash = +/Trash

# Local IMAP/GMAIL related folders
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates

# SMTP setup
set smtp_url = smtp://yourusern...@smtp.foo.org:000/
set smtp_pass = yourpassword

# Other
set move = no  #Stop asking to move read messages to mbox!
set imap_keepalive = 900

# For better looks
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 5 # how large is the index window?
set sort = 'threads'
set sort_aux = 'last-date-received'

# My Editor
set editor='vim + -c set textwidth=72 -c set wrap -c set nocp -c
?^$'

# Vim like keybinds
bind pager j next-line
bind pager k previous-line



Re: Checking for Attachments within mutt and vim

2009-11-02 Thread Brian Salter-Duke
On Mon, Nov 02, 2009 at 09:19:02PM +0100, Christian Brabandt wrote:
 Hi Brian!
 
 On Mo, 02 Nov 2009, Brian Salter-Duke wrote:
 
  
  Thanks. It would be good if that was explained in the docs.
 
 Thanks, I updated the installation instructions on the webpage.

Thanks. That is better.

However, it also says:-

This will install the plugin into your $HOME/plugin directory and the
documentation into your $HOME/doc directory. 

It actually installed them in ~/.vim/plugin and ~/.vim/doc directories,
which of course is fine.

Thanks for the good work. I'm using it all the time now.

Regards, Brian.
 
 regards,
 Christian
 -- 
 :wq

-- 
~
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Checking for Attachments within mutt and vim

2009-11-01 Thread Brian Salter-Duke
On Sun, Nov 01, 2009 at 07:46:44AM +0800, bill lam wrote:
 On Sun, 01 Nov 2009, Brian Salter-Duke wrote:
  However, in the install instructions, what do you mean by:-
  
  simple load CheckAttach.vba and source it using :so %.vba?
  
  I have no idea what this means. Load it where and how? Source is where
  and how?
  
 
 try 
 
 vim CheckAttach.vba
 :so %
 :q

Thanks. It would be good if that was explained in the docs.
 
 you may get help for vimball
 :help vba
 
 -- 
 regards,
 
 GPG key 1024D/4434BAB3 2008-08-24
 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

-- 
First they ignore you, then they laugh at you, then they fight you,
then you win. 
  -- Gandhi, being prophetic about Linux.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Checking for Attachments within mutt and vim

2009-10-31 Thread Brian Salter-Duke
On Sat, Oct 31, 2009 at 02:59:04PM +0100, Christian Brabandt wrote:
 Hi,
 some time ago, someone posted on this list a question on how to have 
 some kind of attachment check, so he would not forget to attach his  
 files to the mail. I replied with 
 http://marc.info/?i=20090116091203.GB3197%20()%20256bit%20!%20org in 
 which I posted a little vim script, that performed that check. 
 
 In case anybody is interested, I have now created a Vim plugin out of 
 this script, which is available here:
 http://www.vim.org/scripts/script.php?script_id=2796
 
 This should make it really simple to get such functionality now, at 
 least if you are using Vim and have set edit_headers.

This looks a really good idea and one better than waht I figured out
after the discussion earlier.

However, in the install instructions, what do you mean by:-

simple load CheckAttach.vba and source it using :so %.vba?

I have no idea what this means. Load it where and how? Source is where
and how?

Cheers, Brian.
 
 Feedback welcome.
 
 regards,
 Christian
 -- 
   • An infinite number of monkeys typing into GNU emacs would never make a 
 good
 program.
Linus Torvalds: Linux 1.3.53 CodingStyle documentation.

-- 
If a thing's worth doing, it is worth doing badly.
   -- G.K. Chesterton
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: signature-scripts

2009-08-12 Thread Brian Salter-Duke
On Wed, Aug 12, 2009 at 11:01:48AM +0200, Jan-Herbert Damm wrote:
 Hello all,
 
 Forgive me if this is slightly OT (replies off list welcome):
 
 I know that there are several people on this list (Kyle for one) that use
 scripts to add signatures dynamically. 
 
 Learning programming makes me think signature-scripting could be a nice
 homework. 
 
 I have googled for signature-scripts but with unsatisfying results.
 
 One idea i had: execute fortune and writing the output into a .signature
 file, which then gets used for mails. 
 
 Are there other/smarter approaches?
 
 What other/better signature-resources could be used?

Well a lot of people have a list of quotations with one selected
randomly for each message. My sig below was generated like that. I use
folder hooks to add different sigs in different folders and generally
use the random one for mailing lists. 

You do not even have to write a file with fortune - just pipe it in.

Well it is homework, so I'll leave you to sort it all out.

Brian. 
 Thanks.
 
 jan

-- 
If a thing's worth doing, it is worth doing badly.
   -- G.K. Chesterton
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Mixmaster

2009-06-28 Thread Brian Salter-Duke
On Sun, Jun 28, 2009 at 01:45:24PM +1000, Brian Salter-Duke wrote:
 I did quite a bit of work with mixmaster years ago and I think some of
 the information in the manual was from me. I am no longer interested in
 using mixmaster but I sort of keep an eye on it. Recently I have
 returned to using mutt on linux after a spell using it on cygwin. I am
 using the Ubuntu package prior to playing around with the latest
 release. That Ubuntu package included mixmaster support. That got me
 thinking and checking a few things.
 
 First, is anybody using it? It seems unlikely to me as if they were they
 would be complaining about how out of date the manual is. The latest
 manual I have to hand (1.5.18) has this to say:-
 
 Mixmaster support in mutt is for mixmaster version 2.04 (beta 45
 appears to be the latest) and 2.03. It does not support earlier versions
 or the later so-called version 3 betas, of which the latest appears to
 be called 2.9b23. (I think I wrote that ages and ages ago).
 
 According to http://mixmaster.sourceforge.net/ The current 3.0.x
 versions are stable and widely deployed. If the manual is still
 correct, and I have no reason to suppose it is not, then mutt does not
 work with the latest mixmaster 3.0.x although it probably works with
 2.0.4b46 which is still available via that link (click to go to download
 centre). 2.0.4b46 is dated 2002.  3.0.x is dated March 2008. So at the
 very least the manual needs updating to read something like:-
 
 Mixmaster support in mutt is for mixmaster version 2.03 and 2.04
 (2.0.4b46 is still available from 2002). It does not support earlier
 versions or the current version 3.0 (dated March 2008).
 
 I hestitate to recommend this change because I do not know whether it is
 correct. Maybe the mixmaster code in mutt has been changed. Can anyone
 help out with better information?
 
 Note that I can reply to this in the next 20 hours or so, but will then
 be off the internet for 4 days. I will reply on my return. I will not be
 ignoring you.

Just a small followup to my own post. I found the mixmaster changelog
and it appears that mutt support was added to the version 3 beta 25.
i.e. not long after the manual article reference was correct. The change
made was the introduction of the -T argument to mixmaster which mutt
uses. I recall that this was the problem. This change was in 2001-09-14.
It looks as if the manual has been wrong for nearly 8 years. I suspect
this is an indication of the degree of interest in mixmaster and mutt.
We need to know whether it still works and then update the manual.

Brian.

 Brian.
 
 -- 
 Rectify the anomaly.
  The worst slogan used by an education trade union.
 Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au

-- 
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: colors

2009-06-27 Thread Brian Salter-Duke
On Sat, Jun 27, 2009 at 06:46:12PM +0200, Jan-Herbert Damm wrote:
 Rocco Rutte wrote on 27.06.09:
 
  * Jan-Herbert Damm wrote:
  
   My Ubuntu-custom version of Mutt-1.18. uses a [...] coloring scheme 
   Where are these default colors being defined? 
  
  I'd say it'd be really strange if neither /etc/Muttrc nor .muttrc 
  contained color statements _and_ you get colors.
 
 Sorry, I oversaw the very last line in /etc/Muttrc. It sources
 /usr/lib/mutt/source-muttrc.d which again invokes the sourcing of
 /etc/Muttrc.d/* which contains a file covering nothing but the colors. I guess
 that is ubuntu/debian style. And yes my home-built Mutt-1.20. is mono.
 
 jan

I have only recently started using the standard Ubuntu mutt as I have
only recently started using Ubuntu. So, thanks for that. I had not
realsied that Ubunta does it that way. In fact I had not looked at any
of the ssytem muttrcs. I had just updated and tuned my old ones that
have evolved over more than a decade.

Another color question - where is the default color defined? My muttrc
uses default for the background all the time and it is obviously white
as I prefer, but I do not see it defined. The Ubuntu muttrcs do not use
default, but define the background as black.

Brian.

-- 
Microsoft is not the answer. It is the question. The answer is 'No'.
   -- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: colors

2009-06-27 Thread Brian Salter-Duke
On Sun, Jun 28, 2009 at 01:36:01AM +0200, Michael Tatge wrote:
 * On Sun, Jun 28, 2009 08:47AM +1000 Brian Salter-Duke 
 (b_d...@bigpond.net.au) muttered:
  Another color question - where is the default color defined? My muttrc
  uses default for the background all the time and it is obviously white
  as I prefer, but I do not see it defined. The Ubuntu muttrcs do not use
  default, but define the background as black.
 
 http://www.mutt.org/doc/devel/manual.html#color
 
 | If your terminal supports it, the special keyword default can be used
 | as a transparent color.

So it is terminal thing. I had always thought it was a mutt thing. I
must read the manual more often. Thanks, Michael.

Brian.
 
 HTH,
 
 Michael
 -- 
 I've run DOOM more in the last few days than I have the last few
 months.  I just love debugging ;-)
 (Linus Torvalds)
 
 PGP-Key-ID: 0xDC1A44DD
 Jabber: init...@amessage.de

-- 
Faith is the great cop-out, the great excuse to evade the need to think 
and evaluate evidence. Faith is belief inspite of, even perhaps because 
of, the lack of evidence. 
   -- Richard Dawkins
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Mixmaster

2009-06-27 Thread Brian Salter-Duke
I did quite a bit of work with mixmaster years ago and I think some of
the information in the manual was from me. I am no longer interested in
using mixmaster but I sort of keep an eye on it. Recently I have
returned to using mutt on linux after a spell using it on cygwin. I am
using the Ubuntu package prior to playing around with the latest
release. That Ubuntu package included mixmaster support. That got me
thinking and checking a few things.

First, is anybody using it? It seems unlikely to me as if they were they
would be complaining about how out of date the manual is. The latest
manual I have to hand (1.5.18) has this to say:-

Mixmaster support in mutt is for mixmaster version 2.04 (beta 45
appears to be the latest) and 2.03. It does not support earlier versions
or the later so-called version 3 betas, of which the latest appears to
be called 2.9b23. (I think I wrote that ages and ages ago).

According to http://mixmaster.sourceforge.net/ The current 3.0.x
versions are stable and widely deployed. If the manual is still
correct, and I have no reason to suppose it is not, then mutt does not
work with the latest mixmaster 3.0.x although it probably works with
2.0.4b46 which is still available via that link (click to go to download
centre). 2.0.4b46 is dated 2002.  3.0.x is dated March 2008. So at the
very least the manual needs updating to read something like:-

Mixmaster support in mutt is for mixmaster version 2.03 and 2.04
(2.0.4b46 is still available from 2002). It does not support earlier
versions or the current version 3.0 (dated March 2008).

I hestitate to recommend this change because I do not know whether it is
correct. Maybe the mixmaster code in mutt has been changed. Can anyone
help out with better information?

Note that I can reply to this in the next 20 hours or so, but will then
be off the internet for 4 days. I will reply on my return. I will not be
ignoring you.

Brian.

-- 
Rectify the anomaly.
 The worst slogan used by an education trade union.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


gmail + imap problem

2009-06-16 Thread Brian Marr
New to the list. I have been happily using mutt on the Eeepc. Distro
is the Debian based Netbook Remix. I use the Mutt Imap configuration
to connect to gmail. But one day it stopped working. I have googled,
tinkered with the imap settings etc but it refuses to budge. No
changes were made to the mutt configuration but some other deb
packages may have been updated about the time of the failure. Below
are logs of attempted connections. I am at a loss. : (


=
Connection failed. errno: 4...
Connection failed. errno: 4...
Could not connect to imap.gmail.com (Interrupted system call).
Connected to imap.gmail.com:993 on fd=-1
mutt_num_postponed: using old IMAP postponed count.


Connection failed. errno: 4...
Connection failed. errno: 4...
Could not connect to imap.gmail.com (Interrupted system call).
Connected to imap.gmail.com:993 on fd=-1
mutt_num_postponed: using old IMAP postponed count.
mutt_index_menu[633]: Got op 146

===
Connection failed. errno: 4...
Connection failed. errno: 4...
Could not connect to imap.gmail.com (Interrupted system call).
Connected to imap.gmail.com:993 on fd=-1
mutt_num_postponed: using old IMAP postponed count.
mutt_index_menu[633]: Got op -1
mutt_index_menu[633]: Got op 146


Re: gmail + imap problem

2009-06-16 Thread Brian Marr
Thanks Grant, I was looking in the wrong place. It was a
router/firewall issue. Your mail soon revealed this.
Brian

2009/6/17 Grant Edwards gra...@visi.com:
 On 2009-06-17, Brian Marr cabern...@gmail.com wrote:

 New to the list. I have been happily using mutt on the Eeepc. Distro
 is the Debian based Netbook Remix. I use the Mutt Imap configuration
 to connect to gmail. But one day it stopped working. I have googled,
 tinkered with the imap settings etc but it refuses to budge. No
 changes were made to the mutt configuration but some other deb
 packages may have been updated about the time of the failure. Below
 are logs of attempted connections. I am at a loss. : (

 What have you done to troubleshoot?

 Do other imap clients still work?

 What happens when you try to telnet to imap.gmail.com 993?

 What happens when you connect using openssl's client?

   openssl s_client -host imap.gmail.com -port 993

 --
 Grant





Re: How to let mutt always mark mbox as new if it contains new

2009-05-12 Thread Brian Salter-Duke
On Tue, May 12, 2009 at 07:04:39AM -0700, Gary Johnson wrote:
 On 2009-05-12, Rocco Rutte pd...@gmx.net wrote:
  Hi,
  
  * Wu, Yue wrote:
  
   Thank you, 'check_mbox_size' does the trick.
  
  Hmm, how is the partition with the mboxes mounted? This option only
  exists for setups where access/modification time cannot be reliably used
  to detect new mail. Filesystems can be mounted to not update atime as
  that causes disk updates but provides little to no benefit for most
  applications so many people turn atime updates off.
 
 In my case, at work, almost everything except /tmp is NFS-mounted,
 including $MAIL and $HOME.  I've been using +BUFFY_SIZE and now
 'check_mbox_size' for so long that I don't remember exactly the
 problem I was having without it, except that notifications of new
 mail and/or mailbox statuses were not working correctly.
 
 At home, I'm using Cygwin's mutt package and it just happens to have
 +BUFFY_SIZE configured.

Just a comment. I compiled 1.5.18 out of the box  on Cygwin and I do not have
that set. I am not sure what it does, but would it be best set in the
cygwin version.

Brian.

 Regards,
 Gary
 
 

-- 
I have attempted to give you a glimpse...of what there may be of
soul in chemistry. But it may have been in vain. Perchance the chemist
is already damned and the guardian of the pearly gates has decreed that
of all the black arts, chemistry is the blackest. But if the chemist
has lost his soul, he will not have lost his courage and as he descends
into the inferno, sees the rows of glowing furnaces and sniffs the homey
fumes of brimstone, he will call out--:
   'Asmodeus, hand me a test-tube' * G. N. Lewis (1875-1946)*
 
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Re: urlview - open firefox tab

2009-02-27 Thread Brian Salter-Duke
On Fri, Feb 27, 2009 at 12:24:24PM +0100, Joost Kremers wrote:
 On Thu, Feb 26, 2009 at 10:20:22PM -0700, Joseph wrote:
  On 02/26/09 22:02, Kyle Wheeler wrote:
 
  firefox -remote openURL('http://www.cskk.ezoshosting.com/cs/',new-tab)...
  sh: -c: line 0: syntax error near unexpected token `('
 
  Well, sure - bare parentheses mean something to your shell. That's why  
  you have to put the backslashes in front of them. It's got nothing to  
  do with the single quotes inside. You could do this:
 
  in urlview I have:
  OMMAND firefox -remote openURL\(%s,new-tab\)
 
  When I try to open any URL:
  Executing: firefox -remote 
  openURL\('http://domainkeys.sourceforge.net/',new-tab\)...
  Error: Failed to send command: 500 command not parseable
 
 i haven't used urlview since i started using xfce4's Terminal, which
 recognises urls and makes them clickable, but back when i did, my .urlview
 looked like this:
 
 ###
 # Urlview configuration file.
 # man urlview  Man page
 #
 # The defaults are shown here:
 #
 REGEXP  (((https?|ftp|gopher)://|(mailto|file|news):)[^' 
 \t]+|(www|web|w3)\.[-a-z0-9.]+)[^' \t.,;\):]
 COMMAND /home/joost/bin/urlhandler.sh %s
 #
 ###
 
 and the script urlhandler.sh looked like this:
 
 ==
 
 #!/bin/bash
 
 export PATH=/usr/bin:/usr/local/bin:
 
 if [ ! -z $DISPLAY ] ; then
 
 # for some stupid reason, firefox -remote cannot handle the fact that
 # there are commas in urls. therefore, we have to parse the url through
 # sed and replace commas with their ascii code %2c:
 
 exec firefox -remote openURL($(echo $@|sed 's/,/%2c/g'),new-tab) 
 else
 TERM=linux
 exec links $@
 fi
 
 ==
 
 however, given that firefox doesn't need the -remote option nor the command
 openURL anymore, i'd try this in .urlview:
 
 COMMAND firefox %s
 
 my guess is that'll work just fine...

I use Cygwin ion a laptop for mail, with mutt of course, and:-

COMMAND /cygdrive/c/Program Files/Mozilla Firefox/firefox %s

in my .urlview works fine, so you are certainly correct if firefox is on
your path.

Brian.
 
 
 -- 
 Joost Kremers, PhD
 University of Frankfurt
 Institute for Cognitive Linguistics
 Gr??neburgplatz 1
 60629 Frankfurt am Main, Germany

-- 
Brian Salter-Duke (Brian Duke)   



Re: newbie install

2009-02-21 Thread Brian Salter-Duke
On Sat, Feb 21, 2009 at 07:56:47PM +, James Freer wrote:
 Thank you for your help and comments. Just to recap i had wanted to
 use a text editor to speed up answering emails and considered Mutt and
 Emacs. I had used Thunderbird for sometime and liked the app. A text
 email client seemed the answer but i wasn't that impressed by Mutt.
 
 However, i'm not as knowledgeable as some and setting up Mutt was ok
 but still involved quite a bit of work. I got it all working and did
 appreciate your help.
 
 Yesterday i came across a Thunderbird addon Muttador (still beta stage
 - vi editor)

I tried to find muttador but came up with very little. Do you have a
link to it?

Brian.

 and today came across a non-mozilla TB addon called Exteditor...
 http://globs.org/articles.php?lng=enpg=2 some v.clever person has
 developed an external editor addon instead of the TB editor. It allows
 emacs, vi, joe, gedit or whatever to compose emails. Should be of
 interest to anyone who wants to say goodbye to the mouse while editing
 emails.

 james
 
 2009/2/21 Gary Johnson garyj...@spocom.com:
  On 2009-02-21, Chris Bannister mockingb...@earthlight.co.nz wrote:
  On Mon, Feb 16, 2009 at 11:55:00AM -0500, Noah Sheppard wrote:
   On Mon, Feb 16, 2009 at 10:44:45AM -0600, Kyle Wheeler wrote:
[..]
Of course, now we're getting into pedantry, and kinda off track. :)
  
   We are computer geeks; pedantry is never off-track.
  ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
  No need for the hyphen; you are not splitting a word.
 
  Hyphens are not used only for splitting words; they are also used
  for joining words to form compounds, as when forming a single
  adjective as in ten-foot pole or off-track pedantry. ?In the
  example above, however, since the modifier off track follows
  pedantry, the correct usage is without the hyphen: ?pedantry is
  never off track.
 
  Regards,
  Gary
 
 
 

-- 
If you think education is expensive, try ignorance.
 The best slogan used by an education trade union.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Re: How to change dynamically the From hdr?

2009-02-17 Thread Brian Salter-Duke
On Mon, Feb 16, 2009 at 10:56:44PM -0500, Ed Blackman wrote:
 On Tue, Feb 17, 2009 at 01:16:14AM +0100, Ennio-Sr wrote:
 I commented all my .muttrc lines referring to 'unhook' and 'send-hook'
 and adapted the lines you suggested to my addresses. Still nothing
 happens when I press 'z'!

 Are you sure you're in the compose menu when you press 'z'?  You should  
 see -- Mutt: Compose in the lower left.

 Moreover, when I compose a new message, my 'From' hdr reads:
 From: Identity_default

 Yeah, I did that deliberately to remind myself of the option.  You might  
 want to change the set from= line and the send-hook lines to have  
 actual addresses if you don't want that in your editor.

 The compose menu is what you get *after* you've saved your message and  
 exited the editor.

I think the OP did not realise this. You hit 'z' before you normally hit
'y' to send. I did not get around to checking htis until yesterday and
it works fine and is really usefull. Thanks.

Brian.
 Ed



-- 
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



addlist

2008-08-24 Thread Brian Salter-Duke
I used to use mutt on a linux machine, but have used it on cygwini for
some time. Checking my muttrc I found I used to use a perl script
called addlist to add subscribe lines for mailing lists to a file that
could be sourced in muttrc. I can not recall where I got it from. Can
anyone help me? Who gave us this small tool? It must have been about
2000. It works fine.

Cheers, Brian.

-- 
On two occasions I have been asked [by members of Parliament], Pray, Mr. 
Babbage, if you put into the machine wrong figures, will the right answers 
come out?. I am not able rightly to comprehend the kind of confusion of 
ideas that could provoke such a question.
   -- Charles Babbage
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Re: Procmail error

2008-07-07 Thread Brian Salter-Duke
On Mon, Jul 07, 2008 at 10:32:54PM -0700, Rem P Roberti wrote:
 
 I have mutt installed on two other freebsd computers.  I fetch pop mail
 via getmail, and procmail puts things where they belong.  I just
 installed freebsd 7.0 on another computer with what I thought were the
 exact same settings for all of the mail programs involved.  When I try
 to retrieve mail I get this error message:
 
 Delivery error (command procmail 3695 error (127, exec of command
 procmail failed (refuse to invoke external commands as root or GID 0 by
 default)))
 
 I'm a relative newbie here and would appreciate it if someone could give
 me a heads up on this.

Never get mail as root. In fact never use root unless you really have
to, but that is a more general point.
 
 Rem
 

-- 
There is no reason anyone would want a computer in their home.
--Ken Olson, president, chairman and founder of Digital Equipment Corp., 1977
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



clearing flags

2008-05-27 Thread Brian Cuttler

Ok, I did something very stupid, I accidently deleted all
of the mail in my mailbox. Well, being responsible for backups
I was able to retrieve the mail, put it back into my mailbox
and rebuild the imap message index.

However, the messages all show as old, the O flag being set.

I know there is a simple one line command to clear the flag from
all of the messages, but I've spent a lot of time on this and have
yet to get the syntax correct.

If someone would be kind enough to provide the command I'd be greatfull.

Thanks in advance,

Brian
---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: clearing flags

2008-05-27 Thread Brian Cuttler

Christian,

Thank you, I was trying to do something more like ~A (select all)
and then W O, but that clearly wasn't working.

Your solution worked brilliantly, thank you.

T (tag) .
;W O (act on all tagged ?)
^T . (untag, matching any).

thank you,

Brian

On Tue, May 27, 2008 at 10:01:26PM +0200, Christian Brabandt wrote:
 Hi Brian!
 
 On Tue, 27 May 2008, Brian Cuttler wrote:
 
  
  Ok, I did something very stupid, I accidently deleted all
  of the mail in my mailbox. Well, being responsible for backups
  I was able to retrieve the mail, put it back into my mailbox
  and rebuild the imap message index.
  
  However, the messages all show as old, the O flag being set.
  
  I know there is a simple one line command to clear the flag from
  all of the messages, but I've spent a lot of time on this and have
  yet to get the syntax correct.
  
  If someone would be kind enough to provide the command I'd be greatfull.
 
 Tag all messages and remove marks:
 T .
 ;W O
 
 regards,
 Christian
 -- 
 :wq!
---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.




Re: attachment viewing and mailcap query

2007-12-09 Thread Brian Salter-Duke
On Sun, Dec 09, 2007 at 07:49:39PM +, Jamie Griffin wrote:
 Hi - 
 
 I've read so many websites and the manuals to set up attachment viewing 
 from mutt. I've got a .mutt/auto_view file and a .mutt/mailcap file 
 with appropriate entries in it. 
 
 The main problem i'm having is with ms applications - word is the one 
 i've tried so far. 
 
 I got around this by putting the following in my .mutt/mailcap file:
 
 application/msword; view_attachment %s - '/Applications/Microsoft\ Office\ 
 2004/Microsoft\ Word'

This will work after pressing v but cannot work when you just open the
mail. That needs something that converts word to text and the mailcap
entry needs the 'copiousoutput;' parameter. 

 and have a 'view_attachment' script in /usr/local/bin. This worked ok, 
 but when opening mail with a word document attached, i kept getting 
 an error-message saying:
 
 mailcap entry application/msword not found. This frustrated me and i 
 thought my configuration must be wrong. 
 
 I was able to open the attachment by pressing the 'v' key to view, and 
 selecting the attachment which then opened it with the msword program. 
 I was still bothered by the mailcap entry error i was getting.
 
 I then installed antiword and added the following entry into my 
 .mutt/mailcap file:
 
 application/msword; antiword %s | more; copiousoutput; needsterminal

Do you have this line and the one above in the mailcap file? If so it
will use Msword from the attachemnt menu after pressing v and antiword
in line when you open the mail.

The other question is thsi - are all your word attachemnts of
application/msword type? They could be application/vnd.msword or indeed
a host of other things unfortunately and you will have to add other
lines to your mailcap to cover these.
 
 This does allow me to view the attachment contents, but can't open the 
 attachment with the word program. I would like to do both, this is 
 where i'm having problems. Perhaps my set up is wrong?
 
 Does anyone have any suggestions?
 
 Jamie



-- 
The PROPER way to handle HTML postings is to cancel the article, then
hire a hitman to kill the poster, his wife and kids, and fuck his dog
and smash his computer into little bits. Anything more is just extremism.
-- Paul Tomblin
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Re: Mixmaster

2007-12-06 Thread Brian Salter-Duke
On Thu, Dec 06, 2007 at 09:51:44PM +0100, Francesco Ciattaglia wrote:
 * Brian Salter-Duke [EMAIL PROTECTED] [06.12.07 21:31]:
  Is anyone using the mixmaster support in mutt? I ask merely because I
  was involved in improving this about 7 years ago, and I'm curious. I have
  no intention of ever using it again. The support is for a very old
  version of Mixmaster and not for the more recent version 3 betas. 
  
  Should Mixmaster support be kept? It is unlikely to carry on working
  even with the old mixmaster code (version 2.4 beta 46 from September
  2002), and that code may soon be not available.
  
  Brian.
 * Ci? letto, correndo gioved? 06 dicembre 2007, alle 21 e 38 rispondo cos?:
 
 Last Mixmaster changes are dated 2007 september, see:
 http://svn.noreply.org/svn/mixmaster/trunk/Mix/HISTORY

Yes, but none of those versions (2.9  3.0) are supported as far as I
know by thye current mutt code. About 7 years ago I looked at getting
mutt to support the 2.9 version 3 betas and decided it was a really big
job and beyond me. I have no intention of coming back to this. Are you
going to do it?
 
 I would like to use mixmaster support, yes.
 
 I wrote also a complete reference guide* for using mixmaster with Mutt,
 but it's kept in stand-by, because of incompatibility between
 recent versions of Mutt and Mixmaster.

Why not put it on the wiki? It might encourage people to remove the
incompatability. I added a small change to update the manual to mutt.dev
yesterday.
 
 It's an ideal argument for a flame war... anonimity: good or bad?

Indeed and I do not want to go there. It is now not for me, so I am not
going to touch the code. I have raised this, as I have said, just out of
curiousity since I was active with mutt and mixmaster 7 years ago.
 
 IMHO it's good in some situations.
 
 In the country where I live, others are the instruments to protect
 yourself from abuse, crimes, ecc.. So I like Mixmaster as matter of
 study, in some sense.
 
 In other countries, perhaps, anonimity could be matter of life.
 
 * in italian and as a part of Il Nirvana con Mutt (see website in sig).
 
 ciao Ataualpa aka Francesco Ciattaglia.
 
 -- 
 
 - Linux is better: Open  Free! || www.ataualpa.altervista.org

Brian.

-- 
If a thing's worth doing, it is worth doing badly.
   -- G.K. Chesterton
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Mixmaster

2007-12-05 Thread Brian Salter-Duke
Is anyone using the mixmaster support in mutt? I ask merely because I
was involved in improving this about 7 years ago, and I'm curious. I have
no intention of ever using it again. The support is for a very old
version of Mixmaster and not for the more recent version 3 betas. 

Should Mixmaster support be kept? It is unlikely to carry on working
even with the old mixmaster code (version 2.4 beta 46 from September
2002), and that code may soon be not available.

Brian.
-- 
Faith is the great cop-out, the great excuse to evade the need to think 
and evaluate evidence. Faith is belief inspite of, even perhaps because 
of, the lack of evidence. 
   -- Richard Dawkins
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au



Re: Mbox main view

2007-06-07 Thread Brian Salter-Duke
On Thu, Jun 07, 2007 at 09:00:15PM +0200, Guillaume R. wrote:
 Hello,
 When I use mutt 1.5.x I used an alias (mutt -y)which allows me
 to start mutt with the list of my mailboxes so that I can choose one.
 Do you know please how I could properly do that on Mutt 1.4.x because
 the option -y doesnt seem to exist.
 Thanks

Odd. Works for me and has done so way back before version 1.4.

-- 
A computer without Windows is like a chocolate cake without
mustard.
-- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


mime, freedesktop.org and mutt

2007-05-26 Thread Brian Salter-Duke

This message may be complete nonsense. I am trying to find my way into
something. I understand that KDE 4 and GNOME  2.4 use the
freedesktop.org mime databases to determine the mime type. 

Has any thought ever been given to using these databases in mutt in 
place of mime.types when sending mail and in place of mailcap on receipt 
of mail and when using auto_view? 

The possible advantages could be that it is possible to sort out
conflicting mime types by doing some 'magic' on the file itself on the
fly. I come to this because I have just come back to improving and
adding to various ways I put forward for dealing with chemical mime
type: chemical/x-?? in mutt. A very common extension *.pdb for Protein 
Database Files uses chemical/s-pdb but this conflicts with *.pdb using
/application/vnd.palm. We could possibly use the freedesktop mime
databases to sort this and other problems out.

There is a new project on chemical mime that is adding chemical mime 
types and information for parsing the files involved to these freedesktop.org 
mime databases.

I hope I have not made too many mistakes in the above. I am still trying
to get into it.

Is this the linux way of the future for mime? If so, should we not be
getting mutt to know about it, if we want to stay ahead of the pack on
support for mime. Has anyone thought about this? Is it already in mutt?
Is is possible or even desirable?

Should I cross post this to mutt-devel?

Brian.
-- 
A computer without windows is like a dog without bricks tied to its head
   -- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Lotus calander

2007-05-22 Thread Brian Salter-Duke
On Sun, May 20, 2007 at 09:15:40PM -0600, Kyle Wheeler wrote:
 On Monday, May 21 at 10:52 AM, quoth Brian Salter-Duke:
  Has anyone developed a script or other tool that will make *.ics files, 
  which I think are Lotus calander files, properly readable in plain text 
  so I could use it in auto_view in mutt? The file I just received is text 
  but I could not figure out where and how formatted the date and time 
  information was. So I know about a meeting and I know where, but I do 
  not know when!
 
 I believe it's an iCal file, actually (i.e. an invitation). If so, its 
 format is defined by RFC 2445 (Apple didn't invent it): 
 http://tools.ietf.org/html/rfc2445
 
 Here's the Apple document on the subject: 
 http://developer.apple.com/internet/appleapplications/icalendarfiles.html
 
 There's a perl module for handling them (Net::ICal), and a couple 
 other useful projects (search Freshmeat.net for icalendar).

Thanks for that information. I had noticed the perl module, but hoped
someone had used it to write a script to handle these files under
auto_view. I'll see if I can write on and report back.

Brian.
 
 ~Kyle
 -- 
 Unthinking respect for authority is the greatest enemy of truth.
  -- Albert Einstein

-- 
The problem with defending the purity of the English language is that 
English is about as pure as a cribhouse whore. We don't just borrow words; 
on occasion, English has pursued other languages down alleyways to beat 
them unconscious and riffle [sic] their pockets for new vocabulary
-- James D. Nicoll
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Lotus calander

2007-05-20 Thread Brian Salter-Duke
Has anyone developed a script or other tool that will make *.ics files,
which I think are Lotus calander files, properly readable in plain text
so I could use it in auto_view in mutt? The file I just received is text
but I could not figure out where and how formatted the date and time
information was. So I know about a meeting and I know where, but I do
not know when!

Brian.

-- 
A computer without Windows is like a chocolate cake without
mustard.
-- Unknown
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Apple mail

2007-05-17 Thread Brian Salter-Duke
Alain and others.

On Thu, May 17, 2007 at 03:58:28PM +0200, Alain Bench wrote:
  On Wednesday, May 16, 2007 at 9:18:45 +1000, Brian Salter-Duke wrote:
 
  The full headers are:- [private]
 
 Thanks. This header and the previously posted body don't match.
 I assume it's a mistake, and it comes from the other broken mail, right?
 Anyway: This full header is completely broken, lacking any Content-Type,
 Apple Mail tag, Received, and most fields out of Date/From/To/Subject
 and those added by Mutt itself. No mystery it didn't display well, and
 I even doubt the mail reached you in this form. However the enveloppe in
 From_ is OK...
 
 So something destroyed the original header, probably on your side.
 What? I'd first suspect:
 
  - Some evil procmail rule shortening headers.
  - Some evil detacher script.
  - Some evil mail archiving program like pipermail or such.
 
 Can you investigate in this direction? Such munging has to be
 stopped from the beginning, there is no proper way to cleanup it
 afterwards. BTW it's also quite possible that the broken special chars
 in your mails come from the same munging.

I fear I have been wasting your time. This mail was in a list digest
which I split using matamutt and a script that fixes some badly formed
headers from some lists.  the From line comes from those scripts.
metamutt adds the sFfrom line. My script cleans up bad From: lines before
that. I have nothing in .procmailrc that touches headers. 

However, the e-mail looks exactly the same if I do not split it. I
actually split on the fly with a mutt macro tied to a key. I think this
philchem list is even more broken than some I have come across. It does
not keep several headers such as content type. Nevertheless I think the
individual apple mail message is also broken but there is not way of
telling if the digest process gets it wrong.  I guess the list digest 
comes from pipermail.

It is'nt a particularly busy list. Some e-mails are so badly misformed
it is not worth bothering with them. Thanks for your help. I have at
least learn something.

Cheers, Brian.

 
 Bye!  Alain.
 -- 
 Everything about locales on Sven Mascheck's excellent site at new
 location URL:http://www.in-ulm.de/~mascheck/locale/. The little tester
 utility is at URL:http://www.in-ulm.de/~mascheck/locale/checklocale.c.

-- 
One man alone can be pretty dumb sometimes, but for real bona fide
stupidity there ain't nothing can beat teamwork. 
   -- Mark Twain
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Apple mail

2007-05-15 Thread Brian Salter-Duke
Greetings,

Could anyone suggest the best way to cleanup this sort of mail? I have
recently received two from different people. It is a mess. The html is
not an attachment.

Brian.

Mail minus headers follows

--Apple-Mail-1-1070581217
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed


On May 13, 2007, at 4:00 PM, PHILCHEM automatic digest system wrote:

 Here is a challenging subject for philosophers of chemistry. =20
 Professor Miguel Valc=E1rcel of the University of C=F3rdoba in  
 Spain =
 says =20
 that analysis is the only field of chemistry having to do with =20
 humans .

A fascinating claim.

As all of chemistry depends on assays, would it not be simpler to  
simply claim that
chemistry is the science of assays for specific species of matter?

In other words, assay is the field of chemistry.:-)

Cheers

Jerry 
--Apple-Mail-1-1070581217
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

HTMLBODY style=3Dword-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; BRDIVDIVOn May 13, 2007, =
at 4:00 PM, PHILCHEM automatic digest system wrote:/DIVBR =
class=3DApple-interchange-newlineBLOCKQUOTE type=3DciteBLOCKQUOTE =
type=3DciteP style=3Dmargin: 0.0px 0.0px 0.0px 10.0pxFONT =
face=3DHelvetica size=3D3 style=3Dfont: 12.0px HelveticaHere is a =
challenging subject for philosophers of chemistry. =3D20/FONT/P P =
style=3Dmargin: 0.0px 0.0px 0.0px 10.0pxFONT face=3DHelvetica =
size=3D3 style=3Dfont: 12.0px HelveticaProfessor Miguel Valc=3DE1rcel=
 of the University of C=3DF3rdoba in Spain =3D/FONT/P P =
style=3Dmargin: 0.0px 0.0px 0.0px 10.0pxFONT face=3DHelvetica =
size=3D3 style=3Dfont: 12.0px Helveticasays =3D20/FONT/P P =
style=3Dmargin: 0.0px 0.0px 0.0px 10.0pxFONT face=3DHelvetica =
size=3D3 style=3Dfont: 12.0px Helveticathat analysis is the only =
field of chemistry having to do with =3D20/FONT/P P style=3Dmargin: =
0.0px 0.0px 0.0px 10.0pxFONT face=3DHelvetica size=3D3 =
style=3Dfont: 12.0px Helveticahumans .SPAN =
class=3DApple-converted-space=A0/SPAN/FONT/P =
/BLOCKQUOTE/BLOCKQUOTE/DIVBRDIVA fascinating =
claim./DIVDIVBR class=3Dkhtml-block-placeholder/DIVDIVAs all =
of chemistry depends on assays, would it not be simpler to simply claim =
that=A0/DIVDIVchemistry is the science of assays for specific =
species of matter?/DIVDIVBR =
class=3Dkhtml-block-placeholder/DIVDIVIn other words, assay is =
the field of chemistry. =A0 =A0:-)/DIVDIVBR =
class=3Dkhtml-block-placeholder/DIVDIVCheers/DIVDIVBR =
class=3Dkhtml-block-placeholder/DIVDIVJerry=A0/DIV/BODY/HTML=

--Apple-Mail-1-1070581217--

--

-- 
A child of five could understand this!  Fetch me a child of five. 
   -- Marx (guess which one)
erian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Make of docs and other stuff

2007-05-09 Thread Brian Salter-Duke
Greetings,

Some of you may remember me from years back. I have been using mutt for
years and was active on this list years ago. 6 years ago I retired and
lost a unix machine with a direct link to the web. I have a large unix
machine at home to work on, but for various reasons I have not had this
connected to the internet. I use mutt on Cygwin and for years have used
the stable release that comes with cygwin. I have had little time to
play around with mutt and its friends as I used to. However, I have now
got a new speedy laptop with the latest cygwin and I plan to get more
active here. I have just compiled mutt-1.5.15. I plan to work as I used
to on some of the tools that we link with mutt. I need to go through my
old muttrc. There is much there that I did not use with 1.4 or would not 
work under cygwin. My first task is to sort that out. Then, I'll see what 
else I want to play around with. So, if anyone has a TODO list for mutt 
+ cygwin, please let me have it.

I have some comments from the 1.5.15 build. As I found years ago the main
problems are in the make in the doc directory. This is amazingingly
complex, at least to me. It uses tools I have not meet before and I had
to download them from the cygwin site. It failed with:-

make[2]: Entering directory `/home/Brian/prog/mutt-1.5.15/doc'
make makedoc-all
make[3]: Entering directory `/home/Brian/prog/mutt-1.5.15/doc'
sed -e 's,@sysconfdir\@,/usr/local/etc,g' -e 's,@bindir\@,/usr/local/bin,g' 
-e 's,@docdir\@,/usr/local/doc/mutt,g' ./mutt.man  mutt.1
gcc -E -I. -I.. -I/usr/local/include -I.. -DSYSCONFDIR=\/usr/local/etc\ 
-DBINDIR=\/usr/local/bin\ -DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC 
-C ../init.h | ../makedoc -m |  \
cat ./muttrc.man.head - ./muttrc.man.tail\
 muttrc.man
make -j1 ../makedoc.exe # we do not want to rebuild the documentation in 
tarball builds
make[4]: Entering directory `/home/Brian/prog/mutt-1.5.15/doc'
make[4]: `../makedoc.exe' is up to date.
make[4]: Leaving directory `/home/Brian/prog/mutt-1.5.15/doc'
( date=`head -n 1 ../ChangeLog | LC_ALL=C cut -d ' ' -f 1`  \
  sed -e s/@VERSION\@/`cat ../VERSION` ($date)/ ./manual.xml.head  \
  gcc -E -I. -I.. -I/usr/local/include -I.. 
-DSYSCONFDIR=\/usr/local/etc\ -DBINDIR=\/usr/local/bin\ 
-DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C ../init.h | ../makedoc 
-s  \
  gcc -E -I. -I.. -I/usr/local/include -I.. 
-DSYSCONFDIR=\/usr/local/etc\ -DBINDIR=\/usr/local/bin\ 
-DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C ../functions.h | \
perl ./gen-map-doc ./manual.xml.tail ../OPS* \
)  manual.xml
touch stamp-doc-xml
xsltproc --nonet ./chunk.xsl manual.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
warning: failed to load external entity 
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl;
compilation error: file ./chunk.xsl line 3 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
make[3]: [stamp-doc-chunked] Error 5 (ignored)
touch stamp-doc-chunked
xsltproc --nonet -o manual.html ./html.xsl manual.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
warning: failed to load external entity 
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl;
compilation error: file ./html.xsl line 3 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
make[3]: [manual.html] Error 5 (ignored)
lynx -dump -nolist -with_backspaces manual.html  manual.txt || 
w3m -dump manual.html  manual.txt

It then quit. I have added some newlinetab to make it clearer. So:

1. Why does it have to get this stuff from the internet and why is it
failing to do so? I have a reliable broadband access.

2. Why do we even need to make the documents. They are on the main site or
they can just be added to the release.

3. If thay do have to be made, I suggest a separate 'make docs' after
'make', so failure in making the docs does not stop getting the
executable.

I just edited the makefile to forget about the docs and there was no
problem with the make for the executable.

Best wishes to all, but particularly to old mutt friends.

Brian.
 
-- 
If a thing's worth doing, it is worth doing badly.
   -- G.K. Chesterton
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Make of docs and other stuff

2007-05-09 Thread Brian Salter-Duke
On Wed, May 09, 2007 at 08:52:55AM -0600, Kyle Wheeler wrote:
 On Wednesday, May  9 at 05:32 PM, quoth Brian Salter-Duke:
 xsltproc --nonet ./chunk.xsl manual.xml
 I/O error : Attempt to load network entity 
  http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
 warning: failed to load external entity 
  http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl;
 compilation error: file ./chunk.xsl line 3 element import
 xsl:import : unable to load 
  http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
 
 This is explained in mutt/doc/devel-notes.txt. Essentially, you need 
 to export some environment variables to tell it where the XML catalog 
 files are.

OK, this works, but I had to download the two distributions and one is
over 2Mb. It seems overkill. The devel-notes.txt is pretty obscure. It
used to be for developers, not for Joe Blow just trying to compile from
sources. Thanks for drawing my attention it.
 
 2. Why do we even need to make the documents. They are on the main 
 site or they can just be added to the release.
 
 The idea, I believe, is that we only want to write one set of 
 documents, and have them built into both html and man pages. Otherwise 
 it becomes a you updated it here, did you update it there too? 
 thing.

If the appropriate makefile for the documents was available to those who
release a new release, they could run it and put the documents on the
web page where the release is announced.
 
 3. If thay do have to be made, I suggest a separate 'make docs' after
 'make', so failure in making the docs does not stop getting the
 executable.
 
 Hm. It doesn't stop *my* build. I wonder why it stops yours...?

I have no idea, but I later realised that it was hanging leaving lynx,
make and various thinks still running. It is certainly OK now.
 
 Best wishes to all, but particularly to old mutt friends.
 
 Good luck!

Thanks, Brian.
 
 ~Kyle
 -- 
 No man has a natural right to commit aggression on the equal rights of 
 another, and this is all from which the laws ought to restrain him.
   -- Thomas Jefferson, July 7, 1786

-- 
If a thing's worth doing, it is worth doing badly.
   -- G.K. Chesterton
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


  1   2   3   4   >