Re: mutt and GPG - adding new keys (slightly OT)

1999-10-06 Thread J Horacio MG

On Wed, Oct 06, 1999 at 10:17:42AM +0530, Abhay Ghaisas said:
> 
> Is there any way I can directly add a key that has been sent by
> somebody to me by email into the key-ring directly from mutt?

You must have the following settings:

set pgp_gpg=/usr/bin/gpg#where your GnuPG binary is located

set pgp_default_version=gpg #make GnuPG your default

set pgp_key_version=default #version for extracting keys and adding
#new keys

then the following key binding (all in one line)

macro  pager   \Ck ":set pipe_decode pgp_key_version=pgp2\n\e\ek:set
pgp_key_version=pgp5\n\e\ek:set pgp_key_version=gpg\n\e\ek:set
pgp_key_version=default nopipe_decode\n"\

(this is for the pager, I believe it works in the index menu without the
need of this).

And press K for key extraction.

> Also, is there any way I can get keys from key-servers from
> behind a fire-wall?

Don't know, but you can always mail a keyserver for key requests, vg:

 To: <[EMAIL PROTECTED]>
 Subject: get 

where  may be substituted by a key id (prefixed with 0x) or a user
ID part (email address...).
(the keyserver address in the example is a Spanish one, you should look
for one near to you)


-- 
Horacio LC_mutt=es_ES
mailto:[EMAIL PROTECTED]http://carlotha.ciberia.es/mutt/
~ Spain ~ Spanje ~ Spanien



"my_hdr From" vs "set use_from"

1999-10-06 Thread Marcelo Magallon

Hi,

I'm having a little bit of trouble here... I need to set the
like to use "use_from", too.

Basically what I need to do is:

* Use [EMAIL PROTECTED] with several addresses
  (mailing lists, friends, ...)

* Use my university's address otherwise

* When replying, use whatever address was used to send me
  mail... (that is what use_from does)

the first two ones are easy.  I can't seem to figure out the last one.


Marcelo



Re: Aliases

1999-10-06 Thread Thomas Roessler

On 1999-10-06 14:27:56 +1000, Brett White wrote:

> alias dad Allan White <[EMAIL PROTECTED]>
> alias mum Margaret White <[EMAIL PROTECTED]>

> If I now want to make an alias called family that mails both
> mum and dad how do I do this?  I have tried...
> alias family Family , mum

> that is, it doesn't expand the first alias out...anyone got
> any idea??

Try:

alias family mum, dad

or:

alias family Family: mum, dad \;






Re: Aliases

1999-10-06 Thread Ralf Hildebrandt

On Wed, Oct 06, 1999 at 02:27:56PM +1000, Brett White wrote:

> alias family Family , mum
Why not try:

alias family mum dad

-- 
Ralf Hildebrandt <[EMAIL PROTECTED]> www.stahl.bau.tu-bs.de/~hildeb
"Those who do not understand UNIX are condemned to reinvent it -- badly."
 -- Henry Spencer


 PGP signature


Re: problems with attachments

1999-10-06 Thread Martin Keseg - Sun Slovakia - SE

Raju K V ([EMAIL PROTECTED]) wrote :

> hi,
> 
> I am having some problem with attachments.
> 
> 1. When I forward a mail to somebody, the attachments in the forwarded
> mail are not sent. How do I enable forwarding of attachments?

:set mime_forward

-- 
Keso
  be smart,
   don't be retard!



Re: "my_hdr From" vs "set use_from"

1999-10-06 Thread David DeSimone

Marcelo Magallon <[EMAIL PROTECTED]> wrote:
>
> * Use [EMAIL PROTECTED] with several addresses
>   (mailing lists, friends, ...)
> 
> * Use my university's address otherwise

Sounds like what everyone wants to do these days...

> * When replying, use whatever address was used to send me
>   mail... (that is what use_from does)

The use_from variable does NOT do that.  The variable you're looking for
is called reverse_name.

In order for this variable to work properly, though, I believe your
$alternates regexp must match any addresses that could be sent to you. 
This way Mutt will know what addresses to recognize and include in the
reverse_name behavior.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



'set from' vs. 'my_hdr From:' ?

1999-10-06 Thread David DeSimone

All of this talk about setting From: headers in send-hooks got me
thinking about something...

Which of these is the better way to set the address placed in the From:
header:

set from="Fuzzy Fox <[EMAIL PROTECTED]>"

or

my_hdr From: Fuzzy Fox <[EMAIL PROTECTED]>


>From what I've heard, the main problem with the my_hdr approach is that
it doesn't work correctly with reverse_name.  That is, in order for
reverse_name to work, you can't have overridden the From: header with
your own.

But, the "from" variable is documented as:

When set, this variable contains a default from address.  It
can be overridden using my_hdr (including from send-hooks) and

