Hi, I'm running a ISPConfig 2.2.35 server who doesn't want to forward mail to the same domain as the hostname. Let's say the servers hostname at the datacenter is server1.mydomain.com running ISPConfig, the other mailserver at the office is server2.mydomain.com running Zimbra. All mail forwarded from server1 to server2 with the domainname @mydomain.com gives the error 'user unknown'. When I create a testuser on server1 (not with ISPConfig), testuser can receive mail as [email protected] so there must be an network error but I can't figure out how to solve this. Any idea?
I've been trying to fix this for hours. The minute I posted this I found it. mydomain.com was in /etc/postfix/local-host-names Sorry. This topic should be deleted.
Remember that when you change something in your ispconfig web admin, that file will be overwritten and forwarding for that domain will stop again .. what you need to do is set the mailserver to "external" 1. login to the web admin 2. search your domain 3. Goto tab: Options -> Mailserver -> External Mailserver 4. Goto tab: Co-domains -> Click on the domain -> Options -> Mailserver -> External Mailserver Now ISPConfig knows that all mail for @mydomain.com is not hosted on his server, but will send it to the specified one in your MX records (These setups are typical when you only host websites on your server and use a different one for mail) (Deleting this thread wouldn't help other people that might run into this problem, replying on your own thread with a found solution is what makes a forum like this so helpfull)
Thanks for your reply. I didn't know this. Indeed, after every update I have to adjust these settings.