looking-up replies

1999-10-07 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-07 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-07 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)
 {





Re: Charsets

1999-10-07 Thread Edmund GRIMLEY EVANS

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.

Check that you really did install the charsets ("make install" should
do it but some people try to install by hand instead) and tell mutt:

set charset="koi8-r"



Re: installing mutt without root privilege

1999-10-07 Thread Edmund GRIMLEY EVANS

  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.

Telling a package's installation script to install stuff in a location
different from where it will eventually be installed is a standard
problem: all Debian packages are built this way, I think. So you
almost certainly don't have to study the output of make -n install and
do your own program. In the case of mutt, I think what you have to do
is something like:

$ ./configure --prefix=/final/location
$ make
$ make DESTDIR=/temporary/location install

This is from glancing at the Makefile; I haven't tried it. If it
doesn't work you could look at Debian's source package diff; the same
problem will have been solved there.

By the way, can anyone say if this use of DESTDIR is reasonably
standard? It would be nice of all/most packages had the same way of
doing this ...

Edmund



Re: looking-up replies

1999-10-07 Thread Stasinos Konstantopoulos

Op do. 07 okt 1999 09:18:26 zei 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

For what it's worth, what I do is set my fcc-save-hooks so that saved
and outgoing emails from/to the same person are put in the same folder
where they are nicely threaded.

stasinos



Re: my_hdr From vs set use_from

1999-10-07 Thread Marcelo Magallon

 David DeSimone [EMAIL PROTECTED] writes:

   * 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.

Yes, sorry... I was reading thru the docs, and use_from got stuck on
my head...

  In order for this variable to work properly, though, I believe your
  $alternates regexp must match any addresses that could be sent to you. 

yes, it's properly set up.

  This way Mutt will know what addresses to recognize and include in the
  reverse_name behavior.

I have a better idea of what I want now...

 * Use reverse_name when replying, always.  For example, if
   [EMAIL PROTECTED] sends me an email to [EMAIL PROTECTED], but my send hook
   says mutt should use [EMAIL PROTECTED] when sending mail to
   [EMAIL PROTECTED], I want [EMAIL PROTECTED] to be used, not
   [EMAIL PROTECTED] (reverse_name does this, but not quite)

 * I want to use my bigfoot address with friends and such, because
   it's easier for them to remember (send-hook does this, and it seems
   to take precedence over reverse_name, am I wrong?)

 * Use my university's address otherwise ("send-hook ." takes care of
   this, but it overrides reverse_name, it seems)

Is it possible to do want I want?

TIA and sorry about the noise,


Marcelo



Re: how to set up alternate SMTP server

1999-10-07 Thread Mikko Hänninen

Jeremy Blosser [EMAIL PROTECTED] wrote on Thu, 07 Oct 1999:
 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.

So how large is sSMTP anyway?  Would it be possible to include it with
mutt?  Seems a bit of waste as not everyone needs it, yes, but then
again if it's small and if some significant number of people would
benefit from it, then it might be worthwhile.

At the very least, shouldn't sSMTP be linked from somewhere like
http://www.mutt.org/download.html on the mutt site?  (And urlview too,
while we're at it...)  At the moment, the link can be found at the very
bottom of http://www.mutt.org/links.html, which isn't very promiment.


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 /
After the prices hit the ceiling they go through the roof.



Re: running procmail on popped mail [OT]

1999-10-07 Thread Ralf Hildebrandt

On Thu, Oct 07, 1999 at 05:40:20PM +0530, Raju K V wrote:
 hi,
 
 This is slightly offtopic.
 
 I pop my mails from machine X and read it on machine Y. But I dont have 
 permission to run any command on machine X. So, how can I run procmail
 of machine Y on any mails that I have popped?

Use fetchmail to pop mail off X which in turn re-injects the messages
into postfix/sendmail/qmail on Y which can then run procmail. 

-- 
Ralf Hildebrandt [EMAIL PROTECTED] www.stahl.bau.tu-bs.de/~hildeb
Real programmers never work 9 to 5. If any real programmers are around
at 9 am, it's because they were up all night. 


 PGP signature


Re: running procmail on popped mail [OT]

1999-10-07 Thread Mikko Hänninen

