Use user (at mark) mail.domain.com instead. Do you have an email alias setup on the
web server form domain.com?
Jeremy
On 7/14/06, bqlist (at mark) distortal.com <bqlist (at mark) distortal.com> wrote:
>
> Hi all,
>
> I have a domain with DNS set up as follows:
>
> domain.com A 11.22.33.44
> www.domain.com A 11.22.33.44
> mail.domain.dom 55.66.77.88
> domain.com MX mail.domain.com
>
> Email from the Internet gets redirected to the client's IP (55.66.77.88,
> above) without problems, but Apache-
> generated email (using php's mail() function) results in a bounce being
> sent to the admin email account like this:
>
> ----- The following addresses had permanent fatal errors -----
> user (at mark) domain.com
> (reason: 553 5.3.0 <user (at mark) domain.com>... No such user here)
> (expanded from: user (at mark) domain.com)
>
> ----- Transcript of session follows -----
> ... while talking to [127.0.0.1]:
> >>> DATA
> <<< 553 5.3.0 <user (at mark) domain.com>... No such user here
> 550 5.1.1 user (at mark) domain.com... User unknown
> <<< 503 5.0.0 Need RCPT (recipient)
>
> From the above, it appears apache is trying to find the user at localhost
> rather than the client's IP. Does anybody
> know how to fix this or what the problem could be?
>
>
> D
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
>
>
>
6024_2.html (attatchment)