Mail configuration question
Iam a bit confused about my setup and i need some suggestions.
Iam using ISP Config for handling a few domains. One of my domain, i use an external mailserver for my mail which is working with no problem at all. But now i have encounter a small trouble. On the same domain, i use a webbased script which sends mail to a specified mailadress at the same domain. But when i do this, the mail doesnt go to the external mailserver, it goes to the local one. Ive created an identical address on the ispconfig server and when i manually connects to that account, all my mails that are generated through my script are here. So, it seems like the mail doesnt read the domain mx record when i send a mail from Ispconfig smtp.
Is there anyway i can solve this?