I have a new ISPConfig webserver set-up using the perfect setup. We are not an ISP, so this server will be primarily used to host our company website, intranet, plus the websites of a handful of associated businesses. Previously our websites were hosted by an external ISP. As we have not yet gone live, most of the domains continue to be hosted by that ISP, including the primary domain specified in the ISPConfig Settings. This primary domain is also our internal network domain and its "www" is our company website. Because the DNS for most of our domains continue to be handled by external ISPs, I have not yet ticked the various DNS checkboxes. For the domain names relating to our main company website and intranet, I wish all the email to be handled by our normal mailserver, so that emails generated by CGI scripts on the server with recipient "firstname.lastname@example.org" should end up in the mailbox "name" on our normal mail-server. For these domains I have set each site to use "External mailserver" in ISPConfig. Presumably this just does a DNS lookup for the MX record for the domain, regardless of whether the DNS is handled locally or not? I have added our mail-server to the hosts table, although I am not sure that this is strictly necessary as presumably it would be found by the normal DNS resolution. The problem is that the emails generated by our Intranet CGI scripts are building up in /var/mail/web1_<username> instead of being relayed to our mailserver. Any thoughts on how to resolve this problem? (I would like to retain the flexibility of being able to use the ISPConfig handling of mail for the other sundry domains, perhaps by Webmail or POP3.) Thanks.