Re: qmail-qfilter with clam and a script
Olivier Mueller <[email protected]> Tue, 05 Jul 2005 23:37:00 +0200
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2005-07-05 at 14:40 -0400, Payal Rathod wrote:
> @4000000042ca68dd195c87e4 /usr/local/bin/qfilter-clam: xrealloc:
> ../general.c:762: cannot reallocate 262144 bytes (0 bytes allocated)
sounds like to low memory limites... (softlimit)
Here's the exec part of my supervise/qmail-smtpd/run file:
exec \
/usr/local/bin/envdir /etc/smtpfront \
/usr/local/bin/envdir /etc/relay-ctrl \
/usr/local/bin/softlimit -m 50000000 \
/usr/bin/relay-ctrl-chdir \
/usr/local/bin/tcpserver -v -R -H \
-l "`head -1 /var/qmail/control/me`" -x /etc/tcp.smtp.cdb \
-c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
/usr/local/bin/rblsmtpd -v -t 111 \
-r sbl.spamhaus.org \
-r relays.ordb.org \
-r list.dsbl.org \
/usr/bin/relay-ctrl-check \
/usr/bin/smtpfront-qmail 2>&1
HTH,
Olivier
--
_______________________________________________________
Olivier Müller - PGP key ID: 0x0E84D2EA - Switzerland
E-Mail: http://omx.ch/mail/ - AIM/iChat: swix3k