Raju K V [EMAIL PROTECTED] wrote on Thu, 07 Oct 1999:
 I pop my mails from machine X and read it on machine Y. But I dont have 
 permission to run any command on machine X. So, how can I run procmail
 of machine Y on any mails that I have popped?

You can't with Mutt's pop support.  You need to use a program such as
fetchmail to retrieve your mails from the POP server and let that invoke
procmail on your computer.


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 /
[Please insert a quarter in Drive A: for the next signature quote.]



Compile errors: mutt1.0pre3 with compressed folders patch

1999-10-07 Thread J Horacio MG

Hi,

this is the first time ever I try to compile mutt.  My system is Debian
2.1 (Linux 2.0.36).

I followed these steps:

- cp and untar/unzip mutt-1.0pre3i.tar.gz to the /tmp directory

- cp and gunzip patch-1.0pre3.rr.compressed.2 in the mutt-1.0pre3 dir

- apply the patch: patch -p0 patch-1.0pre3.rr.compressed.2

- configure (not sure if the config options are right).  The ones I have
  with 0.95.6i (.deb binary installation) are:

System: Linux 2.0.36 [using slang 10202]
Opciones especificadas al compilar:
-DOMAIN
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  -USE_FCNTL  -USE_FLOCK
+USE_IMAP  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR
+HAVE_PGP5  +HAVE_PGP2  +HAVE_GPG  -BUFFY_SIZE
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/share/mutt"
SYSCONFDIR="/etc"
ISPELL="/usr/bin/ispell"
_PGPPATH="/usr/bin/pgp"
_PGPV2PATH="/usr/bin/pgp"
_PGPV3PATH="/usr/bin/pgp"

and the ones I give now are:

/tmp/mutt-1.0pre3# ./configure --with-sharedir="/usr/share/mutt"
--with-slang --with-mailpath="/var/spool/mail" --with-homespool
--enable-pop --with-regex --enable-locales-fix --enable-exact-address
--with-charmaps="/usr/share/i18n/charmaps"  --enable-PGP2 --enable-PGP5
--enable-GPG --enable-compressed

- run make ... where I see some error about po needing compress.c ... in
  fact I see no compress.c anywhere.

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



Re: how to set up alternate SMTP server

1999-10-07 Thread Rich Lafferty

Quoting Tim Pierce ([EMAIL PROTECTED]) from Thu, Oct 07, 1999 at 02:31:39AM -0400:
 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.

Seems silly considering all of the other alternatives. Like this:

#!/usr/bin/perl -wT
# little smtp smarthost-relay to quiet mutt-users
# 1999/10/07 Rich Lafferty [EMAIL PROTECTED]
# Use this under the same terms as Perl itself. No warranty.
use strict;
use Net::SMTP;
use Net::Domain;

# Change this line!
my $smarthost = "clyde.concordia.ca";

my $smtp = Net::SMTP-new($smarthost, Debug = 1);
my $me = $ENV{USER} . '@' . Net::Domain::hostfqdn();
$smtp-mail($me) or die "Invalid sender\n";
foreach my $recipient (@ARGV) {
if ($recipient ne "--") {
$recipient .= "." . Net::Domain::hostdomain() 
unless $recipient =~ /\./;
$smtp-to($recipient) || warn "Invalid recipient\n";
}
}
$smtp-data() or die "Can't make a message\n";
while (STDIN) { $smtp-datasend($_) or die Can't make a message (c)\n"; }
$smtp-dataend() or die "Message delivery refused\n";
$smtp-quit or warn "SMTP session terminated abnormally\n";

__END__
 
 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.

This is not true. A daemon, perhaps, but if you install ssmtp in ~/bin and
make it only executable by you, the security risks are less than those of,
say, rm.

I don't think it's
 a feature if Mutt's design promotes more machines being set up as,
 say, open relays, even indirectly.

Mutt *does not send over port 25*. There's no way that you could use
an ssmtp-configured machine as a relay because *it doesn't accept mail*.
It just sends it on its way. Whether or not a machine receives mail over
smtp is completely orthogonal to mutt.

If we decide to include SMTP, I'm going to rally for UUCP and
PMDF-over-DECnet support. :-)

 and Chief Hacking Officer

