hello all, Is it possible to config only one of my domain in ispconfig to use external mail server ?! I set mail server to external in that domain and co-domain settings and then create a MX record that points to external mail server.But it does not work. I use dig tools and it return correct answer but it seems that ispconfig should remove my domain name form "/etc/postfix/local-host-names".because when i try to mail from other domains to that domain(with external mail server) it(postifx) try to deliver it locally.... Any Idea?! TNX
Yes. Just select "External Mailserver" for the domain in question. If it's a Co-Domain, you can find that setting on the Co-Domains tab > select Co-Domain > Options. For the web site's main domain it's on the Options tab of the web site.
I done that before but no use! ... When I try to send mail my MTA try to send that locally and I got 'unknown user ' error from postfix!
Do you use that domain as the hostname for the server? Do you see it somewhere in /etc/postfix/main.cf or /etc/mailname?
no,another domain shown there !! but sth that may helps.. in the case my specefix domain that I wants to use other mail server is domain.com i have host1.mydomain.com in /etc/hosts ... and
I have many subdomains(x.domain.com,y.domain.com,...) of that domain (domain.com) in local-host-names file but no in main.cf. can't I exclude domain.com manually??!!
Code: postconf -d | grep domain.com mydomain = domain.com myhostname = host1.domian.com I added mydomain= host1.domain.com to main.cf but have the same output! how i can change that?!!