View Full Version : Problem with domain an email
rutame
24th July 2008, 15:44
Hello.
Already the email configuration, web, ftp and all is working fine, but i continued having problems with two domains.
I have grafycomp.es and grafycomp.com, well, when send and email to user@grafycomp.com is recived in grafycomp.es!! and dont see nothing bad.
For this reason i cant recive email in grafycomp.com domain until i did create grafycomp.es again.
This is message error: <pedro_no@grafycomp.es> (expanded from <pedro_no@grafycomp.com>): mail for
grafycomp.es loops back to myself
What can be?
Thank you very much.
(sorry for my english)
till
24th July 2008, 18:35
I guess you used the domain as server hostname as you installed the server. There are 2 solutions:
1) Reconfigure postfix main.cf file to use another domain.
or 2) Add the line:
grafycomp.es
at the end of the file /etc/postfix/local-host-names and restart postfix.
rutame
24th July 2008, 20:01
Hellow Till.
My postfix main.cf has as myhostname = ubuntuserver.grafycomp.com , then i should change this for recive emails in the accounts of grafycomp.com domain?
Do you mean that?
Thanks
till
24th July 2008, 20:12
My postfix main.cf has as myhostname = ubuntuserver.grafycomp.com , then i should change this for recive emails in the accounts of grafycomp.com domain?
No. In this case, use option 2)
Hans
24th July 2008, 20:14
What is the output of the commands:
hostname
hostname -f
?
(The output of hostname and hostname -f should be the same).
Within your main.cf change (if needed) myhostname = ubuntuserver.grafycomp.com into the output of the command hostname -f
rutame
24th July 2008, 20:21
Hello.
It is the same, ubuntuserver.grafycomp.com
I cant recive email in grafycomp.com domain.
I go to try the Tillīs solution in few minutes. Later tell you what happened.
Thanks
rutame
24th July 2008, 20:32
Well, thing continued same. Whe i send email to grafycomp.com is recived in grafycomp.es
I think that the server is saving the configuration and when i delete it follow there.
Hans
24th July 2008, 20:42
After changing your main.cf file, did you restart postfix afterwards with the command /etc/init.d/ postfix restart
?
rutame
24th July 2008, 20:43
Yes of course ;)
rutame
24th July 2008, 20:45
I think that the two domains is the same, because i changed de user password in grafycomp.com and changed too in grafycomp.es
rutame
24th July 2008, 22:57
No. In this case, use option 2)
Hellow again Till.
Look this, i had deleted the domains grafycomp.com and grafycomp.es (i empty the trast too) but still working grafycomp.es domain!! It is very weird.
Why happens that?
Thank you
till
25th July 2008, 09:56
This means that the domain grafycomp.es points in dns still to your server either because it is listed in /etc/hosts or because the domain points to your local server in the dns server.
so, make sure that the domain is not listsd in /etc/hosts and not in the ispconfig dns-manager and change the IP address to an external server in the authoritive dns server for grafycomp.es.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.