Hello D (very nice name!),
what is the output of
dig (at mark) 127.0.0.1 domain.com MX
with "domain.com" replaced by the domain in question.
Regards,
Chris
Friday, July 14, 2006, 4:36:17 PM, you wrote:
bdc> Hi all,
bdc> I have a domain with DNS set up as follows:
bdc> domain.com A 11.22.33.44
bdc> www.domain.com A 11.22.33.44
bdc> mail.domain.dom 55.66.77.88
bdc> domain.com MX mail.domain.com
bdc> Email from the Internet gets redirected to the client's IP (55.66.77.88,
bdc> above) without problems, but Apache-
bdc> generated email (using php's mail() function) results in a bounce being
bdc> sent to the admin email account like this:
bdc> ----- The following addresses had permanent fatal errors -----
bdc> user (at mark) domain.com
bdc> (reason: 553 5.3.0 <user (at mark) domain.com>... No such user here)
bdc> (expanded from: user (at mark) domain.com)
bdc> ----- Transcript of session follows -----
bdc> ... while talking to [127.0.0.1]:
bdc> >>> DATA
bdc> <<< 553 5.3.0 <user (at mark) domain.com>... No such user here
bdc> 550 5.1.1 user (at mark) domain.com... User unknown
bdc> <<< 503 5.0.0 Need RCPT (recipient)
bdc> From the above, it appears apache is trying to find the user at localhost
bdc> rather than the client's IP. Does anybody
bdc> know how to fix this or what the problem could be?
bdc> D
bdc> --------------------------------------------------------------------
bdc> mail2web - Check your email from the web at
bdc> http://mail2web.com/ .
--
Best regards,
Chris mailto:C.Hemsing (at mark) gmx.net