Puh-lease.

  -r.

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Information and Instructional Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --


 PGP signature


Re: how to set up alternate SMTP server

1999-10-07 Thread Jeremy Blosser

Mikko Hänninen [[EMAIL PROTECTED]] wrote:
 Jeremy Blosser [EMAIL PROTECTED] wrote on Thu, 07 Oct 1999:
  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.
 
 So how large is sSMTP anyway?  Would it be possible to include it with
 mutt?  Seems a bit of waste as not everyone needs it, yes, but then
 again if it's small and if some significant number of people would
 benefit from it, then it might be worthwhile.

I'm sure a significant number of newbies also don't have a terminal program
they like and may not have a working terminal library (ncurses/slang) and
lynx for HTML mails and procmail and heck they might not even have a
working Unix distribution so should we include that too?  And don't forget
any libraries each of those things depends on...

 At the very least, shouldn't sSMTP be linked from somewhere like
 http://www.mutt.org/download.html on the mutt site?  (And urlview too,
 while we're at it...)  At the moment, the link can be found at the very
 bottom of http://www.mutt.org/links.html, which isn't very promiment.

It's also indirectly mentioned at the top of that page (in the index for
the rest of the page).  I think it's more likely to get lost on the
download page, which is already huge with mirrors.  I'm certainly not going
to put it at the top of that page or anything... 99% of the people that go
there want to download Mutt, not something else.

If you're this concerned about it, write an entry for the FAQ and submit it
to Felix.  That's the first place people should be looking for a question
they don't find answered after they read the manual.

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

 PGP signature


[Bug Report] - Mutt 1.0pre3i - Main Menu - Reply

1999-10-07 Thread Gunashankar Selvaraj

++
version:  mutt-1.0pre3
menu: main-menu
command:  Reply
++

Hi Folks,

When trying to Reply to a message whose header doesnt have
Message-id ( I have no idea how that happpened) Mutt-1.0pre3 dumps
core. This doesnt happen with previous versions of mutt (0.95).
enclosed is the gdb trace of the session. and mutt -v

Just in case.. I was running on a Solaris2.6 machine
and was using IMAP to get/read.. and localhost to send mails..

Thanx

Guna

++

$ /opt/gnu/bin/gdb /opt/local/bin/mutt ~selvaraj/core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.   
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1...  done.
Reading symbols from /usr/lib/locale/en_US/en_US.so.1...done.
#0  0xef6a4614 in strlen ()
(gdb) backtrace
#0  0xef6a4614 in strlen ()
#1  0xef6da50c in _doprnt ()
#2  0xef6e3948 in snprintf ()
#3  0x48b50 in envelope_defaults (env=0xa1748, ctx=0xa5820, cur=0xa66e8,
flags=1) at send.c:569
#4  0x49648 in ci_send_message (flags=1, msg=0xa16e8, tempfile=0x0,
ctx=0xa5820, cur=0xa66e8) at send.c:970
#5  0x20bb4 in mutt_index_menu () at curs_main.c:1506
#6  0x304b8 in main (argc=1, argv=0xe31c) at main.c:683
++


++
$ mutt -v 
+
Mutt 1.0pre3i (1999-09-25)
Copyright (C) 1996-9 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: SunOS 5.6 [using ncurses 4.2]
Compile options:
-DOMAIN
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  +USE_POP  -HAVE_REGCOMP  +USE_GNU_REGEX  +HAVE_COLOR  -BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/lib/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/opt/local//share/mutt"
SYSCONFDIR="/opt/local//etc"
ISPELL="/opt/gnu/bin/ispell"
To contact the developers, please mail to [EMAIL PROTECTED].
+++

-- 
Kural-100
When pleasant words are easy, bitter words to use,
Is, leaving sweet ripe fruit, the sour unripe to choose.

http://www.cs.utk.edu/~siddhart/thirukkural/
http://www.geocities.com/Athens/Academy/8357/index.html



Re: installing mutt without root privilege

1999-10-07 Thread Gary Johnson

On Mon, Oct 04, 1999 at 03:57:46PM -0500, David DeSimone wrote:

 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.

What I've done is configured with --prefix set to the final install
path, as you said, done the 'make', then edited the Makefile and changed
the line

