sky
Verified User
- Joined
- Nov 12, 2004
- Messages
- 318
PHP failling to send e-mails [resolved]
Hello
Im not sure if this is a PHP problem, apache or exim related...
I just updated DA to the lastest version : 1.38.0
Im not sure at what moment the e-mails stoppped working, but now i have erreur logs in : /var/log/httpd/error_log
Examples :
I tried a set_permission.sh .. no luck
I checked out the perms of /var/spool/exim :
I think the perms are correct.
Then i also have logs like this in mailqeue :
(this is a spam... but still, ...)
Versions :
This is a new server, with imported backups from remote server... might help you.
Im not sure where the problem is, so just ask for any other logs you might need...
Edit : What is strange is that Roundcube can send e-mails without any problem.
Its only when using PHP.
I recompiled PHP and apache but no luck.
Thx for your help,
Sky
Hello
Im not sure if this is a PHP problem, apache or exim related...
I just updated DA to the lastest version : 1.38.0
Im not sure at what moment the e-mails stoppped working, but now i have erreur logs in : /var/log/httpd/error_log
Examples :
Code:
2011-03-20 13:28:32 1Q1HkG-0003dv-D6 Failed to create spool file /var/spool/exim/input/G/1Q1HkG-0003dv-D6-D: Permission denied
2011-03-20 13:28:32 1Q1HkG-0003dv-D6 Failed to create spool file /var/spool/exim/input/G/1Q1HkG-0003dv-D6-D: Permission denied
2011-03-20 13:28:32 1Q1HkG-0003dv-D6 Failed to create spool file /var/spool/exim/input/G/1Q1HkG-0003dv-D6-D: Permission denied
2011-03-20 13:34:21 1Q1Hpt-0003gT-9A Failed to create spool file /var/spool/exim/input/t/1Q1Hpt-0003gT-9A-D: Permission denied
2011-03-20 13:34:21 1Q1Hpt-0003gT-9A Failed to create spool file /var/spool/exim/input/t/1Q1Hpt-0003gT-9A-D: Permission denied
2011-03-20 13:34:21 1Q1Hpt-0003gT-9A Failed to create spool file /var/spool/exim/input/t/1Q1Hpt-0003gT-9A-D: Permission denied
etc...
I tried a set_permission.sh .. no luck
I checked out the perms of /var/spool/exim :
Code:
[root@noir httpd]# cd /var/spool/exim
[root@noir exim]# ls -l
total 12
drwxr-xr-x 2 mail mail 4096 mar 9 17:22 db
drwxr-xr-x 64 mail mail 4096 mar 20 04:03 input
drwxr-xr-x 64 mail mail 4096 mar 20 04:03 msglog
I think the perms are correct.
Then i also have logs like this in mailqeue :
Code:
2011-03-20 13:33:07 Received from [email protected] H=d78-241.icpnet.pl (ewa-7pyvwc6rwnw.icpnet.pl) [77.65.78.241] P=esmtp S=1836 [email protected] T="To the job seekers"
2011-03-20 13:33:07 [email protected] R=domain_filter defer (-1): internal problem in domain_filter router (recipient is [email protected]): failure to transfer data from subprocess: status=0100 readerror='Success'
Versions :
Code:
Apache 2.2.17 Running
DirectAdmin 1.38.0 Running
Exim 4.72 Running
MySQL 5.1.56 Running
Named 9.3.6 Running
ProFTPd 1.3.3d Running
sshd Running
dovecot 2.0.11 Running
Php 5.2.17 Installed
This is a new server, with imported backups from remote server... might help you.
Im not sure where the problem is, so just ask for any other logs you might need...
Edit : What is strange is that Roundcube can send e-mails without any problem.
Its only when using PHP.
I recompiled PHP and apache but no luck.
Thx for your help,
Sky
Last edited: