out of the box the sendmail application does not have the sgid bit set. The problem is that the /var/spool/mqueue-client folder that it tries to write to is not world writable. The solution to this is to set the sgid bit on the sendmail executable (in the choot env).

-Dan

Krzysztof Jóźwiak wrote:

Hello!

My web server was hacked a few days ago and I decided to install some new program and modules which improve security.
I find in sarge libapache-mod-chroot which chroot apache (and it work fine) but I can't send mail from php.
I installed ssmtp in chroot (I think so) in chroot environment but it doesn't help :(


Does anyone use this module? Perhaps I do something wrong with it ssmtp...

--
Krzysztof Jozwiak
Debian administrator






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to