[OT] Re: mutt porting to Max OS-X ?

2001-08-17 Thread Eugene Lee

On Fri, Aug 17, 2001 at 12:42:55PM +0530, Suresh Ramasubramanian wrote:
: Aaron Schrab  [17/08/01 01:58 -0500]:
: 
: > O DontBlameSendmail=GroupWritableDirPathSafe
:  
:  So it's true that / is world writeable in OSX?  Ouch.

Not world-writable, just group-writable.  Still bad.

:  A chmod or two (and avoiding the use of HFS - which might break
:  compatiblity with older Mac OSen) might be a great idea before
:  compiling any *nix stuff - esp sendmail - on OS X.

Actually, most Unix stuff compiles pretty well on OS X on an HFS+ volume
with its case-insensitive case-preserving ways.  But there are issues
with a few things like Perl that installing things its HTTP script
/usr/bin/HEAD, which on an HFS+ system clobbers /usr/bin/head.  Java has
problems because apparently some class files only differ by case (where
the capitalized version has a set of classes, and the lowercase version
is just code).


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: UTILITY: Pretty print from console Mutt

2001-08-17 Thread Thomas Roessler

On 2001-08-16 13:14:26 -0400, Michael Sanders wrote:

>> set   print_cmd="enscript -Email -2 -r -G"   # Two columns, landscape, fancy header.
>> set   print_split=yes# Invoke enscript once per message

>Should that be pipe_split ?

No, print_split is correct.

>Is enscript preferable to a2ps?

That's mostly a matter of taste - I find enscript's fancy header 
nicer than the one produced by a2ps...

(However, I have changed to a2ps for most things - it just has 
pretty-printing for more programming languages included, and that's 
better than nothing.)

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



Re: mutt porting to Max OS-X ?

2001-08-17 Thread Thomas Roessler

On 2001-08-16 13:35:54 -0700, Seraphim Larsen wrote:

>Anyone know of any attempted ports of Mutt to Max OS-X?

Just try - I'd expect it to work.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/





Re: UTILITY: Pretty print from console Mutt

2001-08-17 Thread Dave Ewart

On Thursday, 16.08.2001 at 09:01 -0700, Carl B . Constantine wrote:

> * Dave Ewart ([EMAIL PROTECTED]) wrote:
> > On Thursday, 16.08.2001 at 16:13 +0100, Dave Ewart wrote:
> > 
> > > Hope it's useful - it works for me, YMMV.
> > 
> > Ought to have mentioned - you'll need LaTex installed, plus dvips to
> > actually print the DVI file that is created from the TeX that the
> > script creates.  I have it working on a RH 6.2-derived system.
> > 
> 
> Would it work or could it be adapted to print .pl, .c, etc files from
> the commandline or within VIM? THAT would be useful as well.

Looks like the utility 'enscript' mentioned elsewhere in this thread
will do what you want ...

Dave.
-- 
Dave Ewart
[EMAIL PROTECTED]
Computing Manager
ICRF Cancer Epidemiology Unit, Oxford UK

 PGP signature


Re: mutt porting to Max OS-X ?

2001-08-17 Thread Aaron Schrab

At 12:42 +0530 17 Aug 2001, Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote:
>  So it's true that / is world writeable in OSX?  Ouch.

As has already been pointed out it's only group writeable.  I don't
think there's a sendmail config option to make it ignore world-writeable
directories.  And as long as the group contains only trusted people, I
don't see this as much of a problem.

>  A chmod or two (and avoiding the use of HFS - which might break compatiblity
>  with older Mac OSen) might be a great idea before compiling any *nix stuff -

Older versions of Mac OS only support HFS, so they won't work with UFS
at all.  And from what I hear some programs even have trouble running in
OS X on UFS.  As for the chmod part, I also hear that various system
updates will reset the permissions on / .

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 In wartime, truth is so precious she should always be attended
 by a bodyguard of lies.-- Winston Churchill



Re: mutt porting to Max OS-X ?

2001-08-17 Thread Suresh Ramasubramanian

Chris Wong  [17/08/01 00:08 -0700]:
> This might be slightly off topic, but is there any way to make mutt
> send  mail to an SMTP host directly like pine?  If not, how do I make
> sendmail use a particular smtp host?
 
 This has been answered quite often.  Mutt will always use an external smtp
 agent (even a lightweight submitter program like masqmail / nullmailer).

 If you want sendmail to use a smarthost check out
 

-suresh




Re: mutt porting to Max OS-X ?

2001-08-17 Thread Suresh Ramasubramanian

Aaron Schrab  [17/08/01 03:05 -0500]:
> As has already been pointed out it's only group writeable.  I don't

Bad enough :)