... and what??

It looks to me that 'set from' is a solution that will work with
reverse_name.  What do you think?

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: 'set from' vs. 'my_hdr From:' ?

1999-10-06 Thread Thomas Roessler

On 1999-10-06 11:57:42 -0500, David DeSimone wrote:

> But, the "from" variable is documented as:

> When set, this variable contains a default from address.  It
> can be overridden using my_hdr (including from send-hooks) and

> ... and what??

... and reverse_name.  I've fixed this in the source.

> It looks to me that 'set from' is a solution that will work with
> reverse_name.  What do you think?

I introduced it when I tried to do precisely this.




Re: please help

1999-10-06 Thread Jeff Taylor

Sasha,
  What is your sendmail variable set to?  The default works for me and
I am using qmail's sendmail wrapper/clone.

Jeff


Quoting Jeff Taylor <[EMAIL PROTECTED]>:
> Hello,
> 
> I have read the online help manual all the way through, and can not figure
> this problem out.  Just wondering if you can shed some light on this error
> message:
> 
> Every time I try to send something, I get:  "Error sending message child
> exited 127 ()."
> 
> 1. I use sendmail all the time, it's configured properly and I know it works
> for sure.
> 2.  Mutt binary is located in my home directory/mutt.
> 3.  The muttrc file points to the correct sendmail binary, and is located in
> the mutt directory.
> 
> Any ideas?  If you can't help, could you point me in the right direction?
> 
> Thanks a lot in advance,
> 
> -Sasha
> 
> 



Re: please help

1999-10-06 Thread Jeremy Blosser

Sasha Borodin [[EMAIL PROTECTED]] wrote:
> I have read the online help manual all the way through, and can not figure
> this problem out.  Just wondering if you can shed some light on this error
> message:
> 
> Every time I try to send something, I get:  "Error sending message child
> exited 127 ()."
> 
> 1. I use sendmail all the time, it's configured properly and I know it works
> for sure.
> 2.  Mutt binary is located in my home directory/mutt.
> 3.  The muttrc file points to the correct sendmail binary, and is located in
> the mutt directory.

If you're using an older sendmail, be aware that mutt appends '--' to the
end of your given 'sendmail' var before giving the message, to mark the end
of options in case an address begins with a '-'.  Older sendmails can't
handle this.  The fix is to edit the source to remove the one line that
causes this, search the mailing lists archives for details.

If that isn't it, try grabbing the exact data sent to sendmail by Mutt (use
echo as the sendmail command) and play around with it and sendmail to see
where sendmail is having problems.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Re: mutt and GPG - adding new keys (slightly OT)

1999-10-06 Thread Walter Hofmann

On Wed, 06 Oct 1999, Abhay Ghaisas wrote:

> Also, is there any way I can get keys from key-servers from
> behind a fire-wall?

GPG doesn't support getting keys via a http proxy, but I wrote a patch
for it; it is attached. 

Apply the patch tp gpg-1.0.0 and set http_proxy, eg.

export http_proxy=http://proxy:80/

gpg will then forward requests via that proxy.


I have two wishes: If you (or anyone else) tries this patch, could you
let me know if it worked for you? (I only tried it on my own computer.)
Does anyone know an email address where I can submit this patch so that
the gpg people take a look at it?

Walter


diff -ur gnupg-1.0.0/util/http.c gnupg-1.0.0-proxy/util/http.c
--- gnupg-1.0.0/util/http.c Sun May 23 13:30:06 1999
+++ gnupg-1.0.0-proxy/util/http.c   Thu Sep  9 19:20:48 1999
@@ -128,7 +128,6 @@
return G10ERR_GENERAL;
 iobuf_close( hd->fp_write );
 hd->fp_write = NULL;
-shutdown( hd->sock, 1 );
 hd->in_data = 0;
 
 hd->fp_read = iobuf_fdopen( hd->sock , "r" );
@@ -139,6 +138,8 @@
 if( !rc && ret_status )
*ret_status = hd->status_code;
 
+shutdown( hd->sock, 1 );
+
 return rc;
 }
 
@@ -427,22 +428,55 @@
 byte *request, *p;
 ushort port;
 int rc;
+const char *proxy_url;
+PARSED_URI proxy_uri;
+int use_proxy = 0;
+const byte *proxy_server;
+ushort proxy_port;
 
 server = *hd->uri->host? hd->uri->host : "localhost";
 port   = hd->uri->port?  hd->uri->port : 80;
 
-hd->sock = connect_server( server, port );
+proxy_url = getenv( "http_proxy" );
+if (proxy_url) {
+rc = parse_uri( &proxy_uri, proxy_url );
+if (rc) {
+log_error("cannot parse $http_proxy\n");
+release_parsed_uri( proxy_uri );
+}
+else {
+use_proxy = 1;
+proxy_server = *proxy_uri->host? proxy_uri->host : "localhost";
+proxy_port   = proxy_uri->port?  proxy_uri->port : 80;
+log_info("requesting key via proxy %s:%d\n", proxy_server, proxy_port);
+}
+}  
+   
+if (use_proxy)
+hd->sock = connect_server( proxy_server, proxy_port );
+else
+hd->sock = connect_server( server, port );
+
 if( hd->sock == -1 )
return G10ERR_NETWORK;
 
 p = build_rel_path( hd->uri );
-request = m_alloc( strlen(p) + 20 );
-sprintf( request, "%s %s%s HTTP/1.0\r\n",
- hd->req_type == HTTP_REQ_GET ? "GET" :
- hd->req_type == HTTP_REQ_HEAD? "HEAD":
- hd->req_type == HTTP_REQ_POST? "POST": "OOPS",
- *p == '/'? "":"/", p );
+request = m_alloc( strlen(p) + strlen(server) + 40 );
+if (use_proxy)
+sprintf( request, "%s http://%s:%d%s%s HTTP/1.0\r\n\r",
+  hd->req_type == HTTP_REQ_GET ? "GET" :
+  hd->req_type == HTTP_REQ_HEAD? "HEAD":
+  hd->req_type == HTTP_REQ_POST? "POST": "OOPS",
+server, port, *p == '/'? "":"/", p );
+else
+sprintf( request, "%s %s%s HTTP/1.0\r\n\r",
+  hd->req_type == HTTP_REQ_GET ? "GET" :
+  hd->req_type == HTTP_REQ_HEAD? "HEAD":
+  hd->req_type == HTTP_REQ_POST? "POST": "OOPS",
+*p == '/'? "":"/", p );
 m_free(p);
+if (use_proxy)
+release_parsed_uri( proxy_uri );
 
 rc = write_server( hd->sock, request, strlen(request) );
 m_free( request );

 PGP signature


macro question

1999-10-06 Thread Dennis Moore

i'm need a macro to do the following:
macro index  \cE "TMail Delivery\n;d\$y"

in other words, delete all the email with 'Mail Delivery'
this works, except if there are no matching messages, the ';' will fail and
the 'd' will apply to the current message which then gets deleted.

does anyone know of a better way to do this in mutt?

-- 
pity this busy monster, manunkind, |Dennis  Moore|   Sarah
not. Progress is a comfortable disease.| [EMAIL PROTECTED] |   McLachlan
   -e.e. cummings: One Times One   |  archon on the irc  | "Black"
If I cried me a river of all my confessions would I drown in my shallow regret?



Re: macro question

1999-10-06 Thread Mikko Hänninen

Dennis Moore <[EMAIL PROTECTED]> wrote on Wed, 06 Oct 1999:
> i'm need a macro to do the following:
> macro index  \cE "TMail Delivery\n;d\$y"
> 
> in other words, delete all the email with 'Mail Delivery'

> does anyone know of a better way to do this in mutt?

Is there some specific reason you want to have the messages tagged?
If not, I recommend you go for D instead of T, which is "delete
messages matching pattern..."  And if there are no such messages,
nothing happens.

So the macro would be something like this:

  macro index  \cE "DMail Delivery\n\$y"


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Editing is a rewording activity.



Re: macro question

1999-10-06 Thread Dennis Moore

On Thu, Oct 07, 1999 at 12:31:11AM +0300, Mikko Hänninen wrote:
> Is there some specific reason you want to have the messages tagged?
> If not, I recommend you go for D instead of T, which is "delete
> messages matching pattern..."  And if there are no such messages,
> nothing happens.
> 
> So the macro would be something like this:
> 
>   macro index  \cE "DMail Delivery\n\$y"

