Configuring sendmail genericstable for dynamic IP [Was: Using mutt from a dynamic IP PPP connection]

1999-04-16 Thread Wouter Hanegraaff

I received mail from several mutt-users, who are interested in my document
on how to configure the sendmail genericstable for use with dynamic ip 
connections. The genericstable is very useful for everyone who uses dial up
internet connections and sendmail.
 
Since it's really off topic and since other people than just mutt users could
benifit from the document, I put it on the web. If you're interested,
have a look at
http://www.cysonet.com/~wouter/offline_mailing.html
 
Wouter...

-- 
Ieder voordeel heeft ook een nadeel.
-Johan Cruijff, Europees voetballer van de eeuw



canceling an unignore command

1999-04-16 Thread Vincent Lefevre

How can one cancel an "unignore" command?

I would like to unignore delivered-to only in some folder.
For instance:
  folder-hook . ???
  folder-hook my_folder unignore delivered-to

What should the ??? be? (it isn't "ignore delivered-to", as unignore
has the priority.)

-- 
Vincent Lefevre <[EMAIL PROTECTED]> - PhD stud. in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc.



mailing output stream as a file [borderline off topic]

1999-04-16 Thread Eric Smith

Hi

Forgive me if I should address this elsewhere, but the quality of this list
is so high, its just too difficult to resist - ok, I'll stop.

I want to send the output of a unix process (i.e. a text stream) by mail as
an attached text file _non_ interactively. I loathe making tmp files and
then deleting them and would like to keep this all in memory using
variables.

Is there perhaps a way to spoof a text file and get mutt to attach with
`-a' the stream and call the stream filename.txt - or should I just stop
dreaming?

Also I often have difficulty going:
echo this and that other|mutt -s "A Subject" -a attachment.tar.gz joe

Mutt comes upo interactively - if I try from another Account it works fine
- what should I toggle in my muttrc?

Thanx for your help


-- 
Eric Smith
<[EMAIL PROTECTED]> 
Tel. 021 236 111



pgp + attachments

1999-04-16 Thread Anonymous

Warning
Could not process message with given Content-Type: 
multipart/signed; boundary=7pXD3OQNRL3RjWCz; micalg=pgp-sha1;protocol="application/pgp-signature"




Re: Wish: Changed behavior of "jump"

1999-04-16 Thread Anonymous

Axel Beckert <[EMAIL PROTECTED]> wrote:
>
> IMHO it would be much more useful, if jump would accept any non-digit
> as terminator of the message number to jump to and would the push that
> last typed character to execute the appropriate function.

Hmm, I don't like that idea, probably because I'm a terrible typist. 
Suppose I wanted to press 't' on the current message, but my fat fingers
hit '6t' instead?  Then I'd end up tagging message 6 instead, and I'd
have to untag it and go figure out where I was before.  In the current
scheme, I just get a prompt to jump to message 6t, which I can cancel.

I don't think pressing  is too much to ask.

> Any comments?

You asked for it.  :)

-- 
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
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: mailing output stream as a file [borderline off topic]

1999-04-16 Thread Anonymous

On Fri, Apr 16, 1999 at 11:36:55AM +0200, Eric Smith wrote:

> I want to send the output of a unix process (i.e. a text stream) by mail as
> an attached text file _non_ interactively. I loathe making tmp files and
> then deleting them and would like to keep this all in memory using
> variables.
> 
> Is there perhaps a way to spoof a text file and get mutt to attach with
> `-a' the stream and call the stream filename.txt - or should I just stop
> dreaming?

There is a way, though it's a bit odd.  The trick is to make a FIFO (a la
"named pipe").  Try something like this:

mkfifo text.txt
echo "blah blah blah" | mutt -a text.txt myself@localhost

Now mutt will block waiting for data to appear on text.txt.  You need to
write the data you have into the text.txt pipe.

echo "foo" > text.txt  (I know you mentioned you wanted to do this
under program control, but this is just an
example)

Now you need to do it twice more as mutt seems to read an attached file
three times:

echo "foo" > text.txt
echo "foo" > text.txt

Voila.

I'm sure if you looked at the code you could figure out what mutt is
reading the file three times for and perhaps avoid having to send the
whole thing three times.

David

-- 
   David Shaw  |  [EMAIL PROTECTED]  |  WWW http://www.jabberwocky.com/
+---+
   "There are two major products that come out of Berkeley: LSD and UNIX.
  We don't believe this to be a coincidence." - Jeremy S. Anderson



Re: mailing output stream as a file [borderline off topic]

1999-04-16 Thread David DeSimone

David Shaw <[EMAIL PROTECTED]> wrote:
>
> There is a way, though it's a bit odd.  The trick is to make a FIFO (a la
> "named pipe").

That works, but it doesn't meet the stated requirements, because you'd
have to remember to delete the file that was created.  He said he was
trying not to have to do that (though it doesn't seem that hard to
me...).  :)

The biggest problem that I see is that Mutt uses the name of the file to
determine the MIME type of the attachment.  Without a filename, Mutt
won't know what type to assign the attachment.  Using a named pipe is a
nice trick to give the attachment a filename, but having to write the
pipe several times in order to meet Mutt's habit of re-reading it
several times is just a bit too weird; seems like it's easier to just go
ahead and write the file, call Mutt, and then delete it.

-- 
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
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: mailing output stream as a file [borderline off topic]

1999-04-16 Thread David Shaw

On Fri, Apr 16, 1999 at 12:54:34PM -0500, David DeSimone wrote:
> David Shaw <[EMAIL PROTECTED]> wrote:
> >
> > There is a way, though it's a bit odd.  The trick is to make a FIFO (a la
> > "named pipe").
> 
> That works, but it doesn't meet the stated requirements, because you'd
> have to remember to delete the file that was created.  He said he was
> trying not to have to do that (though it doesn't seem that hard to
> me...).  :)

He didn't want a temporary file for each attachment.  One FIFO can be all
of his attachments, so he doesn't have to delete it.  It uses no space on
the disk (aside from the housekeeping information) and may as well just
sit around.

> The biggest problem that I see is that Mutt uses the name of the file to
> determine the MIME type of the attachment.  Without a filename, Mutt
> won't know what type to assign the attachment.  Using a named pipe is a
> nice trick to give the attachment a filename, but having to write the
> pipe several times in order to meet Mutt's habit of re-reading it
> several times is just a bit too weird; seems like it's easier to just go
> ahead and write the file, call Mutt, and then delete it.

That's what I'd do too, but he didn't want a temporary file.

David

-- 
   David Shaw  |  [EMAIL PROTECTED]  |  WWW http://www.jabberwocky.com/
+---+
   "There are two major products that come out of Berkeley: LSD and UNIX.
  We don't believe this to be a coincidence." - Jeremy S. Anderson



Re: Automatice sending of e-mails?

1999-04-16 Thread Anonymous

On Fri, Apr 16, 1999 at 05:09:54PM +0100, Lars Hecking wrote:
>  mutt -s subject to@there < textfile
> 
>  If you're not relying on any special mutt features you're probably better
>  off using /bin/mail or /bin/mailx instead or whatever your OS provides.
 
mutt -s subject to@there <<__EOM__
Dear Sirs,

type your msg here.


__EOM__



-- 
+ PGP || GnuPG key -> finger [EMAIL PROTECTED] +
++ IDENT required + Parsytec Computer GmbH <[EMAIL PROTECTED]> ++
+++ Debian/GNU Linux <[EMAIL PROTECTED]> +++ ICQ: 2882018 +++



Re: Turn-off automatic marking as 'read'?

1999-04-16 Thread Anonymous

On Thu, 15 Apr 1999, David Thorburn-Gundlach wrote:

> Marek, et al --
> 
> Better yet, if there was something you wanted to then go back and
> process in that folder, just his '%' to set the mailbox as read-only
> (and thus prevent a write) and then 'c'hange back to the same mailbox

That's a good workaround. Thanks!

.marek

-- 
General Frenetics, Discorporated: http://www.lodz.pdi.net/~eristic/
Invalid thought detected. Close all mental processes and restart body.



limit question

1999-04-16 Thread Robert Chien

Hi,

