#1  
Old 15th April 2011, 20:20
blochwall blochwall is offline
Junior Member
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default email not sending or recieving

Hi all,

I've just started running a vps as I wanted to learn a bit more about hosting (no particular reason).

My VPS is a currently running centos 5.2 with all the standardish webserver stuff, apache, mysql, postfix... (no BIND)

Recently I tried to add a domain to the vps by redirecting the A records from my domain name provider, and point to my vps ip address e.g @, mail, www

@ (type A) my.server.ip
mail (type A) my.server.ip
www (type A) my.server.ip


On my vps using ispconfig3, I have setup the DNS zone accordingly, and the website is now displaying as I would like.

Unfortunately, the mailbox I've set-up through ispconfig3 does not seem to send or receive mails, though I can log in via squirrelmail.

On my VPS the DNS zone records are as follows...

A-------mail--------------------------------my.server.ip-----------------------0
A-------mydomainname.com.-------my.server.ip-----------------------0
A-------www-------------------------------my.server.ip-----------------------0
MX-----mydomainname.com.-------mail.mydomainname.com.--10
NS-----mydomainname.com.-------ns1.mydomainnameh.com.-0
NS-----mydomainnam.com.---------ns2.mydomainnam.com.-----0


My email domain is setup like this

my.server.ip--------------------mydomainname.com

My mailbox is setup like:

email: me@mydomainname.com
Name: my name
auto responder: n

Can anyone see anything wrong with this

I'm sure there are many reasons for this problem however, I just wanted to eliminate the obvious.

EDIT: I should have said that I get no error messages when sending from or to the mailbox, which leads me to think its something to do with the dns records.

thanks in advance.

Last edited by blochwall; 15th April 2011 at 23:16.
Reply With Quote
Sponsored Links
  #2  
Old 16th April 2011, 11:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Any errors in your mail log?

Is the MX record correct? You can check that with
Code:
dig mx yourdomain.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th April 2011, 15:38
blochwall blochwall is offline
Junior Member
 
Join Date: Apr 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi there falko,

thanks for your reply.

I'm very sure my MX record is correct. I have checked both the recors over at 123-reg.co.uk and my vps and they match.

here is the last few lines of my /var/log/maillog which seem to keep repeating every minute.

Apr 16 09:30:29 server1 postfix/qmgr[12340]: fatal: unsupported dictionary type: mysql
Apr 16 09:30:29 server1 postfix/proxymap[12341]: fatal: unsupported dictionary type: mysql
Apr 16 09:30:29 server1 postfix/smtpd[12342]: fatal: unsupported dictionary type: mysql
Apr 16 09:30:30 server1 postfix/cleanup[21952]: warning: private/proxymap socket: service dict_proxy_open: Success
Apr 16 09:30:30 server1 postfix/master[7109]: warning: process /usr/libexec/postfix/qmgr pid 12340 exit status 1
Apr 16 09:30:30 server1 postfix/master[7109]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
Apr 16 09:30:30 server1 postfix/master[7109]: warning: process /usr/libexec/postfix/proxymap pid 12341 exit status 1
Apr 16 09:30:30 server1 postfix/master[7109]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
Apr 16 09:30:30 server1 postfix/master[7109]: warning: process /usr/libexec/postfix/smtpd pid 12342 exit status 1
Apr 16 09:30:30 server1 postfix/master[7109]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

The output of
Code:
dig mx mydomain.com
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> mydomainname.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31204
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mydomainname.com. IN A

;; ANSWER SECTION:
mydomainname.com. 86400 IN A my.server.ip

;; Query time: 20 msec
;; SERVER: 87.117.198.200#53(87.117.198.200)
;; WHEN: Sat Apr 16 09:39:37 2011
;; MSG SIZE rcvd: 52


hope this helps

thanks

Last edited by blochwall; 16th April 2011 at 15:40.
Reply With Quote
  #4  
Old 17th April 2011, 23:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Apr 16 09:30:29 server1 postfix/qmgr[12340]: fatal: unsupported dictionary type: mysql
Your Postfix doesn't have MySQL support. Which tutorial did you use to set up the server?
Basically, you must install Postfix from the CentOS Plus repository - see chapters 7 and 11 of this tutorial: http://www.howtoforge.com/perfect-se...64-ispconfig-3
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 30th November 2012, 17:01
fak3r fak3r is offline
Junior Member
 
Join Date: Nov 2012
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

This fixed the issue for me in Ubuntu 12.04:

Code:
apt-get install postfix-mysql
Reply With Quote
The Following User Says Thank You to fak3r For This Useful Post:
falko (2nd December 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stange mail problem The-Ghost Installation/Configuration 6 25th April 2010 19:59
Fedora 12 - Strage problem - Freezes K_meleonu Installation/Configuration 6 3rd March 2010 18:42
Apche hangs ever few minutes after an update rslinks Server Operation 2 12th December 2009 18:57
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
sending email (connect, login) = slow TheRudy Server Operation 7 8th July 2006 12:46


All times are GMT +2. The time now is 21:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.