> Older versions of Mac OS only support HFS, so they won't work with UFS
> at all.  And from what I hear some programs even have trouble running in
> OS X on UFS.  As for the chmod part, I also hear that various system
> updates will reset the permissions on / .
 
 If you don't mind not being able to run old MacOS binaries, and are careful
 with your system updates and ...

 Urgh.  I guess I'll stick with whatever apple packages on OS X (or wait for
 OS XI or OS XII).

-suresh




can't see headers

2001-08-17 Thread Keith Robinson

The only headers I can see are From: and Subject:
  
Here is my .muttrc:
ignore *
unignore Subject: Date: To: From: CC:
 
 Here is my /usr/etc/Muttrc:
# default list of header fields to weed when
# displaying
#
#ignore "from " received content- mime-version status x-status  message-id
#ignore sender references return-path lines
  
When I toggle "h" there are blank
lines where the headers should be.
How do I make them
apear?

-- 
--
Keith Robinson
--



Re: Batch mailing?

2001-08-17 Thread alexander . skwar


On 17.08.2001 00:05:02 Carl B . Constantine wrote:

> Is it possible to do batch emailing in mutt? Here's the scenario. I want
> to send the same messsage to a bunch of different people, but they have
> to go as individual messages (one to each user). I can't put all the
> users in the to: due to privacy issues.

For the dirty hack, you can put them all in the Bcc: and add your own address in
the To:.  Or, much better yet: Setup a mailing list.

> individuals. I don't want to use the bcc: field in case of spam filters

Oh :)  Hmm, in this case, I'd use mutt as a better mailx, like so:

echo "Bye, bye baby :)" | mutt -s "Your fired" [EMAIL PROTECTED]

Combined with a for loop this will be quite easy:

for LUSER in [EMAIL PROTECTED] [EMAIL PROTECTED] do;
 echo "Bye, bye baby :)" | mutt -s "Your fired" $LUSER
done

Or, if you've got all the unfortunate peoples email address in a simple text
file, you might do:

cat luser-text-file | while read LUSER; do
 echo "Bye, bye baby :)" | mutt -s "Your fired" $LUSER
done







Re: can't see headers

2001-08-17 Thread Alexander Wasmuth

Keith Robinson <[EMAIL PROTECTED]>:

> The only headers I can see are From: and Subject:
>   
> Here is my .muttrc:
> ignore *
> unignore Subject: Date: To: From: CC:
[...]
> When I toggle "h" there are blank
> lines where the headers should be.
> How do I make them
> apear?

Perhaps a wrong color-setup in your .muttrc for specific headers, black
font on black background?

Alex



Re: UTILITY: Pretty print from console Mutt

2001-08-17 Thread homega

On Thu, Aug 16, 2001 at 11:20:57PM +0200, Thomas Roessler wrote:
> 
> That's mostly a matter of taste - I find enscript's fancy header 
> nicer than the one produced by a2ps...
> 
> (However, I have changed to a2ps for most things - it just has 
> pretty-printing for more programming languages included, and that's 
> better than nothing.)

There is a perl script, muttprint, at:
http://bwalle.exit.mytoday.de/muttprint/

It requires teTeX, psutils and textutils installed.
Anyone tried it?



Rethreading mail macros

2001-08-17 Thread Bruno Postle

On Tue 07-Aug-2001 at 01:42:47PM +0200, Ulf Erikson wrote:

> I wrote two macros about a year ago to let me ,Thread or ,Unthread
> mails at my will. You'll find the macros in the archives or attached.
> It would be nice to have this functionallity in Mutt though.

I agree, I've just rethreaded a mailbox using Ulf's macros. This box has
a couple of hundred messages in five or so threads - all important
business stuff that was previously completely incoherent.

This is Very Useful functionality, just the sort of magic I need.

BTW, I couldn't get the ,Thread macro to work because I have 'auto_tag'
set, here's a version that works for me:

macro index ,T "\
unset auto_tag\
formail -z -x Message-ID > /tmp/mutt-msgID\
set editor=\
'formail -i \"References:\
 \`cat /tmp/mutt-msgID\`\"\
 -R In-Reply-To Old-In-Reply-To\
 < %s\
 > /tmp/mutt-fix.$$;\
 mv /tmp/mutt-fix.$$ %s; sleep 1; touch %s'\
\
rm /tmp/mutt-msgID\
set editor=vim\
set auto_tag" \
 "insert the current message's \"Message-ID\" into the tagged messages'\
 \"References:\" headers"

Bruno
-- 
http://bruno.postle.net/



Re: can't see headers

2001-08-17 Thread Justin R. Miller

Thus spake Keith Robinson ([EMAIL PROTECTED]):

> Here is my .muttrc:
> ignore *
> unignore Subject: Date: To: From: CC:

