Re: [Zope] mailhosts and mail server speed

2000-08-23 Thread Anthony Baxter


 Chris Withers wrote
 Shane Hathaway wrote:
   It's the call to mailhost.send() which is slow. I'd love to know why :S
  
   How much influence does the the mail server speed have to this? How can
   I measure it? ;-)
  
  Set up Sendmail on localhost and see if the problem goes away.  
 
 localhost is a windows NT workstation ;-)

Note that if you set up sendmail on a local box, make sure it either
handballs stuff off to a smarthost straight away, or you have stuff 
set up to check for sendmail getting upset and just queuing messages
for ever. Normally you'd notice breakages on your mail server - but
your web server might be a different matter entirely.

Course, it doesn't help in Chris' case, but there's nothing that can't be 
fixed with either a single CD of redhat or 3 CDs of debian. (or a 
freebsd CD, if that's what gets you going).

Anthony.
-- 
Anthony Baxter [EMAIL PROTECTED]   
It's never too late to have a happy childhood.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mailhosts and mail server speed

2000-08-23 Thread Matt Hoskins


 Note that if you set up sendmail on a local box, make sure it either
 handballs stuff off to a smarthost straight away, or you have stuff
 set up to check for sendmail getting upset and just queuing messages
 for ever. Normally you'd notice breakages on your mail server - but
 your web server might be a different matter entirely.

I've already dropped chris a mail about the issue. We run exim on our
main mailservers with the configuration such that it verifies envelope
addresses as much as it can (checks the domain exists for remote
addresses). This is likely to cause speed issues, and for mass mailing
or quick mailing from internal hosts it's better to have a different
copy set up to handle the mail (it can even be on the same server, just
on a different port with a different config, assuming the mail send
class being used allows you to specify an alternate port). There are
other config parameters to tweak if large amounts of mail are going to
churn through it to optimise for speed and parallel delivery (if you
queue mail and then send every 15 minutes, you can take advantage of the
fact exim will batch mails if it detects they can go down the same SMTP
connection). Where it's a forking mail server, if you are going to hit
it lots, there's options to configure the limit on accepted
connections/forked copies to stop the mail server grinding to a halt.

Matt

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mailhosts and mail server speed

2000-08-18 Thread Shane Hathaway

Chris Withers wrote:
 It's the call to mailhost.send() which is slow. I'd love to know why :S
 
 How much influence does the the mail server speed have to this? How can
 I measure it? ;-)

Set up Sendmail on localhost and see if the problem goes away.  Sendmail
(and most other mail servers) will queue the mail without holding up the
connection.  I don't know about you, but I get instantaneous mail
processing this way.

Shane

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mailhosts and mail server speed

2000-08-18 Thread Chris Withers

Shane Hathaway wrote:
  It's the call to mailhost.send() which is slow. I'd love to know why :S
 
  How much influence does the the mail server speed have to this? How can
  I measure it? ;-)
 
 Set up Sendmail on localhost and see if the problem goes away.  

localhost is a windows NT workstation ;-)

 Sendmail
 (and most other mail servers) will queue the mail without holding up the
 connection.  I don't know about you, but I get instantaneous mail
 processing this way.

Hmm, I think our mailserver, which I was using for this, does a DNS
check on the domain names to make sure they exist. I wonder if this is
what is causing the slowness of the response?

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mailhosts and mail server speed

2000-08-18 Thread Shane Hathaway

Chris Withers wrote:
 localhost is a windows NT workstation ;-)
 ^^

This is the real problem and you know it.  ;-)

 Hmm, I think our mailserver, which I was using for this, does a DNS
 check on the domain names to make sure they exist. I wonder if this is
 what is causing the slowness of the response?

Very possibly.  Manually add some entries to the HOSTS file and see if
things don't get a little snappier.

Shane

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )