Problems sending to emails

wdeboer

Verified User
Joined
Jul 16, 2005
Messages
40
I have two servers when I try to send a te-mail from PHP from server two to server one. I am getting the following error in the Exim logs:

Code:
2006-01-08 14:37:37 1Evajp-0000Oy-5s == [email][email protected][/email] R=userforward defer (-1): failed to stat /var/www/apache/. (No such file or directory)
2006-01-08 14:37:37 1Evajp-0000Oy-5s ** [email][email protected][/email]: retry timeout exceeded
2006-01-08 14:37:37 1Evajp-0000Oy-5s [email][email protected][/email]: error ignored
2006-01-08 14:37:37 1Evajp-0000Oy-5s Completed

I try to send a e-mail to the real server of this domain db-consultancy.nl from the second server. Only somehow this doesn't work, I have no clue why.
 
Is apache the username? Or does the username forward to apache?

apache is a system user, and has it's own directory path, /www/html.

There's obviously no user mailbox file (which would be named apache) in /www/html.

Jeff
 
Hi, thanks for your answer....

The test-script does the following:

mail($recipientemail,"$subject","$message","From: $Name <$Email>");

where $recipientemail contains a valid address.

DirectAdmin's Exim mainlog gives the following back:

2006-01-08 20:02:34 1EvfoI-0000s5-Ku <= [email protected] U=apache P=local S=568 T="Online-Form Response for Test mail" from <[email protected]> for [email protected]
2006-01-08 20:02:36 1EvfoI-0000s5-Ku ** [email protected] F=<[email protected]> R=lookuphost T=remote_smtp: SMTP error from remote mailer after MAIL FROM:<[email protected]> SIZE=1611: host mx1.xs4all.nl [194.109.24.132]: 553 5.1.8 <[email protected]>... Domain of sender address [email protected] does not exist
2006-01-08 20:02:36 1EvfoK-0000s8-6q <= <> R=1EvfoI-0000s5-Ku U=mail P=local S=1636 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2006-01-08 20:02:36 1EvfoI-0000s5-Ku Completed
2006-01-08 20:02:36 1EvfoK-0000s8-6q == [email protected] R=userforward defer (-1): failed to stat /var/www/apache/. (No such file or directory)
2006-01-08 20:02:36 1EvfoK-0000s8-6q ** [email protected]: retry timeout exceeded
2006-01-08 20:02:36 1EvfoK-0000s8-6q [email protected]: error ignored
2006-01-08 20:02:36 1EvfoK-0000s8-6q Completed

Might the problem be that there are no headers made with "Reply to:" in it?

Weyert
 
Perhaps that would help.

However I don't think so. Looking at the error message again today I think the problem is there's no DNS record for s02.db-consultancy.nl.

Jeff
 
Back
Top