So, I have found reason.
I cant deliver email from server to adress, which has domain also on server. Well, hard to describe for me - so heres example:
1) I have domain
mydomain.com
2) In ispCP admin area I set new virtual for mydomain.com
3) I edit DNS of mydomain.com like this: A record on IP of my server
4) but I also edit MX records on eg. Google Apps (both DNS change made via domain register interface)
5) When I try send email from my server on user@mydomain.com, it will be not delivered into Google Apps (because I guess server/ispcp has set his own MX record on himself)
6) When I try send email from server to any other adress, everything is ok.
So it's not caused by changin default virtual hostname, or FQDN.
Is there a way, how to correct it? Thanks for replies.
SOLUTION:
http://isp-control.net/forum/thread-1776.html
(11-13-2007 06:40 PM)rbtux Wrote: then you have to remove the domain from your
"/etc/ispcp/postfix/working/domains"
and from "/etc/postfix/ispcp/domains"
and run "postmap /etc/postfix/ispcp/domains"
and run "postfix reload"
when my asumption was wrong please provide more info...
Before I will mark it like SOLVED, is there a simplier way, how to take out domains from postfix?