I have build a website (www.example.com
) on machine A, with sendmail fuction to implement contact us feature.
I have another machine b to as mail server for example.com
When i send email to members at machine A, no problem (e.g. sender email is email@example.com
However, when the member send a email to me through contact us form (e.g. to firstname.lastname@example.org
), OR i send an email to myself (from email@example.com
All mail won't go to machine B and captured by the sendmail daemon at machine A. since machine a doesn't have such email a/c , rejected by machine A.
I check the document of sendmail, it state
1)all mail in the client queue won't be process without the daemon, i know once i turn off the daeemon, it should delivery to machine b
is there any way for sendmail to send outgoing email from machine a and all email for localhost (example.com) delivery to machine A???
i try the smart host and mailertable, but the sendmail deamon on machine A for localhost seems supercede these two. all email will be captured by machine A sendmail deamon
Thanks in advance.