Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: [SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

  1. #1
    TheInfinity is offline Junior Member
    Join Date
    Dec 2008
    Posts
    5
    Rep Power
    6

    Default [SOLVED] Zimbra 6 -> 7 - Zimbra does not know its own virtual hosts

    Hi everyone,

    I made an upgrade this evening - and got a really strange bug. I can send mails to external hosts like before - but any mail to zimbra fails because of "Relay Access denied". If I try to send something via webinterface I get an "mail for vereinlandwege.de loops back to myself" error.

    My setup:
    - Ubuntu 10.04
    - Zimbra OpenSource Edition 7, 64bit

    Server:
    - internal hostname: sun.vereinlandwege.de
    - external hostname: mail.vereinlandwege.de
    - mail adresses: name@vereinlandwege.de

    If I send to outside it looks like this in target hostname:
    Code:
    Feb  8 00:46:12 lvps83-169-1-219 postfix/smtpd[16090]: connect from mail.vereinlandwege.de[88.79.167.149]
    Feb  8 00:46:27 lvps83-169-1-219 postfix/smtpd[16090]: warning: 149.167.79.88.list.dsbl.org: RBL lookup error: Host or domain name not found. Name service error for name=149.167.79.88.list.dsbl.org type=A: Host not found, try againFeb  8 00:46:28 lvps83-169-1-219 postfix/smtpd[16090]: 19085166E19FD: client=mail.vereinlandwege.de[88.79.167.149]Feb  8 00:46:28 lvps83-169-1-219 postfix/cleanup[22216]: 19085166E19FD: message-id=<1c4da0a0-605d-408e-85cf-319ac434d616@sun>Feb  8 00:46:28 lvps83-169-1-219 postfix/qmgr[2007]: 19085166E19FD: from=, size=811, nrcpt=1 (queue active)Feb  8 00:46:28 lvps83-169-1-219 postfix/smtpd[16090]: disconnect from mail.vereinlandwege.de[88.79.167.149]
    mail.vereinlandwege.de looks perfect - and it is perfect, it works. But internally it gets strange. A mail from webinterface to the same account:
    Code:
    Feb  8 01:26:46 sun postfix/smtpd[25565]: connect from localhost[127.0.0.1]
    Feb  8 01:26:46 sun postfix/smtpd[25565]: E21AA4C14F4: client=localhost[127.0.0.1]Feb  8 01:26:46 sun postfix/cleanup[25568]: E21AA4C14F4: message-id=<70be5408-81a1-45f9-a96a-2fc115108577@sun>
    Feb  8 01:26:46 sun postfix/qmgr[21006]: E21AA4C14F4: from=, size=593, nrcpt=1 (queue active)Feb  8 01:26:46 sun postfix/smtpd[25565]: disconnect from localhost[127.0.0.1]
    Feb  8 01:26:47 sun postfix/smtp[25569]: E21AA4C14F4: to=, relay=none, delay=0.07, delays=0.05/0.02/0/0, dsn=5.4.6, status=bounced (mail for vereinlandweg
    e.de loops back to myself)
    Feb  8 01:26:47 sun postfix/cleanup[25568]: 043354C14F6: message-id=<20110208002647.043354C14F6@sun.localdomain>
    Feb  8 01:26:47 sun postfix/bounce[25571]: E21AA4C14F4: sender non-delivery notification: 043354C14F6
    Feb  8 01:26:47 sun postfix/qmgr[21006]: E21AA4C14F4: removed
    Feb  8 01:26:47 sun postfix/smtp[25569]: 043354C14F6: to=, relay=none, delay=0.03, delays=0.03/0/0/0, dsn=5.4.6, status=bounced (mail for vereinlandwege.de loops back to myself)
    Feb  8 01:26:47 sun postfix/qmgr[21006]: 043354C14F6: removed
    This looks strange. It looks even more strange if I try to send a mail from outside:
    Code:
    Feb  8 01:22:51 sun postfix/smtpd[24666]: connect from sectio-aurea.org[83.169.1.219]
    Feb  8 01:22:51 sun postfix/smtpd[24666]: NOQUEUE: reject: RCPT from sectio-aurea.org[83.169.1.219]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
    Why does it not know its own virtual domains?! Because - vereinlandwege.de is active in zimbra admin interface and I can login with vereinlandwege.de users.

    /etc/hosts:
    Code:
    192.168.1.1     sun.vereinlandwege.de sun.vereinlandwege.de mail.vereinlandwege.de vereinlandwege.de sun
    MX-Records always point to mail.vereinlandwege.de, intern and extern.

    So - any ideas where the problem might be? Thanks for any idea!

  2. #2
    bku09 is offline Member
    Join Date
    Jan 2010
    Posts
    13
    Rep Power
    5

    Default

    I have exactly the same problems since I updated from 6.0.10GA to 7.0.0GA, everything was working fine with 6.0.10GA.

    still trying to fix the issue, will keep you updated ...

    Bernd

  3. #3
    waltholman is offline Intermediate Member
    Join Date
    May 2009
    Location
    Tennessee
    Posts
    21
    Rep Power
    6

    Default

    Another me too.... I noticed in the /opt/zimbra/postfix/conf directory that the main.cf file was a zero (0) byte file. Re-running zmmtactl stop/start did not create the correct file (yet).

    Update: After restoring the old main.cf from my 6.0.10 backup, the system is receiving and delivering mail once again. Glad this was my home server & not work

    Now, to try and figure out why the main.cf doesn't get created properly....
    Last edited by waltholman; 02-07-2011 at 07:07 PM.

  4. #4
    bku09 is offline Member
    Join Date
    Jan 2010
    Posts
    13
    Rep Power
    5

    Default

    jep right, there is definitely something wrong with the main.cf config file generation.

    in the meantime you can simply replace the main.cf with the previous version even if you don't have any "real" backups :-)

    as root enter:
    cd /opt/zimbra/postfix/conf
    cp /opt/zimbra/postfix-2.6.7.2z/conf/main.cf . (change 2.6.7.2z to your last version)
    su - zimbra -c "zmmtactl restart"

    everything should be back to normal now, but still trying to figure out the root cause ...

    Bernd

  5. #5
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    The configuration is generated by the command /opt/zimbra/libexec/configrewrite mta

    Can someone who is seeing this issue paste the output of running this manually?
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  6. #6
    bku09 is offline Member
    Join Date
    Jan 2010
    Posts
    13
    Rep Power
    5

    Default

    Quote Originally Posted by quanah View Post
    The configuration is generated by the command /opt/zimbra/libexec/configrewrite mta

    Can someone who is seeing this issue paste the output of running this manually?
    [zimbra@zimbra ~]$ /opt/zimbra/libexec/configrewrite mta
    [zimbra@zimbra ~]$

    no errors on stdout, no changes to main.cf after this command (tested with user zimbra and root)

  7. #7
    Mark L Sung is offline Starter Member
    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    5

    Default

    Guys, I though ZCS7 is still in beta, people just can wait to moving forward. lol

  8. #8
    bku09 is offline Member
    Join Date
    Jan 2010
    Posts
    13
    Rep Power
    5

    Default

    Quote Originally Posted by Mark L Sung View Post
    Guys, I though ZCS7 is still in beta, people just can wait to moving forward. lol
    just go to Zimbra offers Open Source email server software and shared calendar for Linux and the Mac. and read the headline surprise!

  9. #9
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Does the problem reappear if you run (as zimbra):
    postfix stop
    postfix start

    If it does, then we'll actually have to do the following, since configrewrite squelches its output:

    1. postfix stop (as zimbra user)
    2. echo REWRITE mta | /bin/nc -w 120 localhost 7171 (as zimbra user)

    --Quanah
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  10. #10
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Take a look at this bug. Permissions and sudoers file is important.

    https://bugzilla.zimbra.com/show_bug.cgi?id=55541
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Old Backup stay in TO_DELETE status and no clearing..
    By bartounet in forum Administrators
    Replies: 0
    Last Post: 10-05-2010, 07:40 AM
  2. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 PM
  5. Replies: 1
    Last Post: 11-23-2005, 01:35 PM

Posting Permissions

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