prefix = path to final installation

to

prefix = path to initial installation

Then I run 'make -n install' to see if I have to create any directories,
then run 'make install'.

This was actually for mswordview-0.5.14; I hadn't figured this out the
last time I installed mutt.  I am assuming that the Makefile for mutt is
similarly structured.

-- 
Gary Johnson
Hewlett-Packard Company
Spokane, Washington
[EMAIL PROTECTED]



Re: [FIX] mutt segfaults + gdb output

1999-10-07 Thread rutger

On Thu, Oct 07, 1999 at 09:13:20AM +0200, Thomas Roessler wrote:
 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.
 
[snip patch]

Ok, thanks a lot! Things seem to be working perfectly now!



-- 
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: installing mutt without root privilege

1999-10-07 Thread Manoj Kasichainula

On Thu, Oct 07, 1999 at 09:35:55AM +0100, Edmund GRIMLEY EVANS wrote:
 $ ./configure --prefix=/final/location
 $ make
 $ make DESTDIR=/temporary/location install

The DESTDIR support isn't set up for the contrib directory yet, so the
stuff that gets installed out of there normally will fail.

 By the way, can anyone say if this use of DESTDIR is reasonably
 standard?

It's not universal, but it's pretty common.

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
"Some people have entirely too much free time on their hands."
  - Gene Spafford (spaf)



Re: how to set up alternate SMTP server

1999-10-07 Thread Manoj Kasichainula

On Thu, Oct 07, 1999 at 02:00:15PM -0400, Tim Pierce wrote:
 That is what a knowledgable and experienced person would do, but we
 are talking about the naive and clueless.

Mutt is a power-users' mailer (unless this has changed recently). It
does not cater to the clueless, and I don't want to use software that
does.

-- 
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/



Re: how to set up alternate SMTP server

1999-10-07 Thread Tim Pierce

On Thu, Oct 07, 1999 at 01:17:09PM -0500, Manoj Kasichainula wrote:
 On Thu, Oct 07, 1999 at 02:00:15PM -0400, Tim Pierce wrote:
  That is what a knowledgable and experienced person would do, but we
  are talking about the naive and clueless.
 
 Mutt is a power-users' mailer (unless this has changed recently). It
 does not cater to the clueless, and I don't want to use software that
 does.

Nor would I, but I am not talking about dumbing down the software.
you should read more carefully.

i am pleased to learn about sSMTP -- it does sound like an excellent
solution to someone in this situation.  if questions about MTAs become
more common, perhaps it would be helpful to mention this in mutt's
README or INSTALL files.  it does not seem that anything more needs
to be done.

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



Re: how to set up alternate SMTP server

1999-10-07 Thread Daniel Eisenbud

On Thu, Oct 07, 1999 at 01:17:09PM -0500, Manoj Kasichainula [EMAIL PROTECTED] wrote:
 On Thu, Oct 07, 1999 at 02:00:15PM -0400, Tim Pierce wrote:
  That is what a knowledgable and experienced person would do, but we
  are talking about the naive and clueless.
 
 Mutt is a power-users' mailer (unless this has changed recently). It
 does not cater to the clueless, and I don't want to use software that
 does.

I would like to second this.  Trying to make mutt into "the mailer for
the masses" will lead to bloat.  The point is to have a fast, powerful,
small mailer, not to take over the world.  This was the attitude among
the developers from day one, and I think it should stay that way.

-Daniel

-- 
Daniel Eisenbud
[EMAIL PROTECTED]



Re: running procmail on popped mail [OT]

1999-10-07 Thread David DeSimone

Ralf Hildebrandt [EMAIL PROTECTED] wrote:

 Use fetchmail to pop mail off X which in turn re-injects the messages
 into postfix/sendmail/qmail on Y which can then run procmail. 

Sometimes, re-injecting a message into the MTA on machine Y will simply
cause it to get sent back to X.  In such a case, fetchmail can easily be
configured to simply run a local MDA directly, using an option such as
"mda procmail -d username".

-- 
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: how to set up alternate SMTP server

1999-10-07 Thread Howard Arons

On Oct 07, 1999, Jeremy Blosser wrote:
 
 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.
 
Vent mode starting now...

