Results 1 to 9 of 9

Thread: root

  1. #1
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default root

    Not sure if this is a Zimbra setup:

    2 CentOS servers running Zimbra 7.1.1 FOSS. One 64-bit, one 32-bit.

    64-bit:
    When I try to send a mail from terminal:
    # mail root
    Subject: Test
    Test
    Cc:
    #
    Mail is gone

    32-bit:
    # mail root
    ...
    No mail

    # mail root@mydomain.com
    ...
    Works.

    How can I make my server send mail to root without domain on the 32-bit server?

  2. #2
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    The reason why I asked this is the server wasn't mailing the results of the backup script found on this site. In order to fix this I tried a lot of things until I saw a 'Postfix permissions denied' error in the Zimbra log. To fix this I used the command '/opt/zimbra/libexec/zmfixperms --verbose --extended' hoping to fix it.

    Last night, when the backup script tried to restart Zimbra things went completely wrong.

    zimbramon[2051]: 2051:info: Starting mta via zmcontrol
    postfix/postfix-script[4211]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/main.cf
    postfix/postfix-script[4212]: warning: not owned by root: /opt/zimbra/postfix-2.7.4.2z/conf/master.cf
    postfix/postfix-script[4215]: warning: not owned by postfix: /opt/zimbra/data/postfix/data/./prng_exch
    postfix/postfix-script[4216]: warning: not owned by postfix: /opt/zimbra/data/postfix/data/./master.lock
    postfix/postfix-script[4231]: starting the Postfix mail system
    postfix/master[4232]: fatal: open lock file /opt/zimbra/data/postfix/data/master.lock: cannot open file: Permission denied

    Lucky for me there was the Zimbra 7.1.2 update but I don't like to update a broken system. Since I couldn't fix it I ran the update anyway.

    The server is back up and running. But why did zmfixperms broke my system?

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Quote Originally Posted by Tripple View Post
    The server is back up and running. But why did zmfixperms broke my system?
    That would depend on whether you'd applied any of the patches to your 7.1.1 install, this was fixed by the patch: Bug 57891 – zmfixperms break mta in 7.0.1
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    I was about to say "Yes I did" but searched my own logfiles of everything I do with any server first. There's no entry of any fix there.

    Do I have to install a patch or is this fixed in 7.1.2 ?

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Quote Originally Posted by Tripple View Post
    Do I have to install a patch or is this fixed in 7.1.2 ?
    No, you don't need to do anything - any patch for a specific version is incorporated into future releases.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    Thanks. Next time I'll be more carefull.

  7. #7
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    I fixed mailing to root by adding an entry in /etc/aliases and run newaliases.
    Shouldn't this be /opt/zimbra/postfix/conf/aliases?

    Or maybe it's because I'm testing this from console. I'm confused.

  8. #8
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,373
    Rep Power
    10

    Default

    Quote Originally Posted by Tripple View Post
    I fixed mailing to root by adding an entry in /etc/aliases and run newaliases.
    Shouldn't this be /opt/zimbra/postfix/conf/aliases?

    Or maybe it's because I'm testing this from console. I'm confused.
    It's because you are doing this from the console; the (Linux) mail app just uses the system (Zimbra) MTA for transport. That mail looks to the compiled aliases map for valid email addresses. "root" is not a valid email address, so "mail" needs to look it up.

    If you ran from the console telnet localhost 25 instead you would talk directly to Zimbra's Postfix and /etc/aliases would be irrelevant.

    Hope that helps,
    Mark

  9. #9
    Tripple is offline Elite Member
    Join Date
    Apr 2009
    Posts
    304
    Rep Power
    6

    Default

    Thanks for the info.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Ubuntu 10.04 64bit and ZCS 6.0.9 GA - World of pain
    By aseco in forum Administrators
    Replies: 41
    Last Post: 12-21-2010, 09:43 AM
  2. Did I miss something? (Zimbra GA 6.0.8 on Ubuntu 10.04)
    By vpetersson in forum Installation
    Replies: 2
    Last Post: 10-26-2010, 06:29 AM
  3. [SOLVED] PID services not running
    By raghuram1980 in forum Administrators
    Replies: 10
    Last Post: 10-09-2010, 09:24 AM
  4. Replies: 7
    Last Post: 03-27-2008, 08:03 AM
  5. [SOLVED] Not able to receive or send mail
    By joeleo in forum Installation
    Replies: 22
    Last Post: 10-12-2007, 02:25 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
  •