nope, no reason to tag.. thanks, that works perfectly (=

-- 
pity this busy monster, manunkind, |Dennis  Moore|   Sarah
not. Progress is a comfortable disease.| [EMAIL PROTECTED] |   McLachlan
   -e.e. cummings: One Times One   |  archon on the irc  | "Black"
If I cried me a river of all my confessions would I drown in my shallow regret?



Re: mutt segfaults + gdb output

1999-10-06 Thread rutger

On Tue, Oct 05, 1999 at 09:54:55PM +0200, Thomas Roessler wrote:
> The behaviour you observe means most probably that we have some rare
> problem when reading user headers from the edited file.  Since you
> seem to be able to reproduce this problem, could you please give us
> a mail message which reproduces this when you try to send it, and
> (possibly minimized) my_hdr and lists settings?


Ok, I tried today with several combinations. Removing .muttrc (with my
my_hdr settings) did not change a thing, just like removing _any_
header. However, inserting the Message-Id: field _did_ cure the
problem: I could reply again! So, somewhere besides the previous
patch, mutt is dependant on having a Message-Id: field. I don't know how
to find this place though...


> > My mutt 1.0pre2i on Solaris segfaults after pressing 'y' to send a
> > reply to a mail. The mail to which I'm replying might miss some
> > required headers.
> > 
> > gdb gives:
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0xef6ce0a4 in strchr ()
> > (gdb) up
> > #1  0x88af4 in encode_headers (h=0xede68) at sendlib.c:1375
> > 1375if ((p = strchr (h->data, ':')))
> > (gdb) print h->data
> > $1 = 0x0
> > (gdb) print h
> > $2 = (LIST *) 0xede68
> > (gdb) print h->next
> > $3 = (struct list_t *) 0xede78
> > (gdb) print *(h->next)
> > $4 = {
> >   data = 0xf1220 "Organization: Philips", next = 0xede88}
> > (gdb) print *h
> > $5 = {data = 0x0, next = 0xede78}
> > (gdb) 
> > 

-- 
Rutger Nijlunsing, rutger @ null.net - Linux! --
Don't BiCapitalize without extremely good reason: it messes up the natural
human-eyeball search order -- Your Friendly Neighborhood Archive Maintainers
+31-40 --- ^X^S^X^Cs



Re: segmentation fault

1999-10-06 Thread Edmund GRIMLEY EVANS

David DeSimone:

> On Mon Oct 04 1999, Rejo Zenger wrote:
> > 
> > Now Mutt gives me "Sorting mailbox...Segmentation fault" error.
> 
> Mutt had/has a known problem where it will dump core if it encounters a
> message which has no Message-ID header.  Is there such a message in your
> mailbox?

That was a problem in replying to a message with no Message-ID (see
send.c), not when "Sorting mailbox".



Forward with full headers?

1999-10-06 Thread Russell Van Tassell


Ok... I'm probably just missing something simple, here... but how do you
forward a message to someone and include FULL headers (such as you would
do for forwarding spam messages to a service provider)?

Russell

-- 
Russell M. Van Tassell
[EMAIL PROTECTED]



Re: Forward with full headers?

1999-10-06 Thread Jeremy Blosser

Russell Van Tassell [[EMAIL PROTECTED]] wrote:
> 
> Ok... I'm probably just missing something simple, here... but how do you
> forward a message to someone and include FULL headers (such as you would
> do for forwarding spam messages to a service provider)?

unset forward_weed

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Forwarding + attatchments

1999-10-06 Thread Brett White

Is there a way to configure mutt (or a quick set of key commands)
to allow you to forward not only the mail message but also the
attatchments with it.  When I try and do this just by pressing
'f' it only sends on the mail message leaving me to have to send
the attatchments separately.  I have checked the help and their
doesn't seem to be anything there to facilitate this.

Thanks,
-- 
Brett White <[EMAIL PROTECTED]>
Duty Programmer, CS130 tutor, 4thYr D/Degree SSCC & CQAT rep.

"Like the naked leads the blind.  I know I'm selfish, I'm unkind."
-Placebo 'Every You, Every Me'



Re: installing mutt without root privilege

1999-10-06 Thread Don Blaheta

Quoth Andreas Kahari:
> In <[EMAIL PROTECTED]> Mikko Hänninen writes:
> > But you probably didn't have a directory called doc under ./subdir, did
> > you?  In that case I think that configure falls back into the default,
> > /usr/local/doc, regardless of whether that exists or not.

I didn't, but creating it didn't affect things.

> I guess the  in "--prefix=" has to be absolute, not
> relative. I used "--prefix=/home/andreas/stow", and docs and bins and
> everything got installed under my "stow" directory in my home
> directory. No problems.

That didn't help either.  make install still wants to be installing
stuff to /usr/local/doc/mutt .

-- 
-=-Don [EMAIL PROTECTED]=-=--=-
Few women admit their age.  Few men act it.



Re: Forward with full headers?

1999-10-06 Thread Shao Zhang

You will need this variable:

### forward_weed
### Type: boolean
### Default: set 
### When set, message headers will be weeded when forwarding a decoded version of
### the message. 
unset forward_weed

Russell Van Tassell [[EMAIL PROTECTED]] wrote:
> 
> Ok... I'm probably just missing something simple, here... but how do you
> forward a message to someone and include FULL headers (such as you would
> do for forwarding spam messages to a service provider)?
> 
> Russell
> 
> -- 
> Russell M. Van Tassell
> [EMAIL PROTECTED]
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: problems with attachments

1999-10-06 Thread Shao Zhang

Raju K V [[EMAIL PROTECTED]] wrote:
> hi,
> 
> I am having some problem with attachments.
> 
> 1. When I forward a mail to somebody, the attachments in the forwarded
> mail are not sent. How do I enable forwarding of attachments?

I think you need to set these to variables:

### mime_forward
### Type: quadoption
### Default: unset
### When set, the message you are forwarding will be attached as a separate 
### MIME part instead of included in the main body of the message. This is 
### useful for forwarding MIME messages so the receiver can properly view
### the message as it was delivered to you. If you like to switch between
### MIME and not MIME from mail to mail, set this variable to ask-no or
### ask-yes.
### Also see forward_decode and mime_forward_decode.
set mime_forward=yes

### mime_forward_decode
### Type: boolean
### Default: unset
### Controls the decoding of complex MIME messages into text/plain when
### forwarding a message while mime_forward is set. Otherwise forward_decode
### is used instead.
unset mime_forward_decode

> 
> 2. my mime.types file contains an entry
> image/jpeg  jpe jpeg jpg JPEG
> 
> and my .mailcap file contains 
> image/jpeg; showpicture -viewer xv %s; test=test -n "$DISPLAY"

Hmm, not quite sure. Try this:

### mailcap_path
### Type: string
### Default: $MAILCAPS or
### 
~/.mailcap:/usr/local/share/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
### This variable specifies which files to consult when attempting to
### display MIME bodies not directly supported by Mutt.
set mailcap_path="~/.mailcap"

> 
> even then when I view an jpeg attachment, I get an error saying "Mime
> type not defined". How do I enable this?
> 
> Thanks in advance,
> Raju
> 
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: Forwarding + attatchments

1999-10-06 Thread Shao Zhang

ok, let's try this as I learned from someone else on this list:

macro index f ":set mime_forward=no\n" # forward without attachments
macro index F ":set mime_forward=yes\n:set mime_forward_decode=no\n" 
# forward with attachments
macro pager f ":set mime_forward=no\n" # forward without attachments
macro pager F ":set mime_forward=yes\n:set mime_forward_decode=no\n" 
# forward with attachments

Brett White [[EMAIL PROTECTED]] wrote:
> Is there a way to configure mutt (or a quick set of key commands)
> to allow you to forward not only the mail message but also the
> attatchments with it.  When I try and do this just by pressing
> 'f' it only sends on the mail message leaving me to have to send
> the attatchments separately.  I have checked the help and their
> doesn't seem to be anything there to facilitate this.
> 
> Thanks,
> -- 
> Brett White <[EMAIL PROTECTED]>
> Duty Programmer, CS130 tutor, 4thYr D/Degree SSCC & CQAT rep.
> 
> "Like the naked leads the blind.  I know I'm selfish, I'm unkind."
>   -Placebo 'Every You, Every Me'
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: installing mutt without root privilege

1999-10-06 Thread Don Blaheta

Quoth David DeSimone:
> Don Blaheta <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I've been having similar problems (I maintain the local copy of
> > mutt, but don't have root; I need to use a special program "cscp" to
> > copy files into the public hierarchy), so I configured with
> > "--prefix=./subdir".
> 
> The problem you'll run into here is that Mutt gets built in a directory,
> then when it's moved to the installed directory by your 'cscp' program,
> it will continue looking for support files from the origina directory
> where you configured it.

