Hello !

I have a problem on mail header sent through my server.

I have WHM/Cpanel server with hostname : new.mydomain.com.
I have several webhosts inside the WHM/Cpanel server, one of them in myotherdomain.com with userid : other.

I set a cgi script in myotherdomain.com. When the script run, it will send out email to subscribers. Those emails has a mail header of new.mydomain.com (hostname). Because email sent for myotherdomain.com with a mail header of new.mydomain.com (DIFFERENT DOMAINS), those emails will be knwon as spam and will go to Spam folder (in Gmail.com) and can not send if the receiver is a Yahoo account.

My question is: how can I solve this problem ?

Thank you,
MyAfiliasi