[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is pine so slow?



Ah, the wonders of sendmail.  In the out-of-the-box configuration of
sendmail, it passes mail along in "background" mode.  One might think that
this means it does everything in the background.  Not so, for a few small
details.  Sendmail in background mode checks the validity of the
destination address through a DNS lookup before returning control to the
sending program (i.e. pine).

If you don't mind either some delay in actually sending your mail or an
increased load on your host, you can make some changes to your sendmail
configuration to take advantage of "deferred" delivery mode (something I
use on my host, which is the backup Debian list server, so that I don't
get slowness during list processing).

In your /etc/mail/sendmail.cf:

# default delivery mode
O DeliveryMode=background

becomes

# default delivery mode
O DeliveryMode=deferred


In your /etc/init.d/sendmail:

Q="30m"

becomes 

Q="1m"

or whatever interval you'd like.  I run a variant of this on my mailing
list server at 3 seconds, but this can get out of hand very quickly unless
you use other sendmail tricks to keep sendmail from swamping your machine.

I've spent quite some time playing with sendmail, so feel free to ask
further questions.  I haven't used smail whatsoever, so I doubt I'd be
able to help much.

Pete Templin
templin@bucknell.edu


On Wed, 25 Jun 1997, Paul Wade wrote:

> On Wed, 25 Jun 1997, Shaya Potter wrote:
> 
> > On Wed, 25 Jun 1997, Leandro Asnaghi-Nicastro wrote:
> > 
> > > >I use Debian 1.2/Linux 2.0.29 and the Pine 3.96 package.
> > > >But, when I send mail with it, it is very slow (it takes about 1 ou 2
> > > >minutes to send a message).
> > > 
> > >         Could it be that the connection with the mail server is slow?  If
> > > you are on a dial-up and you are using POP3, depending on the speed of your
> > > connection, the mail server will take it's sweet time.
> > > 
> > 
> > I'm not so sure, I am using sendmail on my linux box, and pine is slow
> > with it.
> 
> I get the same with smail and I'm not using a smarthost. I think it could
> be an smail or pine config thing, because you would think that smail would
> accept the mail right away and pine would continue. Makes me think that it
> makes an initial delivery attempt at the time. I know that when I have
> mail in the retry spool, pine runs normally.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: