Re: [xmail] 100% CPU usage

2012-04-12 Thread Fred
Hello,

Thanks for your reply.

The problem is not the PHP script. I am able to reproduce the problem with
any other script that use XMail as their SMTP gateway, as long as it sends 2
mails per second to the server.

I have added these 2 parameters to the cmd line : -MR 16384 -MS 8192 and it
seemed to help a bit. At least the server keep responding but CPU still go
all out 200% for a few minutes.

I have tried disabling defaultgateway in server.tab as well as custmaplist
without any effects.

I will keep work on that and let you know if you put the finger on the
problem. If anyone thinks of anything I could try please reply!

Thanks


-Original Message-
From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]
On Behalf Of D. Vitoshnov
Sent: 11 avril 2012 23:28
To: 'XMail Users Mailing List'
Subject: Re: [xmail] 100% CPU usage

Your problem is in your phpscript.
Nobody can help you.


-Original Message-
From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]
On Behalf Of Fred
Sent: Thursday, April 12, 2012 2:26 AM
To: 'XMail Users Mailing List'
Subject: Re: [xmail] 100% CPU usage

bump

-Original Message-
From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]
On Behalf Of Fred
Sent: 10 avril 2012 10:38
To: 'XMail Users Mailing List'
Subject: [xmail] 100% CPU usage

Hello, I would like to know what I can do about that problem?

My XMail server is hitting 100% CPU usage (and stops receiving mails, pop3,
etc) when a PHP script (phpmailer) is using it as a SMTP server to send
mails. This is not mass mailing but only many people registering on a
website at the same time. (like 500 people within 15 minutes).

I have tried disabling ALL filters at all levels without any success. I have
tried debug mode but I don't see anything suspicious except that it will
stop receiving and sending when going 100%.

Here is my commandline options:

XMAIL_CMD_LINE=-Y- -F- -Pl -Ph -PX 256 -Sl -SX 256 -Fl -Cl -Ll -Ln 64 -Yl
-Ql -Qg -Qn 128 -SI x.x.x.x:25 -SI x.x.x.x:2525 -SI x.x.x.x:2255 -SI
x.x.x.x:15582 -Sl y.y.y.y:25 -SI y.y.y.y:2525

I have tried messing with threads number and using default value with no
success.

I am running FreeBSD-7.0 x64 on a dualcore xeon CPU.

If anyone can provide some help / tips I would appreciate.

Thanks

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] Problem with Xmail and ASSP

2012-04-12 Thread Stig Østvang

Hi, all.

I'm running xmail 1.27, ASSP 1.9.1.3 and Telaen.org 1.1.2 webmail.

Before I installed ASSP, I didn't have any problems with  xmail and 
Telaen, but after I installed ASSP I can't send mail using the 
webmail. It's set up to use SMTP. Unless I have used a regular mail 
client shortly before. If I close down my regular email client and 
wait for a while (I don't know exactly how long I have to wait), I 
can't send mail using the webmail. Reading mail is no problem. I have 
enabled SMTP logging in the webmail, bur I can't really see why it 
fails, so I'm hoping that some of the other users using ASSP as well 
have any suggestions.


When I have a successful delivery, I get the following output:
SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 220 oestvang.no 
1329736597.2770332...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Mon, 20 Feb 2012 12:16:37 +0100 
SMTP - get_lines(): $data is 220 oestvang.no 
1329736597.2770332...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Mon, 20 Feb 2012 12:16:37 +0100 
SMTP - FROM SERVER: 220 oestvang.no 
1329736597.2770332...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Mon, 20 Feb 2012 12:16:37 +0100

SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 250-oestvang.no 
SMTP - get_lines(): $data is 250-oestvang.no 
SMTP - get_lines(): $data was 250-oestvang.no 
SMTP - get_lines(): $str is 250-VRFY 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 
SMTP - get_lines(): $str is 250-ETRN 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 250-ETRN 
SMTP - get_lines(): $str is 250-8BITMIME 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 

SMTP - get_lines(): $str is 250-AUTH LOGIN PLAIN CRAM-MD5 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 250-AUTH LOGIN PLAIN CRAM-MD5 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 250-AUTH LOGIN PLAIN CRAM-MD5 

SMTP - get_lines(): $str is 250 SIZE 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 250-AUTH LOGIN PLAIN CRAM-MD5 250 SIZE 
SMTP - FROM SERVER: 250-oestvang.no 250-VRFY 250-ETRN 250-8BITMIME 
250-AUTH LOGIN PLAIN CRAM-MD5 250 SIZE

SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 250 OK 
SMTP - get_lines(): $data is 250 OK 
SMTP - FROM SERVER: 250 OK
SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 250 OK 
SMTP - get_lines(): $data is 250 OK 
SMTP - FROM SERVER: 250 OK
SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 354 Start mail input; end with . 
SMTP - get_lines(): $data is 354 Start mail input; end with . 
SMTP - FROM SERVER: 354 Start mail input; end with .
SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 250 OK  
SMTP - get_lines(): $data is 250 OK  
SMTP - FROM SERVER: 250 OK
SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 221 [XMail 1.27 ESMTP Server] service 
closing transmission channel 
SMTP - get_lines(): $data is 221 [XMail 1.27 ESMTP Server] service 
closing transmission channel 
SMTP - FROM SERVER: 221 [XMail 1.27 ESMTP Server] service closing 
transmission channel




When I have a failed delivery, I get the following:
SMTP - FROM SERVER:
SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 220 oestvang.no 
1330866455.2715798...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Sun, 4 Mar 2012 14:07:35 +0100 
SMTP - get_lines(): $data is 220 oestvang.no 
1330866455.2715798...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Sun, 4 Mar 2012 14:07:35 +0100 
SMTP - FROM SERVER: 220 oestvang.no 
1330866455.2715798...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Sun, 4 Mar 2012 14:07:35 +0100
SMTP - ERROR: EHLO not accepted from server: 220 oestvang.no 
1330866455.2715798...@oestvang.no [XMail 1.27 ESMTP Server] service 
ready; Sun, 4 Mar 2012 14:07:35 +0100

SMTP - get_lines(): $data was 
SMTP - get_lines(): $str is 250-oestvang.no 
SMTP - get_lines(): $data is 250-oestvang.no 
SMTP - get_lines(): $data was 250-oestvang.no 
SMTP - get_lines(): $str is 250-VRFY 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 
SMTP - get_lines(): $str is 250-ETRN 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 250-ETRN 
SMTP - get_lines(): $str is 250-8BITMIME 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 250-8BITMIME 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 

SMTP - get_lines(): $str is 250-AUTH LOGIN PLAIN CRAM-MD5 
SMTP - get_lines(): $data is 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME 250-AUTH LOGIN PLAIN CRAM-MD5 
SMTP - get_lines(): $data was 250-oestvang.no 250-VRFY 250-ETRN 
250-8BITMIME