php mail() function not working

Fraser Campbell fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org
Mon Oct 6 03:34:36 UTC 2003


On Sunday 05 October 2003 21:03, Keith Mastin wrote:

> > What are the permissions on your maildrop directory?  In Debian the
> > maildrop  directory is /var/spool/postfix/maildrop/ and these are the
> > permissions:
> >
> > drwx-wx--T    2 postfix  postdrop       48 Oct  5 19:02 maildrop
>
> I didn't have the sticky bit set. Setting it didn't make a difference. Get
> this. I set the dir to 777, tried again... still no joy.

Postfix is a very security concious program, security conscious programs do 
not like 777 permissions and often will puke and die if you set them that 
way.  Anyway, can't say I've ever had the problem you're describing, 
officially out of ideas now.

> snafu's with security fixes breaking something. So if apache is ran as
> apache.shadow-readers, sendmail is root.root and postfix is run as
> postfix.postdrop, who do I compile php as? Arrgh!

You should compile php as anyone (non-root), few programs should (or need to 
be) compiled as the root user.

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                             Debian GNU/Linux

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list