Aha.  Should've realised that.  *d'oh*

> I think what you'll have to do is configure mutt with --prefix set to
> the actual path you will eventually install to.  Then, you'll have to
> recreate the actions that 'make install' would have performed ('make -n
> install' would probably be helpful here), using your 'cscp' program.

Ok.  So I configured it how I wanted it, then I made all the little
incantations that make install asked for, but I *still* can't get
foreign language support working (let's not even get started on
alternate charsets).  Correct me if I'm wrong, but I should be able to
type

  setenv LANG fr
  ./mutt

and have mutt give most/all messages to me in French, yes?  I guess my
question just boils down to, is there a list somewhere of

  * what files mutt needs
  * where it needs them
  * how it finds them  <-- this seems to be the tricky one

For example, I have installed all the .mo files in
/cs/share/mutt/locale/$lang/LC_MESSAGES/ ; and I recompiled the intl
code with -DLOCALEDIR="/cs/share/locale", and made sure that mutt was
linked with that version of the intl library... what more do I need to
do?

-- 
-=-Don [EMAIL PROTECTED]=-=--=-
Warp 7 -- It's a law we can live with.



Re: how to set up alternate SMTP server

1999-10-06 Thread Jeremy Blosser

Raju K V [[EMAIL PROTECTED]] wrote:
> Suppose my machine does not have smtp capabilities? ie it does not have
> sendmail or any other MTA, can I use another machine as smtp host? I am
> looking for something equivalent to pine's smtp-server option.

When you have pine doing this, your machine /does/ have SMTP capabilities
and an MTA installed - Pine.  Pine speaks SMTP to the remote host you
specify to get the message there.

Mutt doesn't believe in wasting developers' time and bloating the code base
this way.  There are plenty of real MTAs out there, get one of them.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


how to set up alternate SMTP server

1999-10-06 Thread Raju K V

hi,

Suppose my machine does not have smtp capabilities? ie it does not have
sendmail or any other MTA, can I use another machine as smtp host? I am
looking for something equivalent to pine's smtp-server option.

Thanks in advance,
Raju



Re: how to set up alternate SMTP server

1999-10-06 Thread Frederic L . W . Meunier

I'm sorry, but I don't think implementing this would be a bad idea. I
have to agree that Pine's capabilities to make use of a remote MTA
let new users (newbies...) choose this MUA and not Mutt, which is very
complex, don't have a way to configure all the stuff using menus, etc.
Now you need to choose if you want Mutt being used by people that
don't want to have an MTA installed or configured (very hard for some
of us), or let it to the experienced users only. Ocasionally you see
messages with:
1- I can send mail with Pine but it doesn't work with Mutt
2- How to use a remote host to send my messages?

