[qmailtoaster] Out of memory error sending from Squirrelmail on CentOS6

2014-04-11 Thread Diana Calder
System is a CentOS6 x64 running the testing qmailtoaster (DK
disabled) (in a VM on Citrix XenServer 6.2)

This toaster has been up and running for a few weeks now and, to the
best of my knowledge (I almost never use the webmail interface),
outgoing mail from Squirrelmail WAS working fine up until yesterday.
Yesterday, staff started seeing the following when trying to send an
email from Squirrelmail:

ERROR:
Message not sent. Server replied:

Service not available, closing channel
421 out of memory (#4.3.0)


I've already tried increasing the softlimit - it didn't help. I've
also tried increasing storage (from 8 to 16GB) and RAM (from 2 to 4GB)
on the VM - also didn't help (didn't really expect it to but it was
worth a shot).

Sending messages works fine from a mail client, so the problem appears
to be specific to Squirrelmail and/or port 587. Testing via telnet
from the webserver confirms that port 587 is the culprit:

[root@qmail tcprules.d]# telnet localhost 587
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 qmail.essexcountylibrary.ca - Welcome to Qmail Toaster Ver. 1.3 SMTP Server 
ESMTP
mail from:dcal...@essexcountylibrary.ca
421 out of memory (#4.3.0)
Connection closed by foreign host.

Here's the contents of /var/qmail/supervise/submission/run

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SMTPD=/var/qmail/bin/qmail-smtpd
TCP_CDB=/etc/tcprules.d/tcp.smtp.cdb
HOSTNAME=`hostname`
VCHKPW=/home/vpopmail/bin/vchkpw
export REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 7500 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 587 \
$SMTPD $VCHKPW /bin/true 21

Suggestions??

-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Out of memory error sending from Squirrelmail on CentOS6

2014-04-11 Thread Diana Calder
I'm not sure whether this is related or not, however...

Squirrelmail will not accept usern...@domain.com plus password for
login - it will only accept username plus password:

ERROR:
ERROR: Connection dropped by IMAP server.
Query: LOGOUT

Connecting with a mail client, either format (usern...@domain.com or
username) works.

Obviously, I'd like to fix this as well but it's less urgent than the
lack of ability to send email from Squirrelmail. I'm just not sure
whether one may perhaps have something to do with the other...

Diana

Friday, April 11, 2014, 2:28:46 PM, you wrote:

 System is a CentOS6 x64 running the testing qmailtoaster (DK
 disabled) (in a VM on Citrix XenServer 6.2)

 This toaster has been up and running for a few weeks now and, to the
 best of my knowledge (I almost never use the webmail interface),
 outgoing mail from Squirrelmail WAS working fine up until yesterday.
 Yesterday, staff started seeing the following when trying to send an
 email from Squirrelmail:

 ERROR:
 Message not sent. Server replied:

 Service not available, closing channel
 421 out of memory (#4.3.0)


 I've already tried increasing the softlimit - it didn't help. I've
 also tried increasing storage (from 8 to 16GB) and RAM (from 2 to 4GB)
 on the VM - also didn't help (didn't really expect it to but it was
 worth a shot).

 Sending messages works fine from a mail client, so the problem appears
 to be specific to Squirrelmail and/or port 587. Testing via telnet
 from the webserver confirms that port 587 is the culprit:

 [root@qmail tcprules.d]# telnet localhost 587
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 qmail.essexcountylibrary.ca - Welcome to Qmail Toaster Ver. 1.3 SMTP 
 Server ESMTP
 mail from:dcal...@essexcountylibrary.ca
 421 out of memory (#4.3.0)
 Connection closed by foreign host.

 Here's the contents of /var/qmail/supervise/submission/run

 #!/bin/sh
 QMAILDUID=`id -u vpopmail`
 NOFILESGID=`id -g vpopmail`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 SMTPD=/var/qmail/bin/qmail-smtpd
 TCP_CDB=/etc/tcprules.d/tcp.smtp.cdb
 HOSTNAME=`hostname`
 VCHKPW=/home/vpopmail/bin/vchkpw
 export REQUIRE_AUTH=0

 exec /usr/bin/softlimit -m 7500 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 587 \
 $SMTPD $VCHKPW /bin/true 21

 Suggestions??




-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com