Hi there,
I recently installed virtualmin on ubuntu 8.04. I initially had a bit of trouble getting it work correctly (as Eric knows). Eric (one of the admins/developers here?) made some changes on my server to get it to work.
However, i never checked to see if email and ftp were working before the changes.
My problems are as follows:
Email: -
- Emails send perfectly, but when replying/sending emails back to the same email address it came from, it doesn’t appear in the inbox. i do not receive an error message saying that the message was undelivered either.
FTP: -
- Any of the FTP users i create cannot login via a FTP client.
if there are any logs that i need to post, please let me know (i’m unsure which ones would help troubleshoot)
logs for mail and proc for email.
on a centos box it would be /var/log/maillog and /var/log/procmail.log
if you think the mail was delivered then it should show in the procmail.log, a line ending with Mode:None. Depending on your spamsettings and Mode:Spam, you might not see the mail.
Sometimes in the main.cf of postfix the line myorigin is not commented out, e.g. #myorigin.
This often creates trouble too.
Then it’s always worth to check out dns just in case. My favourite tool is www.intodns.com
This is what i have added for my dns records.
Mail (MX) Records
Prefix TTL Distance Value
600 0 vps12.vz1.ramhost.us
Web Site (A & CNAME) Records
Prefix TTL Type Value
600 A 208.110.69.206
www 600 A 208.110.69.206
thanks for the link. but i’m a total n00b when it comes to DNS.
i got a few blue ( i )'s and a red ( i ). i have no idea what they mean/how to fix them either
my result: http://www.intodns.com/bimblebox.co.uk
so if something is wrong please help
EDIT:
also i should mention, these records are held at the company where i purchased the domain
Well, the blue ones are okay, they’re just informational.
Red ones usually indicate a problem – it says it’s not seeing an IP for your ‘www’ record, though I’m seeing one here. So I don’t think that part is the problem.
so it looks like you have no mx record and A record. that would explain why mail isn’t delivered. Probably there are no A records for your FTP which explains why no one can log in.
At your registrar for bimblebox.co.uk add A records for ftp, mail and www
There should be a zone file on your server for your domain, it would also hold mx records. Thats the one to use at the registrar. I dont think you would use your VPS provider’s address.
so mail.bimblebox.co.uk then add the IP of your server as that would be the A record. When creating subdomains, be sure to add A records for that too at your registrar.
What this does is, you tell your registrar to tell the world were to find your services, such as domain, www, ftp, mail, subdomain by adding each service including the IP.
I have taken your advice into account, ronald, and these are now the records i have in place at my registrar:
Mail (MX) Records
Prefix TTL Distance Value
600 0 mail.bimblebox.co.uk
Web Site (A & CNAME) Records
Prefix TTL Type Value
600 A 208.110.69.206
ftp 600 A 208.110.69.206
www 600 A 208.110.69.206
mail 600 A 208.110.69.206
Eric:
I only just added the www record as i made the post so thats why it will say there isn’t one.
i guess i will have to wait a few hours before i can test it again.
are the records i added correct?