Delayed Outgoing Mail

kewraz

New member
Joined
Dec 11, 2006
Messages
4
So I have the problem with PHP mail(). Outgoing Mail from Outlook Express works perfectly.

When I try to send letter from PHP script, this letter comes to recipient over 12 minutes (i think, when Exim retry all mail queue).

This is mainlog:

2007-01-03 19:14:18 1H29gw-0005EG-UO <= [email protected] U=admin P=local S=551 T="Message Subject" from <[email protected]> for [email protected]
2007-01-03 19:14:18 1H29gw-0005EG-UO failed to open /dev/null: Permission denied (euid=8 egid=8)
2007-01-03 19:26:04 1H29gw-0005EG-UO => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=572 H=gmail-smtp-in.l.google.com [66.249.93.27] C="250 2.0.0 OK 1167845292 u1si20418832uge"
2007-01-03 19:26:04 1H29gw-0005EG-UO Completed


Also php.ini sendmail_path is /usr/sbin/sendmail -t -i -f [email protected], but why Exim try to send mail from [email protected]?

My DirectAdmin installation is standart:

Exim 4.63
PHP 4.4.4
 
The problem was in /dev/null file (failed to open /dev/null: Permission denied).
I tried to chmod /dev/null with 666 and now exim works fine.
 
Back
Top