Hi again

I've tried the various suggestions about raising the memory limit (I went as
high as 100M) but I don't think this is the problem. I still get the error
message in the telnet session after typing .<CR> to terminate the email.

I guess one thing I failed to mention in my previous message was that I'm
starting qmail-smtpd via xinetd and passing in the following settings:

env = QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
rlimit_as = 100M
server = /usr/sbin/tcpd
server_args = /var/qmail/bin/tcp-env -R /var/qmail/bin/qmail-smtpd

I don't think this is where the problem lies however as I'm fairly happy that
xinetd is (functionally) equivalent to tcpserver and should honour the
environment limits and I think it is more likely to be a permissions error.
Please correct me if I'm mistaken about xinetd's behaviour.

If I have Perl installed as suid, should I be using the C wrapper ? Does it
matter ?

Here is are the file permissions/ownership of the qmail scanner programs:
-rwsr-xr-x 1 qscand qscand 4696 Jun 20 16:00 /var/qmail/bin/qmail-scanner-queue
-rwxr-xr-x 1 qscand qscand 120999 Jun 21 12:25
/var/qmail/bin/qmail-scanner-queue.pl


Also, I would have thought there should be some corresponding log message from
qmail when it issues the "unable to exec qq" message. Where should I look for
this ? Do I need to enable more debugging options in qmail ? or xinetd ?

Thanks again

Jeremy


PS. I've tried to install the daemontools package but this fails when running
package/install with undefined references to errno when loading envdir, unix.a
& byte.a. This means that running /usr/local/bin/softlimit is not an option at
the moment.

PPS. I've taken over administration of this box after the previous admin left
so I'm still finding my way around.






-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to