Hi

I try to send mail (like http://www.php.net/mail) and it works fine.
I define my own headers.

But my question is about "wrong mail delivery".
I use exim4.34.
When I send mail via PHP script, then I see in my logs:

2004-10-26 11:04:36 1CMNFs-00046O-T9 <= [EMAIL PROTECTED] U=www-data 
P=local S=913

And mail was deliver to specify (To:) header
Mail arrive with correct From: header line.

But problem is present when domain does not exist:

(1) 2004-10-26 10:21:35 1CMMaF-0003Qm-IH <= [EMAIL PROTECTED]  U=www-data 
P=local S=934
(2) 2004-10-26 10:21:35 1CMMaF-0003Qm-IH ** [EMAIL PROTECTED]: Unrouteable 
address
(3) 2004-10-26 10:21:35 1CMMaF-0003Qp-Jc <= <> R=1CMMaF-0003Qm-IH U=exim4 
P=local S=1692
(4) 2004-10-26 10:21:35 1CMMaF-0003Qp-Jc => /dev/null <[EMAIL PROTECTED]> 
R=system_aliases T=**bypassed**

So.. If domain was not exist (like (2)), then exim4 generate error message 
and send [EMAIL PROTECTED] (like (4)).
Is some way to change it? I never set in any config these address.
I try to set in mail header Return-Patch:, but it seems to no work :(

I use debian version php: 4.3.9

-- 
I greet
Wieslaw 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to