Hello all,
My school uses Zimbra and I was looking for a email service that worked well, and I thought I'd give the open source version a shot. I'm on a clean install of Debian 5 and I was able to get it working for my main domain, domain1.com. I want to add other domains to it though as I have some friends that also have domains. I added the domains domain2.com and domain3.com and from them I can send email to anyone, but not receive. I can receive email on domain2.com from domain3.com or whatever combination of the three but they cannot receive mail outside of my server. Recall that domain1.com can receive email from anyone.
I:
Added the domains through the admin GUI and through CLI
CLI command used: zmprov cd domain2.com
Read/searched the forums but can't seem to find my answer
Can receive email on one of the domains (my main domain) so I cannot understand why I can't receive on the other two
Waited to ensure my DNS settings were propogated.
Did receive delivery failure noticed 24 hours later from Gmail (after the logs below)
Have virtual hosts setup
Some things you guys look for:
Debian is completely updated
Zimbra Version: Release 6.0.9_GA_2686.DEBIAN5 DEBIAN5 FOSS edition.
My server is from
Linode - Xen VPS Hosting
I am running a bind server with afraid.org acting as a backup server
I'm not entirely sure why this doesn't work:
Code:
linode:~# host `hostname`
Host linode not found: 3(NXDOMAIN)
Code:
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
173.255.1.1 linode.domain1.com linode
#note that I do not have an internal IP address.
The following was done in a seperate computer using Google DNS servers 8.8.8.8 and 8.8.4.4
Mail server:
Code:
dig linode.domain1.com
;; QUESTION SECTION:
;linode.domain1.com. IN A
;; ANSWER SECTION:
linode.domain1.com. 38400 IN A 173.255.1.1
MX for main domain (and this one works):
Code:
dig domain1.com mx
;; QUESTION SECTION:
;domain1.com. IN MX
;; ANSWER SECTION:
domain1.com. 38400 IN MX 10 linode.domain1.com.
Second domain (sends but won't receive non-my domain emails):
Code:
dig domain2.com mx
;; QUESTION SECTION:
;domain2.com. IN MX
;; ANSWER SECTION:
domain2.com. 30290 IN MX 5 linode.domain1.com.domain2.com.
Third domain (sends but won't receive non-my domain emails too):
Code:
dig domain3.com mx
;; QUESTION SECTION:
;domain3.com. IN MX
;; ANSWER SECTION:
domain3.com. 37564 IN MX 30 linode.domain1.com.domain3.com.
I notice the ones that don't work have the linode.domain1.com before them in the mx record. Is that normal for my situation? Phoenix says it is wrong in this
thread but my bind config should not give those kind of results:
Code:
domain3.com. IN MX 30 linode.domain1.com
Code:
domain2.com. IN MX 5 linode.domain1.com
I use webmin to edit my bind configs.
When sending from Gmail to domain1.com:
Code:
Dec 10 09:07:11 linode zmmailboxdmgr[17969]: status requested
Dec 10 09:07:11 linode zmmailboxdmgr[17969]: status OK
Dec 10 09:08:04 linode zmmailboxdmgr[18277]: status requested
Dec 10 09:08:04 linode zmmailboxdmgr[18277]: status OK
Dec 10 09:08:17 linode postfix/smtpd[18613]: connect from mail-ww0-f44.google.com[74.125.82.44]
Dec 10 09:08:17 linode postfix/smtpd[18613]: E82204E273: client=mail-ww0-f44.google.com[74.125.82.44]
Dec 10 09:08:18 linode postfix/cleanup[18652]: E82204E273: message-id=<AANLkTik4dGwbcOo=V0TrZ0=_ez4e93iRQyae+5W2x6_j@mail.gmail.com>
Dec 10 09:08:18 linode postfix/qmgr[18779]: E82204E273: from=<thomas@gmail.com>, size=1872, nrcpt=1 (queue active)
Dec 10 09:08:18 linode amavis[16870]: (16870-02) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20101210T070309-16870: <thomas@gmail.com> -> <thomas@domain1.com> SIZE=1872 Received: from linode.domain1.com ([127.0.0.1]) by localhost (linode.domain1.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <thomas@domain1.com>; Fri, 10 Dec 2010 09:08:18 +0000 (UTC)
Dec 10 09:08:18 linode amavis[16870]: (16870-02) Checking: XJ-PCdhisP3X [74.125.82.44] <thomas@gmail.com> -> <thomas@domain1.com>
Dec 10 09:08:19 linode postfix/smtpd[18733]: connect from localhost.localdomain[127.0.0.1]
Dec 10 09:08:19 linode postfix/smtpd[18733]: A5EE74E274: client=localhost.localdomain[127.0.0.1]
Dec 10 09:08:19 linode postfix/cleanup[18652]: A5EE74E274: message-id=<AANLkTik4dGwbcOo=V0TrZ0=_ez4e93iRQyae+5W2x6_j@mail.gmail.com>
Dec 10 09:08:19 linode postfix/qmgr[18779]: A5EE74E274: from=<thomas@gmail.com>, size=2848, nrcpt=1 (queue active)
Dec 10 09:08:19 linode postfix/smtpd[18733]: disconnect from localhost.localdomain[127.0.0.1]
Dec 10 09:08:19 linode amavis[16870]: (16870-02) FWD via SMTP: <thomas@gmail.com> -> <thomas@domain1.com>,BODY=7BIT 250 2.0.0 Ok, id=16870-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A5EE74E274
Dec 10 09:08:19 linode amavis[16870]: (16870-02) Passed CLEAN, [74.125.82.44] [74.125.82.44] <thomas@gmail.com> -> <thomas@domain1.com>, Message-ID: <AANLkTik4dGwbcOo=V0TrZ0=_ez4e93iRQyae+5W2x6_j@mail.gmail.com>, mail_id: XJ-PCdhisP3X, Hits: -0.8, size: 1872, queued_as: A5EE74E274, dkim_id=@gmail.com,thomas@gmail.com, 1430 ms
Dec 10 09:08:19 linode postfix/smtp[18664]: E82204E273: to=<thomas@domain1.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.1, delays=0.42/0.07/0.26/1.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=16870-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A5EE74E274)
Dec 10 09:08:19 linode postfix/qmgr[18779]: E82204E273: removed
Dec 10 09:08:20 linode postfix/lmtp[18734]: A5EE74E274: to=<thomas@domain1.com>, relay=linode.domain1.com[173.255.1.1]:7025, delay=0.59, delays=0.09/0.01/0.22/0.27, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Dec 10 09:08:20 linode postfix/qmgr[18779]: A5EE74E274: removed
Dec 10 09:08:31 linode zmmailboxdmgr[19159]: status requested
Dec 10 09:08:31 linode zmmailboxdmgr[19159]: status OK
Dec 10 09:08:32 linode zmmailboxdmgr[19217]: status requested
Dec 10 09:08:32 linode zmmailboxdmgr[19217]: status OK
Dec 10 09:08:48 linode postfix/smtpd[18613]: disconnect from mail-ww0-f44.google.com[74.125.82.44]
But when I send to domain2.com I see nothing:
Code:
Dec 10 09:08:48 linode postfix/smtpd[18613]: disconnect from mail-ww0-f44.google.com[74.125.82.44]
Dec 10 09:09:50 linode zmmailboxdmgr[20043]: status requested
Dec 10 09:09:50 linode zmmailboxdmgr[20043]: status OK
Dec 10 09:09:51 linode zmmailboxdmgr[20101]: status requested
Dec 10 09:09:51 linode zmmailboxdmgr[20101]: status OK
Dec 10 09:10:02 linode zimbramon[20139]: 20139:info: 2010-12-10 09:10:02, QUEUE: 0 0
Dec 10 09:10:09 linode zmmailboxdmgr[20536]: status requested
Dec 10 09:10:09 linode zmmailboxdmgr[20536]: status OK
Dec 10 09:11:10 linode zmmailboxdmgr[21405]: status requested
Dec 10 09:11:10 linode zmmailboxdmgr[21405]: status OK
Dec 10 09:11:11 linode zmmailboxdmgr[21463]: status requested
Dec 10 09:11:11 linode zmmailboxdmgr[21463]: status OK
Gmail says:
Technical details of temporary failure:
The recipient server did not accept our requests to connect. Learn more at
'The recipient server did not accept our requests...' - Gmail Help
[linode.domain1.com.domain2.com. (5): Destination address required]
I think it's a DNS problem, but I can't see what I did wrong.