hosted website could delivery email

I created a virtual server for a client which hosted only the website.
Email processing (send/receive) will not handle by my server.
However I checked that all emails sending (ie website contact form) from the website could not be received on client’s mailbox.

I looked into maillog, and found something like

Apr 19 11:46:31 host2 postfix/local[21911]: 5CFC3633834D: to=postfix@host2.myserver.domain, orig_to=root@host2.myserver.domain, relay=local, delay=0.05, delays=0.03/0/0/0.02, dsn=5.2.0, status=bounced (can’t create user output file)

However if I create a testing mail php script , sending email to whatever email address but not with client’s domain email address, all of them are received successfully.
What’s wrong with it ?

Of course the domain name resolution is not handle by our server too.

The client just add a A record pointed to out server ip for his’s website.

Howdy,

If your domains have email hosted elsewhere – you’d need to make sure that the “Mail for Domain” feature is disabled in “Edit Virtual Server”.

-Eric