| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
12-19-2011, 07:50 AM
| | | Can send and receive emails Hi all,
I have just successfully install ZCS in RHEL 6 64bit platform, and the ZCS is behind the firewall using NAT, thus I have setup split-DNS for it. But I can't send/receive the mails. I extracted the maillog below for whom can help me to figure out the problem. Than you.
Dec 19 23:36:32 mx02 postfix/qmgr[31735]: 0D408E186A: from= , size=4942, nrcpt=1 (queue active)
Dec 19 23:36:32 mx02 postfix/smtp[13333]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Dec 19 23:36:32 mx02 postfix/smtp[13333]: 0D408E186A: to=, relay=none, delay=362, delays=362/0.07/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Dec 19 23:36:33 mx02 postfix/smtpd[13335]: warning: valid_hostname: misplaced delimiter: mx02.atomic-info.net.
Dec 19 23:36:33 mx02 postfix/smtpd[13335]: connect from unknown[192.168.11.6]
Dec 19 23:36:33 mx02 postfix/smtpd[13335]: 14F91E189E: client=unknown[192.168.11.6]
Dec 19 23:36:33 mx02 postfix/cleanup[13338]: 14F91E189E: message-id=<95f08867-030a-4425-9ba0-fe1a674f9627@mx02>
Dec 19 23:36:33 mx02 postfix/qmgr[31735]: 14F91E189E: from=, size=580, nrcpt=1 (queue active)
Dec 19 23:36:33 mx02 postfix/smtpd[13335]: disconnect from unknown[192.168.11.6]
Dec 19 23:36:33 mx02 postfix/smtp[13333]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Dec 19 23:36:33 mx02 postfix/smtp[13333]: 14F91E189E: to=, relay=none, delay=0.05, delays=0.05/0/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) | 
12-19-2011, 08:28 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by mc809 Dec 19 23:36:33 mx02 postfix/smtpd[13335]: warning: valid_hostname: misplaced delimiter: mx02.atomic-info.net.
Dec 19 23:36:33 mx02 postfix/smtpd[13335]: connect from unknown[192.168.11.6] | There's an error in your configuration, post the output of all the commands in the 'Verify....' section of the Split DNS article.
__________________
Regards
Bill
| 
12-19-2011, 05:20 PM
| | | Hi,
thanks for your reply, here below are the verify section for you reference:
[root@mx02 etc]# dig atomic-info.net any
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-2.el6_1.P3.2 <<>> atomic-info.net any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3810
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;atomic-info.net. IN ANY
;; ANSWER SECTION:
atomic-info.net. 600 IN SOA mx02.atomic-info.net. root.atomic-info.net. 2011121901 10800 900 604800 86400
atomic-info.net. 600 IN NS mx02.atomic-info.net.
atomic-info.net. 600 IN A 192.168.11.6
atomic-info.net. 600 IN MX 10 mx02.atomic-info.net.
;; ADDITIONAL SECTION:
mx02.atomic-info.net. 600 IN A 192.168.11.6
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Dec 20 09:14:46 2011
;; MSG SIZE rcvd: 141
[root@mx02 etc]# dig atomic-info.net mx
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-2.el6_1.P3.2 <<>> atomic-info.net mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7024
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;atomic-info.net. IN MX
;; ANSWER SECTION:
atomic-info.net. 600 IN MX 10 mx02.atomic-info.net.
;; AUTHORITY SECTION:
atomic-info.net. 600 IN NS mx02.atomic-info.net.
;; ADDITIONAL SECTION:
mx02.atomic-info.net. 600 IN A 192.168.11.6
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Dec 20 09:17:23 2011
;; MSG SIZE rcvd: 84
[root@mx02 etc]# host atomic-info.net
atomic-info.net has address 192.168.11.6
atomic-info.net mail is handled by 10 mx02.atomic-info.net. | 
12-19-2011, 11:36 PM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | That DNS information is OK but you missed out the information from the hosts file.
The following output shows you what the error is: Quote:
Originally Posted by mc809 [root@mx02 etc]# host atomic-info.net
atomic-info.net has address 192.168.11.6
atomic-info.net mail is handled by 10 mx02.atomic-info.net. | Notice at the end of the last line there's a period (full stop) after the domain name, that shows that the /etc/hosts file is incorrect. Look at that file and remove the period from the end of the domain name then reboot the server and mail should be OK after that.
__________________
Regards
Bill
| 
12-20-2011, 05:21 AM
| | | Hi Bill,
Thanks for your help first.
I have tried to remove a period from /etc/hosts and restart the system.
However, it always shows a full stop at the output when I use the command "host atomic-info.net".
[zimbra@mx02 conf]$ host atomic-info.net
atomic-info.net has address 192.168.11.6
atomic-info.net mail is handled by 10 mx02.atomic-info.net.
Secondly, I found the myhostname variable in /opt/zimbra/postfix-2.7.5.2z/conf/main.cf automatically adds a full stop after the domain name, when I reboot the system.
[main.cf]
myhostname = mx02.atomic-info.net.
Please show me how to permanently change it ?
Lastly, I found the antispam and antivirus services cannot start. Please help me to fix it too.
Host mx02.atomic-info.net.
antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
zmconfigd Running
Thank you very very much | 
12-20-2011, 05:39 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Post the output of the following commands: Code: host $(hostname)
host $(zmhostname)
zmhostname
cat /etc/hosts Take a look in the l og files for errors relating to the anti-spam system.
__________________
Regards
Bill
| 
12-20-2011, 06:53 AM
| | | Hi,
Here are the outputs :
[zimbra@mx02 ~]$ host mx02.atomic-info.net
mx02.atomic-info.net has address 192.168.11.6
[zimbra@mx02 ~]$ host atomic-info.net
atomic-info.net has address 192.168.11.6
atomic-info.net mail is handled by 10 mx02.atomic-info.net.
[zimbra@mx02 ~]$ zmhostname
mx02.atomic-info.net.
[zimbra@mx02 ~]$ cat /etc/hosts
192.168.11.6 mx02.atomic-info.net mx02
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
I checked the spamtrain.log and found it automatically adds a full stop after my domain name, then caused antispam failed to start. But I couldn't find any obvious error in clamd.log
0111219230004 Starting spam/ham extraction from system accounts.
Exception in thread "main" com.zimbra.common.service.ServiceException: system failure: admin auth failed url=https://mx02.atomic-info.net.:7071/service/admin/soap/
ExceptionId:main:1324306819528:16a3a9cb3ec47821
Code:service.FAILURE
thanks, | 
12-20-2011, 07:00 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | What does the output of the following show: Code: zmprov gs `zmhostname` | grep mx02.atomic-info.net
zmlocalconfig | grep mx02.atomic-info.net Do all the entries show as the correct FQDN or do they have the period following them?
__________________
Regards
Bill
| 
12-20-2011, 07:16 AM
| | | Always has a period following the domain name, see below
[zimbra@mx02 ~]$ zmprov gs `zmhostname` | grep mx02.atomic-info.net
# name mx02.atomic-info.net.
cn: mx02.atomic-info.net.
zimbraMtaAuthHost: mx02.atomic-info.net.
zimbraMtaAuthURL: http://mx02.atomic-info.net.:80/service/soap/
zimbraServiceHostname: mx02.atomic-info.net.
zimbraSmtpHostname: mx02.atomic-info.net.
zimbraSpellCheckURL: http://mx02.atomic-info.net.:7780/aspell.php
zimbraSshPublicKey: ssh-dss AAAAB3NzaC1kc3MAAACBAMJpa1zlvD0+KZITA9xd2w9Bby2H0i iRjaNtNeMO6zGxe2MEBMtqgGFERQUL68VyPLCvUqdv8DkzRzVZ 04Lo41pFijw0zMLPie7GCRrgnGW8/cUSbNVwGLAQ9Icvp/f1ECGHSJD4Zyadz/Or5e5+jzNpf08a2ZCulnug5WNOqncTAAAAFQCvEzB86vaFzQtO I9V4Hl8O8aJiwQAAAIBoLYm2h+kTwZVg0rcc1kjfweGf8qvrbD DE+6MdBkdJcGSvgezqJ6ITfhrdve1agv7OEadxjSPKK1RKhlJs v3TtXCY+sGI1pI8KbfvPJ77UgL86+uG8vhIsu8Rqa/iwZSA4A2ucgU1aPNoICXmUxUiJYAWUuk1XqoMiTQpF1IX5YgAA AIAva83HKeAuTgyT2PO/VWzAKpSFNncO4PAf2M64/Q+2KVYechx8Ze7EuCBbqDl/cYRZ14i+vzU5ZgX4theiMAZaY1fKJ5u6Mc645DVXUDzqCCLTam 1tByjVcDrQ2QNJwiopbv+IXROT1TLwj/FV1dbWzm4YiMpB55yAsb+X4U1a9A== mx02.atomic-info.net.
[zimbra@mx02 ~]$ zmlocalconfig | grep mx02.atomic-info.net
ldap_host = mx02.atomic-info.net.
ldap_master_url = ldap://mx02.atomic-info.net.:389
ldap_url = ldap://mx02.atomic-info.net.:389
snmp_trap_host = mx02.atomic-info.net.
zimbra_server_hostname = mx02.atomic-info.net.
[zimbra@mx02 ~]$ | 
12-20-2011, 07:31 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Try this first:
1) delete your current /etc/hosts file
2) edit a new /etc/hosts file with "vim /etc/hosts"
3) copy & paste (or type it as new text) the following into the new file: Code: 192.168.11.6 mx02.atomic-info.net mx02
127.0.0.1 localhost.localdomain localhost Save the file and restart the server, does that work? Does the output from the commands in the last post look the same if you run them now?
BTW, is this a new server or have you upgraded it? Is there any email on this server that you would wish to preserve?
__________________
Regards
Bill
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |