Hi,
I was also looking at the prefork version from the 0.3x branch.
I just downloaded the 03x branch, and implemented the config as I was using
on 0.32. Some things won't work:
- It seems like config/smtpgreeting is ignored
- Quit doesn't work
It says: "221 closing connection. Have a wonderful day." But doesn't
disconnect.
- TLS doesn't work
Logdebug output:
-----------------------------------------------------
dispatching STARTTLS
tls
220 Go ahead with TLS
TLS setup returning
Plugin tls, hook unrecognized_command returned DONE,
500 Unrecognized command
dispatching EHLO [x.x.x.x]
tls
Plugin tls, hook ehlo returned DECLINED,
check_spamhelo
trying to get config for badhelo
Plugin check_spamhelo, hook ehlo returned DECLINED,
trying to get config for tls_before_auth
trying to get config for me
trying to get config for databytes
250-mail hi host [x.x.x.x]
250-PIPELINING
250 8BITMIME
dispatching HELO [x.x.x.x]
503 but you already said HELO ...
-----------------------------------------------------
Tested it with both Thunderbird and swaks, the output from swaks:
-----------------------------------------------------
<- 220 mail ESMTP qpsmtpd 0.33-dev ready; send us your
mail, but not your spam.
-> EHLO mail
<- 250-mail8 Hi localhost [127.0.0.1]
<- 250-PIPELINING
<- 250-8BITMIME
<- 250 STARTTLS
-> STARTTLS
<- 220 Go ahead with TLS
=== TLS started w/ cipher AES256-SHA
~> EHLO mail8
<~* 500 Unrecognized command
~> HELO mail8
<~ 250-mail Hi localhost [127.0.0.1]
<~ 250-PIPELINING
<~ 250 8BITMIME
~> MAIL FROM:<[EMAIL PROTECTED]>
<~* 503 but you already said HELO ...
~> QUIT
<~* 250 <[EMAIL PROTECTED]>, sender OK - how exciting to get
mail from you!
=== Connection closed by foreign host.
-----------------------------------------------------
I've disabled all other plugins, and I've also tried to manually patch the
0.32 branch, but got the same results.
Am I missing somehting here? :)
Regards,
Ruben van der Zwan
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Leonardo Helman
Sent: dinsdag 25 juli 2006 16:08
To: Lars Roland
Cc: Leonardo Helman; Qpsmtp Mailing List (to)
Subject: Re: Performance Issues
On Tue, Jul 25, 2006 at 03:32:02PM +0200, Lars Roland wrote:
> On 7/25/06, Leonardo Helman <[EMAIL PROTECTED]> wrote:
> >> When you are talking about concurrent connections are you then
> >> refering to established connections from netstat ?, or actual
> >> connections doing qpsmtpd work ?.
> >When qpsmtpd can catch up to the incomming traffic the netstat/forked
> >are roughly the same.
> >When it can't process all the connections, they start queueing in the
> >backlog (SOMAXCONN) and the client has to wait for a minute to
> >receive the 220.
>
> Yep - what I meant was if you try to prefork processes enough to deal
> with such a load you will need a really big server. All my tests with
> prefork seams to indicate that 120 connections (at least with our
> scanning needs on a dual 3ghz xeon) is maximum, above 120 our load sky
> rockets, scanning times get high and not much extra email is handled.
Yes, I saw something like that (a little less, but my machines are
a little less also)
>
> >At first sight the qpsmtp-prefork have the QUIT issue (there is a mail in
> >the
> >list and a commit talking about this, but the patch is not really
commited)
>
> What quit issue are you referring to here ?. I submitted the original
> qpsmtpd-preforking daemon and will be very interested in ironing out
> any remaining problems with it. The version in the 0.3x branch works
> fine for us (remember to use the two subclassing modules).
I'm sorry, I'm missing something.
I don't know anything about subclassing modules.
This is what I've done:
I've svn co 0.3x
Then copied config.sample to config (commented out almost all plugins file)
Then started the preforking server
./qpsmtpd-prefork --port 2525 --max-from-ip 5 --user leoh
connect to port 2525
But when you send the quit command, it never releases the connection
Regards
Saludos
--
Leonardo Helman
Pert Consultores
Argentina
>
>
> --
> Lars Roland