Re: [newbie] slow on send?

2000-04-27 Thread Bakki Kudva

"John P . Looney" wrote:
 
  Well, to get around this, add this to your muttrc:
 
  set sendmail_wait=5 # Wait 5 seconds for sendmail to return, then put to background

Thank you for that hint. I'll try it. I may have bigger issues with the
way
sendmail is configured!

  Sendmail could be slow for many reasons - DNS is slow, the mail is big,
 or something. This gets around that !

This may not be the place to discuss this but I'll just mention it. I
have a small network of Linux machines. DOn't have a fqdn. I am not
finding the info I need on setting up a network with public IP addresses
(192.168.xxx.xxx) with a ficticious domain name and do email via my
ISP's IMAP. ANy pointers
here will be greatly appreciated. They all talk about fqdns. There is an
article in the Linux Gazette issue#45 called "mail for the home network"
with lots of info but one of the prerequisites mentioned is "You must
have a legal domain name". I do have a legal domain name but it is at my
web hosting company.

bakki
 
 Kate
 
 --
 "The fool must be beaten with a stick, for an intelligent person
 the merest hint is sufficient"-- Zen Master Greg

-- 
  _ _
 .-. |M|S|  Bakki Kudva
 |D|_|a|y|  Navaco
 |o|m|n|s|\420 Pasadena Drive
 |c|e|a|t| \\   Erie, PA 16505-1037
 |u|n|g|e|  \\  http://www.navaco.com/
 | |T|e|m|   \ ph: 814-833-2592
""  fax:603-947-5747
e-Docs



Re: [newbie] slow on send?

2000-04-27 Thread Bakki Kudva

Hall Stevenson wrote:
 
 There's a setting that tells mutt how and for how long to wait for sendmail
 (copied directly from the manual):
 
 ==
 sendmail_wait
 Type: number
 Default: 0
 
 Specifies the number of seconds to wait for the sendmail process to finish
 before giving up and putting delivery in the background.
 
 Mutt interprets the value of this variable as follows:
 
 0  number of seconds to wait for sendmail to finish before continuing
 0   wait forever for sendmail to finish
 0  always put sendmail in the background without waiting
 
 Note that if you specify a value other than 0, the output of the child
 process will be put in a temporary file. If there is some error, you will be
 informed as to where to find the output.
 ==

Thank you for the pointer. ANother item I missed !
 
 Note: I don't remember who was the original poster of this message, but they
 mentioned that they "made up" a domain name. That could very well be their
 problem... You can't just make them up. How's it even working ?? I don't
 know. My guess is sendmail is set up for "smart relay" and ends up using
 that (usually your ISP's SMTP mail server).

I am the orig poster and  you are absolutely right. I don't have a fqdn.
(actually I do at a remote web hosting company). I think I got the mail
to work by putting my ISPs domain name in the resolv.conf.
I am using 192.168.xxx.xxx (RFC 1597) class addresses internally. How
can I connect to my ISP's POP/IMAP server and do mail from such a
network? THere must be a lot of folks out there who are using a similar
scheme.

bakki
 
 Regards,
 Hall



Re: [newbie] slow on send?

2000-04-27 Thread Bakki Kudva

Telsa Gwynne wrote:

 
 Welcome to unix-land, where there always at least five ways to do
 anything. (I once found about four ways to list the contents of a directory
 at the command line without even trying too hard!) It's a pain in the
 neck at first, and then you can't live without it.
 
 Telsa, still learning after Too Many Years...

I was amazed the other day when I looked at the man page for the 'less'
commmand which was one of the first ones I learned and it blew me away
when I saw that it has hundreds of commands and options and key
bindings! Even regex'swow! less --help yeilded a full three pages
full of neatly formatted command summaries :) sorry this is really
off topic.

bakki

-- 
  _ _
 .-. |M|S|  Bakki Kudva
 |D|_|a|y|  Navaco
 |o|m|n|s|\420 Pasadena Drive
 |c|e|a|t| \\   Erie, PA 16505-1037
 |u|n|g|e|  \\  http://www.navaco.com/
 | |T|e|m|   \ ph: 814-833-2592
""  fax:603-947-5747
e-Docs



