Thanks Chris,  I did a cut and paste from the Living with Qmail document,
the "Bang" wasn't there.
To prevent certain denial-of-service attacks against qmail-smtpd, you should
create a simple wrapper in /var/qmail/bin/qmail-smtpd-wrapper that looks
like:
#/bin/bash
ulimit -d 1024
exec /var/qmail/bin/qmail-smtpd ${1+"$@"}

To Reply to Lorens Kockum:

This appears to be on inbound mail, rights problems would have to be with
the daemon running the inbound mail process? Can you assign rights to a
daemon? Just for my curiosity, what is he a part of "user,group,other".
Anyway, There are execute rights on the file.  Thanks for your comment also.
darkstar:~# cd /var/qmail/bin
darkstar:/var/qmail/bin# ls -Falc qmail-smtpd-wrapper
-rwxr-xr-x   1 root     root          163 Sep 19 22:15 qmail-smtpd-wrapper*


Thanks,
MarkT.




-----Original Message-----
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 20, 1999 6:37 AM
To: Mark Thomas
Cc: Qmail List
Subject: Re: qmail-smtpd-wrapper error.


On Sun, Sep 19, 1999 at 10:46:11PM -0500, Mark Thomas wrote:
> 937728523.256241 tcpserver: warning: dropping connection, unable to run
> /var/qmail/bin/qmail-smtpd-wrapper: access denied
> 937728523.256449 tcpserver: end 16854 status 28416
> 937728523.256503 tcpserver: status: 0/40
>
> This is the /var/qmail/bin/qmail-smtpd-wrapper
> #/bin/bash

The line above needs to be:

#!/bin/bash

And make sure that qmail-smtpd-wrapper is executable.

> # remmed the next line out due to errors.
> ***********************MCT**********************

What's the above line? It needs to be commented out.

> ulimit -d 1024
> exec /var/qmail/bin/qmail-smtpd $ {1+"$@"}

Chris

Reply via email to