OK, I can't resist adding my own $0.02 to this discussion now. When I began
using Mutt about 1 year ago, I had been using Netscape because it did have
a builtin MTA, but I hated it as a MUA. But, I couldn't get my sendmail to
work reliably either. What to do?

I was as green a Linux newbie as ever there was then, although I had lots
of experience with DOS/Win. I /knew/ that any MTA that had its own O'Reilly
book would be too much for me, so I switched to smail. Same problem, so I
tried the revolutionary step of RTFM(!), pestering the life out of some
kind folks on the SuSE-list, and experimenting. Bottom line: smart_host was
what I needed, and I got it implemented.

Summary: I left Win and MS partly because of code bloat and apps that "do
everything." IMO, Mutt developers have made the right decision to keep
things focused. Let fetchmail, procmail and the MTA of your choice do the
rest, even if it means some time reading, experimenting, asking for help,
or (shudder) learning something new.

Vent mode shutting down now.

Howard Arons
-- 
Powered by SuSE Linux 5.2 -- Upgraded to kernel 2.0.36
Communications by Mutt 1.0pre3i



Re: installing mutt without root privilege

1999-10-07 Thread Don Blaheta

Quoth Edmund GRIMLEY EVANS:
 In the case of mutt, I think what you have to do
 is something like:
 
 $ ./configure --prefix=/final/location
 $ make
 $ make DESTDIR=/temporary/location install

Way cool, this is **exactly** the sort of thing I was looking for.  It
works pretty well, but the DESTDIR seems not to propagate low enough;
a whole bunch of stuff does get correctly installed into my temp
location, but eventually it tries to install mutt into /cs/bin.  It's
the install-binPROGRAMS that is trying to install it, and it does
include the DESTDIR variable, so I'm guessing that make doesn't
propagate its variables into recursive calls of itself.  I fixed 
the problem by changing the Makefile target install-am to be

 install-am: all-am
   @$(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(DESTDIR) \
 ^^
   install-exec-am install-data-am

and adding a DESTDIR=$(DESTDIR) inside the recursive call in the
all-recursive (etc) target as follows: 

 all-recursive install-data-recursive install-exec-recursive \
 installdirs-recursive install-recursive uninstall-recursive  \
 check-recursive installcheck-recursive info-recursive dvi-recursive:
 [...]
   if test "$$dot_seen" = "no"; then \
 $(MAKE) $(AM_MAKEFLAGS) DESTDIR=$(DESTDIR) "$$target-am" || exit 1; \
  ^^
   fi; test -z "$$fail"

With those fixes, the install seems to have proceeded correctly.  The
same fixes can be applied to Makefile.in (with similar success), but I
have no idea where to put them in Makefile.am to make it work



Anyway, this seems to have highlighted my main problem, which is that in
the makefile in the po/ subdirectory, we have

 localedir = $(datadir)/locale
 gnulocaledir = $(prefix)/share/locale

The former will resolve to /cs/share/mutt/locale, which is correct
(since I have control over the /cs/share/mutt tree), but the second
resolves to /cs/share/locale, which I _don't_ have control over.  How
can I tell mutt to use $(localedir) instead of $(gnulocaledir)?

Ok, I can analyse this a little further.  It picks $(gnulocaledir)
because the CATALOGS list uses the .gmo suffix instead of the .mo
suffix.  (But then installs the .mo file into that directory.)  This, in
turn, appears to be because $CATOBJEXT is ".gmo" in the configure file.
Why?  I dunno  But I do know that it's not possible for me to
install stuff into /cs/share/locale, and I'm not sure how to tell that
to configure.  (Check that---it's _possible_, I think, but I'd have to
jump through a bunch of hoops with our sysadmin.  Is it really worth
it?)


Once again, I'm on an Ultra10 running Solaris 2.7; my config line is now:
configure --enable-pop --enable-buffy-size --with-included-gettext \
--prefix="/cs" --datadir="/cs/share/mutt" \
--sysconfdir="/cs/share/mutt" --with-docdir="/cs/share/mutt/doc"

-- 
-=-Don [EMAIL PROTECTED]=-=-http://www.cs.brown.edu/~dpb/-=-
The mome rath isn't born that could outgrabe me.
-- Nicol Williamson