I have seen a GUI MUA that let you choose if you want to use the
sendmail binary directly or a host, but it was in an alpha stage and
dont't seem to be maintained anymore.

Pine isn't the answer, but there are some good options not present in
Mutt. BTW, you would need how many lines of code to implement such
feature?

On Wed, Oct 06, 1999 at 11:51:55PM -0500, Jeremy Blosser wrote:
> Raju K V [[EMAIL PROTECTED]] wrote:
> > Suppose my machine does not have smtp capabilities? ie it does not have
> > sendmail or any other MTA, can I use another machine as smtp host? I am
> > looking for something equivalent to pine's smtp-server option.
> 
> When you have pine doing this, your machine /does/ have SMTP capabilities
> and an MTA installed - Pine.  Pine speaks SMTP to the remote host you
> specify to get the message there.
> 
> Mutt doesn't believe in wasting developers' time and bloating the code base
> this way.  There are plenty of real MTAs out there, get one of them.

-- 
Frederic L. W. Meunier | fredlwm@{olympiquedemarseille.org,urbi.com.br}
IRC: _19751127!date | ICQ: 49149663 | Tel: +55-21-620-7173 (Brasil)
AppWatch staff - http://appwatch.com/ - {fredlwm,staff}@appwatch.com
+-Open Source with quality-+



Re: how to set up alternate SMTP server

1999-10-06 Thread Shao Zhang

I think this is a kind of trade off. I personally support the mutt
developers' decision on what to implement.

There are also a lot of people who want to how to use mutt to rotate the
send-mail folder monthly just like pine. And I guess the standard answer
will be using a shell script and run it in crontab.

What you are saying is also right, and pine does have the biggest user
group among all the MUA's. But when it comes to what is the best MUA, I
would say it is definitely mutt. Try open a mail folder with 5000
messages in mutt and pine. You will see the difference and the goal mutt 
developers trying to achieve.

Hope you will stay with mutt :)

Frederic L . W . Meunier [[EMAIL PROTECTED]] wrote:
> I'm sorry, but I don't think implementing this would be a bad idea. I
> have to agree that Pine's capabilities to make use of a remote MTA
> let new users (newbies...) choose this MUA and not Mutt, which is very
> complex, don't have a way to configure all the stuff using menus, etc.
> Now you need to choose if you want Mutt being used by people that
> don't want to have an MTA installed or configured (very hard for some
> of us), or let it to the experienced users only. Ocasionally you see
> messages with:
> 1- I can send mail with Pine but it doesn't work with Mutt
> 2- How to use a remote host to send my messages?
> 
> I have seen a GUI MUA that let you choose if you want to use the
> sendmail binary directly or a host, but it was in an alpha stage and
> dont't seem to be maintained anymore.
> 
> Pine isn't the answer, but there are some good options not present in
> Mutt. BTW, you would need how many lines of code to implement such
> feature?
> 
> On Wed, Oct 06, 1999 at 11:51:55PM -0500, Jeremy Blosser wrote:
> > Raju K V [[EMAIL PROTECTED]] wrote:
> > > Suppose my machine does not have smtp capabilities? ie it does not have
> > > sendmail or any other MTA, can I use another machine as smtp host? I am
> > > looking for something equivalent to pine's smtp-server option.
> > 
> > When you have pine doing this, your machine /does/ have SMTP capabilities
> > and an MTA installed - Pine.  Pine speaks SMTP to the remote host you
> > specify to get the message there.
> > 
> > Mutt doesn't believe in wasting developers' time and bloating the code base
> > this way.  There are plenty of real MTAs out there, get one of them.
> 
> -- 
> Frederic L. W. Meunier | fredlwm@{olympiquedemarseille.org,urbi.com.br}
> IRC: _19751127!date | ICQ: 49149663 | Tel: +55-21-620-7173 (Brasil)
> AppWatch staff - http://appwatch.com/ - {fredlwm,staff}@appwatch.com
> +-Open Source with quality-+
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: how to set up alternate SMTP server