I have a simple question: after I type 'l' to limit messages by a
certain criteria (usually by sender's email addr), when I'm done, I
would like to go back to my full inbox. But there's no "unlimit" key
definition (or indication of it in help). What I do now is to enter a
limit string that matches nothing, like "b6a3", to make the limit fail
so that it'll take me back to the full inbox. Is there a more elegant
way?

Also, I've noticed that if I do limit, delete, sync, multiple times in
random order, sometimes all New mails in my inbox are marked read! I
have not been able to reproduce it, but it's possibly a bug. I'm using
IMAP.

Thanks.
Robert
-- 
"It was so crazy, it just might work." -jwz



Re: limit question

1999-04-16 Thread G. T. Francisco

On Fri, Apr 16, 1999 at 05:33:45PM -0700, Robert Chien said:
> I have a simple question: after I type 'l' to limit messages by a
> certain criteria (usually by sender's email addr), when I'm done, I
> would like to go back to my full inbox. But there's no "unlimit" key
> definition (or indication of it in help). What I do now is to enter a
> limit string that matches nothing, like "b6a3", to make the limit fail
> so that it'll take me back to the full inbox. Is there a more elegant
> way?

The command to show all messages is ~b A


Cheers,

G-3



Re: limit question

1999-04-16 Thread Robert Chien

On Fri, Apr 16, 1999 at 09:12:43PM -0400, Jeffrey Haas wrote:
> On Fri, Apr 16, 1999 at 07:47:43PM -0500, G. T. Francisco wrote:
> > On Fri, Apr 16, 1999 at 05:33:45PM -0700, Robert Chien said:
> > > I have a simple question: after I type 'l' to limit messages by a
> > > certain criteria (usually by sender's email addr), when I'm done, I
> > > would like to go back to my full inbox. But there's no "unlimit" key
> > > definition (or indication of it in help). What I do now is to enter a
> > > limit string that matches nothing, like "b6a3", to make the limit fail
> > > so that it'll take me back to the full inbox. Is there a more elegant
> > > way?
> > 
> > The command to show all messages is ~b A
> 
> Odd.  I always just "l all".

Thanks!

This is good, but wouldn't it be more intuitive to show me all messages
when the limit is blank? developers, would you consider this?

Robert
-- 
"It was so crazy, it just might work." -jwz



Re: limit question

1999-04-16 Thread Jeffrey Haas

On Fri, Apr 16, 1999 at 07:47:43PM -0500, G. T. Francisco wrote:
> On Fri, Apr 16, 1999 at 05:33:45PM -0700, Robert Chien said:
> > I have a simple question: after I type 'l' to limit messages by a
> > certain criteria (usually by sender's email addr), when I'm done, I
> > would like to go back to my full inbox. But there's no "unlimit" key
> > definition (or indication of it in help). What I do now is to enter a
> > limit string that matches nothing, like "b6a3", to make the limit fail
> > so that it'll take me back to the full inbox. Is there a more elegant
> > way?
> 
> The command to show all messages is ~b A

Odd.  I always just "l all".

> G-3

-- 
 Jeffrey Haas   
[EMAIL PROTECTED]  "Place all beliefs in proper receptacle"



Re: netscape and mutt

1999-04-16 Thread Grant Beattie

On Thu, Mar 25, 1999 at 12:34:29AM +0100, David Reviejo wrote:

> What do you mean with "the body"?
> As the documentation say, from Netscape you can do only two things:
> - open mutt with an empty new message when you click on an email
>   link;
> - open mutt with a new message including the link for the current
>   page; in this case you get the link (not the page contents) in
>   the message body; at least, it do it for me here...

It definately passes the Subject: and cc:, so I see no logical reason
it couldn't pass the body, too.

for this SDK to be really useful, body is essential.

g.



Re: limit question

1999-04-16 Thread Bevan Broun

> Odd.  I always just "l all".

"l *" is shorter.

BB
-- 
Bevan Broun   ph (08) 9380 1587
Computer Systems Officer fax (08) 9380 1065
Dept. Electrical and Electronic Engineering  
University of Western Australia rm. G70



Automatice sending of e-mails?

1999-04-16 Thread Anonymous

Can I make mutt send e-mails out of a shell script?
When I do something like

mutt -i textfile -s subject to@there

mutt still wants recipient and subject to be confirmed and opens my
editor.

Stef
-- 
WebMaster D-WERK
President SOS-ETH 
ETH Zurich
[EMAIL PROTECTED]http://hoes.li



Re: Automatice sending of e-mails?

1999-04-16 Thread Anonymous

Stef Hoesli Wiederwald writes:
> Can I make mutt send e-mails out of a shell script?
> When I do something like
> 
> mutt -i textfile -s subject to@there
 
 mutt -s subject to@there < textfile

 If you're not relying on any special mutt features you're probably better
 off using /bin/mail or /bin/mailx instead or whatever your OS provides.

-- 
... at least I thought I was dancing, 'til somebody stepped on my hand.
-- J. B. White



Re: Automatice sending of e-mails?

1999-04-16 Thread Anonymous

++ 16.04.1999, 17:09:54 (+0100) = Lars Hecking:
> If you're not relying on any special mutt features you're probably better
> off using /bin/mail or /bin/mailx instead or whatever your OS provides.

Why is that? I have used this mutt consctruction myself a lot (i used it
in a script to send me the logs of a wget session -for a mirror- which
was done on another host daily). Works perfectly...

-Rejo. 

-- 
= Rejo [Sister Ray Crisiscentrum]   [EMAIL PROTECTED]
= http://mediaport.org/~sister   PGP: DSS B20D35F8, RSA FAE40065