cannot receive emails after made website online
I have made my website online with godaddy following this howto by Falko http://www.howtoforge.com/ispconfig_dns_godaddy, and everything works fine,i'm able to access my website from anywhere, it is truely available online. But i cannot receive email from my yahoo! account for example, although i have one user as an administrator of the website with an email address set in IspConfig.
So basically :
1)when i go on mail.yahoo.com and i send an email to website_admin_login_in_ISPConfig@mywebsite.com i do not receive any error from yahoo! but after login with webmail on the ISPConfig server using that website admin account i have noting inbox.
2)when i go on mail.yahoo.com and i send an email to the website administrator user email address as set in ISPConfig which is by the way firstname.lastname@example.org, i do not receive any error from yahoo! but after login with webmail on the ISPConfig server using that website admin account i have noting inbox still.
Have i done some thing wrong there?
thanks for your answers.
Please check your mail logfile for errors.
there is no log mail directory in /var/www/ and also in /var/www/webxx , in /var/www/webxx/log i have an error.log file with nothing relevant to this matter, the only error showing in this file is :
[Wed Dec 12 09:26:59 2007] [error] [client 2xx.1xx.1xx.1xx] File does not exist: /var/www/webxx/web/css, referer: http://www.mywebsite.com/
i wonder if i should not add my mailserver in the godaddy Host Summary which is accordind to the howto by falko : mail.mywebsite.com
I have followed all the instruction in this link http://www.howtoforge.com/forums/showthread.php?t=2
i was unable to do : postmap /etc/postfix/virtusertable i got instead :
bash: postmap: command not found
so i restarted postfix with /etc/init.d/postfix restart that was ok and then restared ispconfig with /etc/init.d/ispconfig_server restart that was ok too.
now this is what i have :
sample_user is a user in the ISPconfig system who has the following email address : email@example.com
now i'm able to receive emails sent to firstname.lastname@example.org but when i send emails to email@example.com from webmail i have the following in the inbox :
From: Mail Delivery System
Subject: Undelivered Mail Returned to Sender
I think the problem is with postmap which is not working, any clue?
If you are using the Maildir format, please enable it within ISPConfig under Management > Server > Settings > Email
MailDir was already enabled under Management > Server > Settings > Email
while going there to verify i noticed that there is a /var/log/maillog file, i will post the output of the file here.
But i still do not understand why i cannot postmap on my FC6 Box, i get this instead > bash: postmap: command not found
I still do not know where is the problem here.
You can try to find the full path of the postmap command with:
Ok I know where the problem is now but cannot solved it.
First thanks Till, the command locate postmap returns /usr/sbin/postmap then i was able to run it, but it did not solved the problem.
while i try to send a mail to firstname.lastname@example.org with webmail i received : Mail Delivery System Undelivered Mail Returned t..., and the content of it is the following :
The mail system
<email@example.com_domain.com> (expanded from <firstname.lastname@example.org>):
Host or domain name not found. Name service error for
name=myispconfig_domain.com type=A: Host not found
Content-Description: Delivery report
Reporting-MTA: dns; monster.tagatbolivia.com
X-Postfix-Sender: rfc822; email@example.com
Arrival-Date: Fri, 14 Dec 2007 11:13:07 -0400 (BOT)
Final-Recipient: rfc822; firstname.lastname@example.org_domain.com
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=host.myispconfig_domain.com type=A: Host not found
So if i understand the mail system cannot resolved the ispconfig domain name(myispconfig_domain.com) which is different from the one i register my website(mydomain.com), this is normal since i did not register on godaddy the ISPConfig domain name, hoping for future customers to reach it by his IP address.
Now as it said in the postfix main.cf file :
# INTERNET HOST AND DOMAIN NAMES
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
mydomain = mydomain.com
#mydomain = domain.tld
So as you can see i have change the mydomain value to the corresponding domain vale of my website, but it does not change nothing because postfix always use the result of gethostname() to fix the hostname and the domain values.
So now the question is how to force postfix to use my website domain instead of the ispconfig server domain is there any postfix command to set that, because for security reasons i prefer to have a different domain name of ISPconfig server and my website although they both reside on the same FC6 Box.
As you can see i managed to put the ispconfig_domain name = monster.tagatbolivia.com :) , i noticed it when i read back myself after posting also i forgot to say that after any changes to /etc/postfix/main.cf i always restart it with /etc/init.d/postfix restart.
Any comment is very appreciated.
|All times are GMT +2. The time now is 16:16.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.