Don't know if it makes a difference, but maybe you need to leave the
colons off.  Here's mine:  

# message headers
ignore *
unignore from to cc date subject reply-to organization x-mailer
user-agent
hdr_order from to cc date subject reply-to organization x-mailer
user-agent

See if that does anything.

-Justin
-- 
[ ] -- Justin R. Miller - [EMAIL PROTECTED] -- [ ]
[ ] -- see full headers for PGP key information -- [ ]
[ ] -- http://solidlinux.com/~justin/pubkey.asc -- [ ]

 PGP signature


Re: set subject on send-hook?

2001-08-17 Thread Fernan Aguero

,[ To [EMAIL PROTECTED] ([EMAIL PROTECTED]) dijo sobre "set subject 
on send-hook?":
|
| [...]
| 
| So here's my first question: is it possible to set the subject on a
| send-hook? I have some addresses for which I would like to prepend
| something like [info] or [urgent!] to the subject line and - obviously
| - I'd like to do it automagically. 
|
']

Replying to myself, and from the Mutt manual:

[...] Also note that my_hdr commands which modify recipient headers, or
the message's subject, don't have any effect on the current message
when executed from a send-hook. 

I suppose that this has to do with the fact that both the recipient
and the subject are set based on your own replies to the prompts.

Is this something that can be addressed in future versions of mutt?

Fernan


-- 

|  F e r n a n   A g u e r o  |  B i o i n f o r m a t i c s  |
|   [EMAIL PROTECTED]   |  genoma.unsam.edu.ar  |



Re: mutt porting to Max OS-X ?

2001-08-17 Thread Seraphim Larsen

On Thu Aug 16 16:25, Eugene Lee wrote:
> Mutt compiles on Mac OS X without much problems.  

I'm glad to hear it!


> If you're talking
> about a GUI version, Muttzilla might compile with XFree86 installed.
> If you're talking about a Cocoa or Carbon version, I dunno.

No, nothing special, just regular terminal-window Mutt.

Mutt would be my only real reason to upgrade to OS X... Maybe I'll
do it.


-Seraphim




folder-hook push tag-pattern ...

2001-08-17 Thread Nate Johnston

All,

I would like to roll any message in my inbox that is older than 2
weeks old to an archive folder.  I tried this pattern, but I got the
message "Tagging is not supported" when .muttrc loads.  

folder-hook INBOX   'push 
"~d>2w=archive"'

Am I going about this incorrectly?  Is this something that, because it
is tag-save instead of delete, I can only use a macro for?  If I use a
macro, can I break this into 2 parts as so:

folder-hook INBOX   'push *d"
macro *d  '~d>2w=archive'

Thanks!

--N.

--
Nate Johnston   [EMAIL PROTECTED]
GPG footprint: DEAF B505 0D84 1AEF A43F  91C5 71B3 D053 D0E1 3C05
"Nihil tam munitum quod non expugnari pecuna possit."  -Cicero

 PGP signature


Re: Batch mailing?

2001-08-17 Thread Michael Sanders

Here's an infinitesimal elaboration which takes addresses from
one file and the message text from a second. Someone else can
show how to use a multi-word subject.


#!/bin/sh
#
if [ $# -ne 3 ] ;
  then
  echo "Usage: `basename $0` AddressFile MessageFile Subject(one word)" ;
  exit 1;
fi
#
if [ ! -r $1 ]
then
echo `basename $0`: File $1 not found!
exit 2
fi
if [ ! -r $2 ]
then
echo `basename $0`: File $2 not found!
exit 3
fi
#
cat $1 | while read LUSER;
do cat $2 | mutt -s $3 $LUSER
done
exit 0

-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Re: List

2001-08-17 Thread David Turetsky

On Thu, Aug 16, 2001 at 10:28:07PM -0400, John Bacalle muttered:
--> * Louis LeBlanc <[EMAIL PROTECTED]> [20010802 16:01]:
--> > Not so busy lately.  You are correct.  Wanna talk about something
--> > else?  :)
--> 
--> I haven't received any list traffic since 8 August, have I been dropped
--> again? I was droppped in June due to a server problem on this end, but
--> this time I am not aware of any such problem.
--> 
--> Is it just me?


Could be! What kind of deodorant are you using?

-- 
David
-



Re: Batch mailing?

2001-08-17 Thread Vineet Kumar

* Michael Sanders ([EMAIL PROTECTED]) [010817 13:16]:
> Here's an infinitesimal elaboration which takes addresses from
> one file and the message text from a second. Someone else can
> show how to use a multi-word subject.
> 

I'm on it:

./batchmailer ./addr_list ./message "Here's a multi-line subject"

(where ./batchmailer should be replaced by the actual path to the
script)

> 
> #!/bin/sh
> #
> if [ $# -ne 3 ] ;
>   then
>   echo "Usage: `basename $0` AddressFile MessageFile Subject(one word)" ;
>   exit 1;
> fi
> #
> if [ ! -r $1 ]
> then
> echo `basename $0`: File $1 not found!
> exit 2
> fi
> if [ ! -r $2 ]
> then
> echo `basename $0`: File $2 not found!
> exit 3
> fi
> #
> cat $1 | while read LUSER;
> do cat $2 | mutt -s $3 $LUSER
> done
> exit 0
> 
> -- 
> (T.) Michael Sanders internet: [EMAIL PROTECTED]
> Physics Department   URL: http://www-personal.umich.edu/~sanders
> University of Michigan   phone: 734/936-0799
> Ann Arbor, MI 48109-1120 FAX: 734/764-6843
> 
> 

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
Qba\'g gernq ba zr\!  |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


Make it simple?

2001-08-17 Thread Adam Shostack

Hi,

I just upgraded to mutt 1.2.5, and its insisting on coloring
everything.  I managed to get close to what I want by commenting
HAVE_COLOR out of config.h, but now I still get things like
underlining quoted text, boldface in headers, etc.  I want plain
text.  Suggestions for how to get there?

Adam




default_hook and fcc-save-hook incompatible?

2001-08-17 Thread Jean-Sebastien Morisset
 msg.pgp


pgp

2001-08-17 Thread Will Yardley

does anyone else have problems with messages from this guy?  i don't
know a whole lot about pgp, but i might have accidentally hit the
command to add him -  i get 'pgp signature successfully vertified' when
receiving a message from him, but then get an error like this:

From: Jean-Sebastien Morisset <[EMAIL PROTECTED]>
To: Mutt Users <[EMAIL PROTECTED]>
Subject: default_hook and fcc-save-hook incompatible?
Date: Fri, 17 Aug 2001 19:19:24 -0400
User-Agent: Mutt/1.2.5i
Message-ID: <[EMAIL PROTECTED]>

[-- Error: unable to create PGP subprocess! --]
-END PGP SIGNATURE-

is there a way to undo whatever it was i did?

w

-- 
Sintax error in config file! (line 378)
aborted!



Re: pgp

2001-08-17 Thread David Rock

On Fri, Aug 17, 2001 at 05:46:29PM -0700, Will Yardley wrote:
> does anyone else have problems with messages from this guy?  i don't
> know a whole lot about pgp, but i might have accidentally hit the
> command to add him -  i get 'pgp signature successfully vertified' when
> receiving a message from him, but then get an error like this:

You should be able to remove his key from your keyring. I would
think that would fix it.

-- 
David Rock
[EMAIL PROTECTED]



Re: pgp

2001-08-17 Thread Will Yardley

David Rock wrote:
> You should be able to remove his key from your keyring. I would
> think that would fix it.

yes that's what i would think too.  but it doesn't appear to be there as
far as i can tell (again i'm not a huge pgp expert):

this is how i would view my keyring, right?

zugzug% pgp -kv
Pretty Good Privacy(tm) 2.6.3a - Public-key encryption for the masses.
(c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04
Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.
Distributed by the Massachusetts Institute of Technology.
Export of this software may be restricted by the U.S. government.
Current time: 2001/08/18 02:02 GMT

Key ring: '/home/william/.pgp/pubring.pgp'
Type Bits/KeyIDDate   User ID
pub   768/1CC84865 2001/07/17 William Yardley <[EMAIL PROTECTED]>
1 matching key found.

(i replaced my userid just in case someone's harvesting email addys from
the archives).

w

-- 
Sintax error in config file! (line 378)
aborted!



Re: mutt porting to Max OS-X ?

2001-08-17 Thread Eugene Lee

On Fri, Aug 17, 2001 at 10:17:04AM -0700, Seraphim Larsen wrote:
: On Thu Aug 16 16:25, Eugene Lee wrote:
: 
: > Mutt compiles on Mac OS X without much problems.  
: 
: I'm glad to hear it!

I've had mutt-1.2.5 compiled with ncurses-5.2 for quite some time now
(it's been fine since OS X PB).  I need to experiment a bit more with it
and fetchmail.  And I want to see if I can run both Mutt and Mail.app
that ships with OS X, and have both look at the same mailboxes.  Anyone
else tried this already?


-- 
Eugene Lee
[EMAIL PROTECTED]



recompile for updated ncurses?

2001-08-17 Thread Ken Weingold

I built mutt with ncurses 5.0, and just updated ncurses to 5.2.  Any
reason to recompile mutt?

Thanks.


-Ken