How can I stop q-mail from handling my domain specific emails?
For example, I have a blog installed on my server and it uses PHP to make use of the mail() function to send out emails.
mail('[email protected]', 'subject', 'message');
But when it sends email with @my-domain.com it doesn't leave the server to check what the MX records are, it just sends it locally because that address exists in its records some how.
I ask because I have started making use of GMail as my mail service provider and I need emails to arrive there rather than just stay in the server.
I hope I have made this clear as I am having trouble trying to find terms that I can use to serach via Google!
Thanks all
Qmail keeps it's configurations files in /var/qmail/control:
Remove your domain from the following files:
/var/qmail/control/rcpthosts /var/qmail/control/locals