Pietro Melideo wrote:
> Guys,
> 
> I'm trying to send mail from a web application written in PHP the
> function used is sendmail, but
> I'm becoming crazy; here is the what I've seen in the "warnings" file
> generated by postfix:
> 
> Aug 23 17:41:39 sigea postfix/local[24841]: warning: maildir access
> problem for UID/GID=109/109: create /no/dir/Maildir/tmp/
> 1124811699.P24841.sigea.lgnet.it: Permission denied
> Aug 23 17:41:39 sigea postfix/local[24841]: warning: perhaps you need to
> create the maildirs in advance
> 
> 
> the UID/GID 109 is httpd it should be the default used by the sendmai
> application?

My bet is that your PHP app is sending emails with httpd as sender.
Someone has responded to such an email or the email has bounced and thus
Postfix tries to deliver it to your httpd user. Sadly for Postfix, httpd
has no home directory according to /etc/passwd.
'Permission denied' is a little bug and should obviously be 'No such
file or directory'.

The correct way to handle this is either to have your app use a valid
mailbox as sender or redirect mail to httpd elsewhere (say forward it to
yourself or /dev/null).

Creating a mail storage for httpd is probably not what you want.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to