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

Thread: [SOLVED] problem with local emails

  1. #1
    barth is offline Intermediate Member
    Join Date
    Mar 2010
    Posts
    16
    Rep Power
    5

    Default [SOLVED] problem with local emails

    Hello,

    I've installed new zimbra 6.x and after a few days I've noticed that local emails won't work. All of these emails are stored in mailq.

    [root@andromeda log]# mailq | grep Requests
    postqueue: warning: Mail system is down -- accessing queue directly
    -- 81 Kbytes in 120 Requests.

    zimbra seems to start correctly:
    [zimbra@andromeda ~]$ zmcontrol status
    Host andromeda.xxx.xxx
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running

    in /var/log/zimbra.log I have:
    Apr 8 10:20:16 andromeda zimbramon[2304]: 2304:info: Starting mta via zmcontrol
    Apr 8 10:20:38 andromeda postfix/postfix-script[7537]: warning: not owned by root: /opt/zimbra/data/postfix/spool
    Apr 8 10:20:38 andromeda postfix/postfix-script[7544]: warning: not owned by root: /opt/zimbra/postfix-2.6.5.2z/conf/main.cf
    Apr 8 10:20:39 andromeda postfix/postfix-script[7545]: warning: not owned by root: /opt/zimbra/postfix-2.6.5.2z/conf/master.cf
    Apr 8 10:20:39 andromeda postfix/postfix-script[7546]: warning: not owned by root: /opt/zimbra/postfix-2.6.5.2z/conf/master.cf.in
    Apr 8 10:20:39 andromeda postfix/postfix-script[7561]: starting the Postfix mail system
    Apr 8 10:20:39 andromeda postfix/master[7562]: daemon started -- version 2.6.5, configuration /opt/zimbra/postfix-2.6.5.2z/conf

    Do you have any ideas how to fix it?

    Thanks
    Barth

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Those messages are fine. If you wish to look at the queue you need to do
    Code:
    su - zimbra
    postqueue -p

  3. #3
    barth is offline Intermediate Member
    Join Date
    Mar 2010
    Posts
    16
    Rep Power
    5

    Default

    In Zimbra mailq is empty but the problem is :
    I send email to local user and it goes to #mailq and zimbra never gets it.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes
    When you send a email locally please check /var/log/zimbra.log and post the SMTP transaction here please.

  5. #5
    barth is offline Intermediate Member
    Join Date
    Mar 2010
    Posts
    16
    Rep Power
    5

    Default

    # cat /etc/hosts

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    xxx.xxx.xxx.xxx andromeda.domain.xx andromeda

    cat /etc/resolv.conf
    search domain.xx
    nameserver 150.254.173.3
    nameserver 150.254.173.2

    [root@andromeda log]# dig domain.xx mx

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> domain.xx mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13669
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;domain.xx. IN MX

    ;; ANSWER SECTION:
    domain.xx. 560 IN MX 0 mail.domain.xx.

    ;; AUTHORITY SECTION:
    domain.xx. 455 IN NS fns1.sgh.waw.pl.
    domain.xx. 455 IN NS fns2.sgh.waw.pl.

    ;; ADDITIONAL SECTION:
    fns1.sgh.waw.pl. 62398 IN A 194.145.96.21
    fns2.sgh.waw.pl. 62414 IN A 193.111.27.194

    ;; Query time: 1 msec
    ;; SERVER: 150.254.173.3#53(150.254.173.3)
    ;; WHEN: Thu Apr 8 18:13:05 2010
    ;; MSG SIZE rcvd: 127

    [root@andromeda log]# dig domain.xx any

    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> domain.xx any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33417
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 2, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;domain.xx. IN ANY

    ;; ANSWER SECTION:
    domain.xx. 511 IN MX 0 mail.domain.xx.
    domain.xx. 406 IN A xxx.xxx.xxx.xxx
    domain.xx. 406 IN NS fns1.sgh.waw.pl.
    domain.xx. 406 IN NS fns2.sgh.waw.pl.

    ;; AUTHORITY SECTION:
    domain.xx. 406 IN NS fns1.sgh.waw.pl.
    domain.xx. 406 IN NS fns2.sgh.waw.pl.

    ;; ADDITIONAL SECTION:
    fns1.sgh.waw.pl. 62349 IN A 194.145.96.21
    fns2.sgh.waw.pl. 62365 IN A 193.111.27.194

    ;; Query time: 2 msec
    ;; SERVER: 150.254.173.3#53(150.254.173.3)
    ;; WHEN: Thu Apr 8 18:13:54 2010
    ;; MSG SIZE rcvd: 171

    [root@andromeda log]# host `hostname`
    andromeda.domain.xx is an alias for domain.xx.
    domain.xx has address xxx.xxx.xxx.xxx
    domain.xx mail is handled by 0 mail.domain.xx.

    If I send email directly from console it goes directly to #mailq and nothing happens in /var/log/zimbra.log

    Thank you for your help

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You have an invalid DNS A aecord, it should be in the format:

    Code:
    andromeda.domain.xx. 560 IN A xx.xx.xx.xx
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    barth is offline Intermediate Member
    Join Date
    Mar 2010
    Posts
    16
    Rep Power
    5

    Default

    I've updated dns now there is :
    ;; ANSWER SECTION:
    andromeda.domain.xx. 128 IN A xxx.xxx.xxx.xxx

    but still mailq shows me :
    [root@andromeda ~]# mailq | grep down
    postqueue: warning: Mail system is down -- accessing queue directly

    in zimbra log:
    [zimbra@andromeda ~]$ tail -f /var/log/zimbra.log
    Apr 11 20:23:24 andromeda postfix/postqueue[13535]: warning: Mail system is down -- accessing queue directly
    Apr 11 20:23:30 andromeda postfix/postqueue[13545]: warning: Mail system is down -- accessing queue directly

    and emails send to local users are not delivered

    Thanks
    Barth

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    I assume you also pointed the MX record to that IP address as well and that it points to the valid IP address of the Zimbra server? Is this behind a NAT router? Is the IP address the valid LAN IP address of the server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    barth is offline Intermediate Member
    Join Date
    Mar 2010
    Posts
    16
    Rep Power
    5

    Default

    Hello,

    All of xxx.xxx.xxx.xxx is the same ip number. It is server with public ip, just one ethernet card, no routing and there is no nat.

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by barth View Post
    In Zimbra mailq is empty but the problem is :
    I send email to local user and it goes to #mailq and zimbra never gets it.
    How are you actually sending an email to a 'local user'?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Local Domain Users emails tagged SPAM
    By owl700 in forum Administrators
    Replies: 6
    Last Post: 04-06-2010, 05:41 AM
  2. Replies: 6
    Last Post: 03-05-2010, 01:13 AM
  3. Multiple Yahoo Emails with ONE user id problem
    By tomparris in forum General Questions
    Replies: 0
    Last Post: 06-10-2009, 02:45 PM
  4. zimbra 6.0b1 not installing on Mac OS X 10.5.6
    By funkahdafi in forum Installation
    Replies: 5
    Last Post: 05-13-2009, 09:51 PM
  5. Replies: 13
    Last Post: 05-15-2007, 06:41 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
  •