Re: [newbie] slow on send?

2000-04-27 Thread Telsa Gwynne

On Thu, Apr 27, 2000 at 09:23:12AM -0400 or thereabouts, Bakki Kudva wrote:
 Telsa Gwynne wrote:
  Welcome to unix-land, where there always at least five ways to do
  anything. (I once found about four ways to list the contents of a directory
  at the command line without even trying too hard!) It's a pain in the
  neck at first, and then you can't live without it.

Just to clarify before anyone thinks their email feed is up the
spout: what Bakki's quoting is a reply to her which I sent off-list;
and no, you won't have seen the rest of the message because I didn't
send it here :) 

Telsa (investigating reply-to) 



Re: [newbie] slow on send?

2000-04-20 Thread Telsa Gwynne

On Wed, Apr 19, 2000 at 10:29:03AM -0400 or thereabouts, Bakki Kudva wrote:

[eek, can you split your lines with line-breaks? :)]
 
 Just starting with mutt and I am excited! Have spent nearly 3 days buried 
 in the documentation and have a few questions I hope some one wouldn't 
 mind answering.
 
 First of all when I send the message mutt sits there for over a minute 
 before coming back with a 'mail sent' message. Why is this? Is there an 
 asynchronous mode for this? 

Actually, I've seen something similar. If I write a very quick reply,
the "Mail sent" message comes up immediately. If I write a long one,
or stop and do something else instead and so on, there's a substantial
delay before I get that. I had assumed that this was just due to the
"doing something else" and that the process was swapped out or something.
Could this be the solution?

 I am not sure if my Linux box is set up correctly. 

I use Linux, but I have no idea here, sorry. I don't use POP so I snipped
that bit, too :)

 A couple of other usability questions I couldn't figure out.
 1. When composing a new msg is there a way to bring up a picklist of 
 pattern matched aliases?

'm' for 'mail'.
At the "To: " prompt, hit the tab key and you'll get a list of your
aliases. Or type the initial letter or two and then hit tab to get
a narrowed-down list of what fits.

 2. I find myself inadvertently hitting keys..sometimes meant for a 
 different console and I lose track of focus..and say ending up in the 
 To: prompt when I hit 'm'. ANy way to escape out of these modal 
 situations? Is there some way to define a global escape sequence which 
 will get you out of any screen and bring you back to say the index screen?

When I mis-key and get up at a prompt like that, I delete the suggested
input (if there's any there) and just hit return on a blank input and
it goes away. (Obviously, this won't work if you're at a 'y/n/q' prompt!)

(You could also alter your mouse focus, of course :))

No idea on the macro, sorry.

Telsa



Re: [newbie] slow on send?

2000-04-20 Thread Raymond A. Meijer

On Thu, 20 Apr 2000, 09:41, Telsa Gwynne wrote:

  First of all when I send the message mutt sits there for over a minute 
  before coming back with a 'mail sent' message. Why is this? Is there an 
  asynchronous mode for this? 

 Actually, I've seen something similar. If I write a very quick reply,
 the "Mail sent" message comes up immediately. If I write a long one,
 or stop and do something else instead and so on, there's a substantial
 delay before I get that. I had assumed that this was just due to the
 "doing something else" and that the process was swapped out or something.
 Could this be the solution?

I'm using Linux too, and I suspect that the MTA is just waiting for the
proper MX records from the DNS server?


Ray

-- 
Raymond A. Meijer
True Bit BV



Re: [newbie] slow on send?

2000-04-20 Thread Bakki Kudva

Telsa Gwynne([EMAIL PROTECTED])@Thu, Apr 20, 2000 at 09:41:00AM +0100:
 On Wed, Apr 19, 2000 at 10:29:03AM -0400 or thereabouts, Bakki Kudva wrote:
 
 [eek, can you split your lines with line-breaks? :)]

ouch! sorry about that...holdover habits from windows..I am using vi and sort of
assumed that mutt would insert those for me. Thanks for the reminder.

 Actually, I've seen something similar. If I write a very quick reply,
 the "Mail sent" message comes up immediately. If I write a long one,
 or stop and do something else instead and so on, there's a substantial
 delay before I get that. I had assumed that this was just due to the
 "doing something else" and that the process was swapped out or something.
 Could this be the solution?

