qmail issues

[SIZE=2]I had my mail server lock up. Ever since then it has been giving out of memory error when sending mail and some incoming messages (usually important ones) have no content. IE:[/SIZE]
[SIZE=2][/SIZE]
[SIZE=2]===========================================================[/SIZE]
[SIZE=2]Return-Path: <xxxxx@aol.com>
Delivered-To: mhammett@ics-il.net
Received: (qmail 7359 invoked by uid 108); 18 May 2006 20:12:12 -0000
===========================================================[/SIZE]
[SIZE=2][/SIZE]
[SIZE=2]That’s all I get. Any ideas?[/SIZE]

Hello,

Did you try to add more memory to qmail by invreasing the softlimit ?

If not you might do it :

  • Edit /service/smtp/run (with vim , nano or your prefered editor)

You should have somethinh like this

exec /usr/bin/softlimit -m xxxxxx
/usr/bin/tcpserver -v -R -S -p -x $TCP_CDB -c “$MAXSMTPD”
-u “$QMAILDUID” -g “$NOFILESGID” 0 smtp
$RBLSMTPD $BLACKLIST $SMTPD $HOSTNAME $VCHKPW /bin/true 2>&1

Where xxxxxx is your current memory soflimit for qmail.

Try to increase this number like for example : 25000000

Pascal

exec /usr/bin/softlimit -m 6400000 \
     /usr/bin/tcpserver -v -R -S -p -x $TCP_CDB -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
     $RBLSMTPD $BLACKLIST $SMTPD $HOSTNAME $VCHKPW /bin/true 2>&1

It looks like I already have 6.4 megs allocated, so I should allocate 25 megs to it?

Then do I restart the MTA service in the control panel? I’m not a complete Linux newb, but this is not where I do know what’s going on and I’m not sure how integrated things are with the control panel and what affects what.

You might try with just a little more memory and increase it if it is not suffisant.

Maybe first try with 15000000 (roughly 15MB)

Then restart qmail
service smtp restart

Pascal