1999-10-06 Thread Jeremy Blosser

Frederic L . W . Meunier [[EMAIL PROTECTED]] wrote:
> On Wed, Oct 06, 1999 at 11:51:55PM -0500, Jeremy Blosser wrote:
> > Raju K V [[EMAIL PROTECTED]] wrote:
> > > Suppose my machine does not have smtp capabilities? ie it does not have
> > > sendmail or any other MTA, can I use another machine as smtp host? I am
> > > looking for something equivalent to pine's smtp-server option.
> > 
> > When you have pine doing this, your machine /does/ have SMTP capabilities
> > and an MTA installed - Pine.  Pine speaks SMTP to the remote host you
> > specify to get the message there.
> > 
> > Mutt doesn't believe in wasting developers' time and bloating the code base
> > this way.  There are plenty of real MTAs out there, get one of them.
> 
> I'm sorry, but I don't think implementing this would be a bad idea. I
> have to agree that Pine's capabilities to make use of a remote MTA

This is simply a fallacy.  There is no such thing as a remote MTA, at least
not in the way you mean.  Pine just includes the MTA as part of itself.
But it is still there.

> let new users (newbies...) choose this MUA and not Mutt, which is very
> complex, don't have a way to configure all the stuff using menus, etc.
> Now you need to choose if you want Mutt being used by people that
> don't want to have an MTA installed or configured (very hard for some
> of us), or let it to the experienced users only.

I think this decision was made some time ago.  Arguably it was made before
Mutt existed, since Mutt is just keeping with standard Unix philosophies --
the things that made Unix Unix.

Getting and installing a minimal MTA is no harder than installing Mutt.

And once again, if your machine can send mail to the outside, IT HAS AN MTA
INSTALLED.  We aren't yet at the stage where one machine can just wish mail
to be on another machine for delivery -- and even if we were, one could
argue that mail transport was still happening.

> I have seen a GUI MUA that let you choose if you want to use the
> sendmail binary directly or a host, but it was in an alpha stage and
> dont't seem to be maintained anymore.

Point being?  There are lots of GUI mailers that do this.  That doesn't
make it a good idea.

> Pine isn't the answer, but there are some good options not present in
> Mutt. BTW, you would need how many lines of code to implement such
> feature?

This isn't really the point, but sSMTP has around 1500 LOC, and it's an MTA
as minimal as they come.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Re: how to set up alternate SMTP server

1999-10-06 Thread Tim Pierce

On Wed, Oct 06, 1999 at 11:51:55PM -0500, Jeremy Blosser wrote:
> Raju K V [[EMAIL PROTECTED]] wrote:
> > Suppose my machine does not have smtp capabilities? ie it does not have
> > sendmail or any other MTA, can I use another machine as smtp host? I am
> > looking for something equivalent to pine's smtp-server option.
> 
> When you have pine doing this, your machine /does/ have SMTP capabilities
> and an MTA installed - Pine.  Pine speaks SMTP to the remote host you
> specify to get the message there.
> 
> Mutt doesn't believe in wasting developers' time and bloating the code base
> this way.  There are plenty of real MTAs out there, get one of them.

It doesn't seem to me that a simple SMTP delivery-only client should
have to involve a great deal of code, and it could certainly be made a
compile-time option.

I see at least two significant advantages to having SMTP delivery
support built directly into the client:

  * Many ISPs, as a spam prevention measure, require all mail delivery
to go through their smarthost.  Configuring an MTA to use a
smarthost is not always trivial.

  * More generally, configuring an MTA when you are not thoroughly
familiar with it can introduce security risks.  I don't think it's
a feature if Mutt's design promotes more machines being set up as,
say, open relays, even indirectly.

-- 
Regards,
Tim Pierce
RootsWeb.com lead system admonsterator
and Chief Hacking Officer



Re: how to set up alternate SMTP server

1999-10-06 Thread Frederic L . W . Meunier

Heh, I love Mutt, and will stay with it. Pine is user friendly but
bloated, not developed so much (hmm, no CVS, snapshots, beta versions,
latest release from january...), no COLORS (argh) etc. I'm using Exim
as the MTA, so I'm really not concerned, but some people seem to have
problems to get it working like Pine, because it's definitely not user
friendly. It's very hard to see a newbie editing a config file, no? Or
editing a sendmail.cf just to use a program. But if it's just to let
Mutt to be only a MUA, leave it as it is (and, please, don't remove the
pop3 stuff :P).

Ah, yes, I never liked this send-mail folder rotation.

On Thu, Oct 07, 1999 at 04:31:34PM +1000, Shao Zhang wrote:
> I think this is a kind of trade off. I personally support the mutt
> developers' decision on what to implement.
> 
> There are also a lot of people who want to how to use mutt to rotate the
> send-mail folder monthly just like pine. And I guess the standard answer
> will be using a shell script and run it in crontab.
> 
> What you are saying is also right, and pine does have the biggest user
> group among all the MUA's. But when it comes to what is the best MUA, I
> would say it is definitely mutt. Try open a mail folder with 5000
> messages in mutt and pine. You will see the difference and the goal mutt 
> developers trying to achieve.
> 
> Hope you will stay with mutt :)

-- 
Frederic L. W. Meunier | fredlwm@{olympiquedemarseille.org,urbi.com.br}
IRC: _19751127!date | ICQ: 49149663 | Tel: +55-21-620-7173 (Brasil)
AppWatch staff - http://appwatch.com/ - {fredlwm,staff}@appwatch.com
+-Open Source with quality-+



Re: how to set up alternate SMTP server

1999-10-06 Thread Jeremy Blosser

Tim Pierce [[EMAIL PROTECTED]] wrote:
> It doesn't seem to me that a simple SMTP delivery-only client should
> have to involve a great deal of code, and it could certainly be made a
> compile-time option.
> 
> I see at least two significant advantages to having SMTP delivery
> support built directly into the client:

AFAIK both things you mention can be dealt with using a minimal MTA that
just acts as a forwarder, such as sSMTP.  All you really have to do to
configure it is set the remote mailhub's hostname.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Charsets

1999-10-06 Thread Timur Mustakimov




I have the following problem with mutt. It 
doesn't show cyrillic chars, although my terminal, which in mutt is running 
shows them very nice. Mutt change all of them to '?'. What do i need to set ? 
Charset is koi-8r.


looking-up replies

1999-10-06 Thread Dirk Huebner

Hi all,

is there a way to look for what I replied when I read older mails? Of
course it is possible to switch to sent-mail and look for the right
mail, but this is not really comfortable.  I wonder if there is a
function/key which opens the sent-mail-folder and shows what I replied.
If this is not implemented it would be a really great improvement.

Greetings
Dirk



Re: how to set up alternate SMTP server

1999-10-06 Thread Thomas Roessler

On 1999-10-07 03:46:59 -0200, Frederic L . W . Meunier wrote:

> I'm sorry, but I don't think implementing this would be a bad idea.

We don't believe it's necessary.

The Debian GNU/Linux folks have a nice program called ssmtp, which
gives you a simple SMTP client which imitates sendmail's command
line.  Note that you don't have to wade through binary packages,
just go for

ftp://ftp.debian.org/debian/dists/stable/main/source/mail/ssmtp*

or something like this.  You get the idea.

Installation of this smtp client is quite simple, as is compiling it.

In addition, you can _very_ easily configure postfix for a simple
client site.




[FIX] mutt segfaults + gdb output

1999-10-06 Thread Thomas Roessler

On 1999-10-07 00:04:25 +0200, [EMAIL PROTECTED] wrote:

> Ok, I tried today with several combinations. Removing .muttrc (with
> my my_hdr settings) did not change a thing, just like removing
> _any_ header. However, inserting the Message-Id: field _did_ cure
> the problem: I could reply again! So, somewhere besides the
> previous patch, mutt is dependant on having a Message-Id: field. I
> don't know how to find this place though...

Ah, ok, please try this patch instead of my previous one.

% diff -u send.c.orig send.c
--- send.c.orig Thu Oct  7 09:11:17 1999
+++ send.c  Thu Oct  7 09:11:45 1999
@@ -566,20 +566,23 @@
   env->subject = safe_strdup ("Re: your mail");
 
 /* add the In-Reply-To field */
-snprintf (buffer, sizeof (buffer), "In-Reply-To: %s", 
- cur->env->message_id);
-
-tmp = env->userhdrs;
-while (tmp && tmp->next)
-  tmp = tmp->next;
-if (tmp)
+if (cur->env->message_id)
 {
-  tmp->next = mutt_new_list ();
-  tmp = tmp->next;
+  snprintf (buffer, sizeof (buffer), "In-Reply-To: %s", 
+   cur->env->message_id);
+  
+  tmp = env->userhdrs;
+  while (tmp && tmp->next)
+   tmp = tmp->next;
+  if (tmp)
+  {
+   tmp->next = mutt_new_list ();
+   tmp = tmp->next;
+  }
+  else
+   tmp = env->userhdrs = mutt_new_list ();
+  tmp->data = safe_strdup (buffer);
 }
-else
-  tmp = env->userhdrs = mutt_new_list ();
-tmp->data = safe_strdup (buffer);
 
 if(tag)
 {