I see the delay regardless of how I type the message.
 
 'm' for 'mail'.
 At the "To: " prompt, hit the tab key and you'll get a list of your
 aliases. Or type the initial letter or two and then hit tab to get
 a narrowed-down list of what fits.

:) that is a sheepish grin because though I went thro the docs a dozen times I
didn't see that till it was pointed out to me. Now I see it in red right there
on page 3 :)
 
 When I mis-key and get up at a prompt like that, I delete the suggested
 input (if there's any there) and just hit return on a blank input and
 it goes away. (Obviously, this won't work if you're at a 'y/n/q' prompt!)
 
 (You could also alter your mouse focus, of course :))
 
I also found out that ^G cancels. Still a long ways to go before I can train
this mutt :)

bakki
-- 
  _ _
 .-. |M|S|  Bakki Kudva
 |D|_|a|y|  Navaco
 |o|m|n|s|\420 Pasadena Drive
 |c|e|a|t| \\   Erie, PA 16505-1037
 |u|n|g|e|  \\  http://www.navaco.com/
 | |T|e|m|   \ ph: 814-833-2592
""  fax:603-947-5747
e-Docs




Re: [newbie] slow on send?

2000-04-20 Thread Bakki Kudva

Raymond A. Meijer([EMAIL PROTECTED])@Thu, Apr 20, 2000 at 10:52:20AM +0200:
 On Thu, 20 Apr 2000, 09:41, Telsa Gwynne wrote:
 
 I'm using Linux too, and I suspect that the MTA is just waiting for the
 proper MX records from the DNS server?
 
but why does mutt have to wait for the MTA? I thought mail would be spooled and
mutt would return right away. I tried changing fetchmail polling to 5 seconds and
that didn't help. Wonder if there are any sendmail settings which effects this.

bakki
-- 
  _ _
 .-. |M|S|  Bakki Kudva
 |D|_|a|y|  Navaco
 |o|m|n|s|\420 Pasadena Drive
 |c|e|a|t| \\   Erie, PA 16505-1037
 |u|n|g|e|  \\  http://www.navaco.com/
 | |T|e|m|   \ ph: 814-833-2592
""  fax:603-947-5747
e-Docs




Re: [newbie] slow on send?

2000-04-20 Thread Hall Stevenson


- Original Message -
From: "Bakki Kudva" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 20, 2000 10:30 AM
Subject: Re: [newbie] slow on send?


 Raymond A. Meijer([EMAIL PROTECTED])@Thu, Apr 20, 2000 at 10:52:20AM
+0200:
  On Thu, 20 Apr 2000, 09:41, Telsa Gwynne wrote:
 
  I'm using Linux too, and I suspect that the MTA is just waiting for the
  proper MX records from the DNS server?
 
 but why does mutt have to wait for the MTA? I thought mail would be
spooled and
 mutt would return right away. I tried changing fetchmail polling to 5
seconds and
 that didn't help. Wonder if there are any sendmail settings which effects
this.

There's a setting that tells mutt how and for how long to wait for sendmail
(copied directly from the manual):

==
sendmail_wait
Type: number
Default: 0

Specifies the number of seconds to wait for the sendmail process to finish
before giving up and putting delivery in the background.

Mutt interprets the value of this variable as follows:

0  number of seconds to wait for sendmail to finish before continuing
0   wait forever for sendmail to finish
0  always put sendmail in the background without waiting

Note that if you specify a value other than 0, the output of the child
process will be put in a temporary file. If there is some error, you will be
informed as to where to find the output.
==

Note: I don't remember who was the original poster of this message, but they
mentioned that they "made up" a domain name. That could very well be their
problem... You can't just make them up. How's it even working ?? I don't
know. My guess is sendmail is set up for "smart relay" and ends up using
that (usually your ISP's SMTP mail server).

Regards,
Hall





Re: [newbie] slow on send?

2000-04-20 Thread John P . Looney

On Thu, Apr 20, 2000 at 09:41:00AM +0100, Telsa Gwynne mentioned:
 On Wed, Apr 19, 2000 at 10:29:03AM -0400 or thereabouts, Bakki Kudva wrote:
 
 [eek, can you split your lines with line-breaks? :)]
  
  Just starting with mutt and I am excited! Have spent nearly 3 days buried 
  in the documentation and have a few questions I hope some one wouldn't 
  mind answering.
  
  First of all when I send the message mutt sits there for over a minute 
  before coming back with a 'mail sent' message. Why is this? Is there an 
  asynchronous mode for this? 
 
 Actually, I've seen something similar. If I write a very quick reply,
 the "Mail sent" message comes up immediately. If I write a long one,
 or stop and do something else instead and so on, there's a substantial
 delay before I get that. I had assumed that this was just due to the
 "doing something else" and that the process was swapped out or something.
 Could this be the solution?

 Well, to get around this, add this to your muttrc:

 set sendmail_wait=5 # Wait 5 seconds for sendmail to return, then put to background

 Sendmail could be slow for many reasons - DNS is slow, the mail is big,
or something. This gets around that !

Kate

-- 
"The fool must be beaten with a stick, for an intelligent person 
the merest hint is sufficient"-- Zen Master Greg



[newbie] slow on send?

2000-04-19 Thread Bakki Kudva


Just starting with mutt and I am excited! Have spent nearly 3 days buried in the 
documentation and have a few questions I hope some one wouldn't mind answering.

First of all when I send the message mutt sits there for over a minute before coming 
back with a 'mail sent' message. Why is this? Is there an asynchronous mode for this? 
I am not sure if my Linux box is set up correctly. I have 4 computers on my LAN which 
all have 192.168.0.xxx numbers. I don't have a fqdn so I have made something up. I 
connect to a IMAP server thro a multitech serial line proxyserver which sits on the 
LAN...which is set as the gateway on the linux box. I use fetchmail to get and deliver 
mail to the ISP. There is sendmail running and I am not an expert in sendmail but used 
linuxconf to configure the very basic info to update sendmail.rc. I use my_hdr to set 
my from field to [EMAIL PROTECTED] Can anything in this chain cause this delay? In 
any case it all seems to work.

I also have pop mail server at my hosted domain which is now redirected to my local 
ISP. Am I better off picking up this mail through fetchmail?

A couple of other usability questions I couldn't figure out.
1. When composing a new msg is there a way to bring up a picklist of pattern matched 
aliases?

2. I find myself inadvertently hitting keys..sometimes meant for a different console 
and I lose track of focus..and say ending up in the To: prompt when I hit 'm'. ANy way 
to escape out of these modal situations? Is there some way to define a global escape 
sequence which will get you out of any screen and bring you back to say the index 
screen?

3.Finally I can't seem to for the life of me get the following macro to work..
macro index f1 "!less /usr/doc/mutt-1.0.1i/manual.txt\n" "mutt manual"

it works if I remove the  and use f,1 keys. Why doesn't it bind to the 'f1' key? 
Ineed this help system at this stage of my learning process rather than having the 
manual in a seperate window.

Appreciate your patience, thank you.

bakki
-- 
  _ _
 .-. |M|S|  Bakki Kudva
 |D|_|a|y|  Navaco
 |o|m|n|s|\420 Pasadena Drive
 |c|e|a|t| \\   Erie, PA 16505-1037
 |u|n|g|e|  \\  http://www.navaco.com/
 | |T|e|m|   \ ph: 814-833-2592
""  fax:603-947-5747
e-Docs




Re: [newbie] slow on send?

2000-04-19 Thread Tim Waugh

On Wed, Apr 19, 2000 at 10:29:03AM -0400, Bakki Kudva wrote:

 1. When composing a new msg is there a way to bring up a picklist of
 pattern matched aliases?

Hit tab.

 2. I find myself inadvertently hitting keys..sometimes meant for a
 different console and I lose track of focus..and say ending up in
 the To: prompt when I hit 'm'. ANy way to escape out of these
 modal situations? Is there some way to define a global escape
 sequence which will get you out of any screen and bring you back
 to say the index screen?

Ctrl-G.

Don't know about the macro.

Tim.
*/

 PGP signature