Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Can send and receive emails

  1. #1
    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    3

    Default 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)

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by mc809 View Post
    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    3

    Default

    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.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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 View Post
    [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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    3

    Default

    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

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Post the output of the following commands:

    Code:
    host $(hostname)
    host $(zmhostname)
    zmhostname
    cat /etc/hosts
    Take a look in the log files for errors relating to the anti-spam system.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    3

    Default

    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,

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Dec 2011
    Posts
    11
    Rep Power
    3

    Default

    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 ~]$

  10. #10
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    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


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Replies: 3
    Last Post: 11-10-2011, 04:52 AM
  2. Outlook. Receive but cannot Send emails
    By mickbg in forum Zimbra Connector for Outlook
    Replies: 5
    Last Post: 05-16-2011, 10:57 PM
  3. Problem on receive mail and send mail
    By isacap18 in forum Administrators
    Replies: 1
    Last Post: 01-25-2008, 01:26 PM
  4. Replies: 4
    Last Post: 12-19-2006, 05:33 AM
  5. Can receive but send by using outlook express
    By mcmick in forum Administrators
    Replies: 0
    Last Post: 11-09-2006, 01:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •