Results 1 to 8 of 8

Thread: Error 554, recipient rejected.

  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default Error 554, recipient rejected.

    Hey Guys:

    Just a little help to get this zimbra setup completed.

    I am getting error 554, this is in my log:

    Sep 9 11:01:56 zimbra postfix/smtpd[19701]: connect from localhost.localdomain[127.0.0.1]
    Sep 9 11:01:56 zimbra postfix/smtpd[19701]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 554 : Relay access denied; from= to= proto=ESMTP helo=
    Sep 9 11:01:56 zimbra postfix/smtpd[19701]: disconnect from localhost.localdomain[127.0.0.1]
    Sep 9 11:02:03 zimbra zmtomcatmgr[19767]: status requested
    Sep 9 11:02:04 zimbra zmtomcatmgr[19767]: status OK

    Here is my mynetworks: [zimbra@zimbra ~]$ mynetworks = 127.0.0.0/8 192.168.1.0/24

    I ran: postconf -d mynetworks to get that output.

    here is my hosts file:

    127.0.0.1 localhost.localdomain localhost
    192.168.1.183 zimbra
    192.168.1.183 zimbra.exchangetest.com zimbra


    When i run this command:

    [zimbra@zimbra bin]$ zmprov ms zimbra.exchangetest.com zimbraMtaMyNetworks "127.0.0.0/8 192.168.1.0/24"
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    ERROR: account.NO_SUCH_SERVER (no such server: zimbra.exchangetest.com)


    or:


    [zimbra@zimbra bin]$ zmprov ms 'zimbra' zimbraMtaMyNetworks "127.0.0.0/8 192.168.1.0/24"
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    ERROR: account.NO_SUCH_SERVER (no such server: zimbra)

    eventhough: this clearly shows what my host name is: [zimbra@zimbra bin]$


    I am sure that i am one config change away from getting this to work corectly i would really apprciate any help you might be able to provide.

    i can telnet from this zimbra machine to my exhcange server and manually send a telnet email which gets delievered to the destination address.

    All address other than those on my local network are refused immediately upon hitting send with the zimbra web mail client.

    the destination address are infact valid and do work. zimbra is the second mail server participating in a shared smtp space for exchange,.

    Mail send to robert@zimbra.exchangetest.com comes in fine.

    Thanks for your help.

    RObert

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

    Default

    Remove this line from your hosts file:

    Code:
    192.168.1.183 zimbra
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

    Thank you so much for your help. once i went back and added the correct my networks then zimbra the great decided to start working (receiving mail again).

    it seems that in the mynetworks fiedl i needed to put 127.0.0.0/8 192.168.1.0/24

    that seems to be the solution.


    Thanks Again.

    RObert

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

    Default

    You should also remove the line I've suggested from your hosts file, it's superfluous.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

    i actually did, i was just so overblown that it worked i forgot to say

  6. #6
    Join Date
    Apr 2007
    Posts
    7
    Rep Power
    8

    Default

    Quote Originally Posted by robert5150 View Post
    Hey Guys:

    Just a little help to get this zimbra setup completed.

    I am getting error 554, this is in my log:

    Sep 9 11:01:56 zimbra postfix/smtpd[19701]: connect from localhost.localdomain[127.0.0.1]
    Sep 9 11:01:56 zimbra postfix/smtpd[19701]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 554 : Relay access denied; from= to= proto=ESMTP helo=
    Sep 9 11:01:56 zimbra postfix/smtpd[19701]: disconnect from localhost.localdomain[127.0.0.1]
    Sep 9 11:02:03 zimbra zmtomcatmgr[19767]: status requested
    Sep 9 11:02:04 zimbra zmtomcatmgr[19767]: status OK

    Here is my mynetworks: [zimbra@zimbra ~]$ mynetworks = 127.0.0.0/8 192.168.1.0/24

    I ran: postconf -d mynetworks to get that output.

    here is my hosts file:

    127.0.0.1 localhost.localdomain localhost
    192.168.1.183 zimbra
    192.168.1.183 zimbra.exchangetest.com zimbra


    When i run this command:

    [zimbra@zimbra bin]$ zmprov ms zimbra.exchangetest.com zimbraMtaMyNetworks "127.0.0.0/8 192.168.1.0/24"
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    ERROR: account.NO_SUCH_SERVER (no such server: zimbra.exchangetest.com)


    or:


    [zimbra@zimbra bin]$ zmprov ms 'zimbra' zimbraMtaMyNetworks "127.0.0.0/8 192.168.1.0/24"
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    /bin/bash: /root/.bashrc: Permission denied
    ERROR: account.NO_SUCH_SERVER (no such server: zimbra)

    eventhough: this clearly shows what my host name is: [zimbra@zimbra bin]$


    I am sure that i am one config change away from getting this to work corectly i would really apprciate any help you might be able to provide.

    i can telnet from this zimbra machine to my exhcange server and manually send a telnet email which gets delievered to the destination address.

    All address other than those on my local network are refused immediately upon hitting send with the zimbra web mail client.

    the destination address are infact valid and do work. zimbra is the second mail server participating in a shared smtp space for exchange,.

    Mail send to robert@zimbra.exchangetest.com comes in fine.

    Thanks for your help.

    RObert
    ok this is a bit like my problem before. my problem is i cant email via outlook to yahoo.com email, showing like the above text you provide.

    what i only do is to use enable authentication on SMTP and this problem solved.

    any comments ???....

  7. #7
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

  8. #8
    Join Date
    Feb 2006
    Location
    Ohio
    Posts
    39
    Rep Power
    9

    Default CIDR Notation is Confusing

    I think I just got this right for our set up. We have a set of networks that start at 10.0.1.0 and go up to 10.254.1.0. Initially our Zimbra server just had the default 127.0.0.1 address for trusted networks and as soon as some of our users started pointing their Outlook and Thunderbird clients at it, it failed. So a few weeks back I opened a case with Zimbra support after having added 10.0.0.0/24 and still having trouble. The Zimbra support person after seeing the denial in our log recommended that I change it to 10.0.0.0/16. This seemed to fix things. Until recently.

    As I've been migrating our domains to Zimbra, some of them started having trouble this week as they've started to try using Outlook. It turns out that I had a fundamental misunderstanding of the CIDR notation used by postfix (and therefore Zimbra). My assumption was that 10.0.0.0/24 equated to: "any network that starts with 10." I suspect a lot of you aren't networking experts either... My second call into support yielded a look at the RFC 1918 for private address space. This made me wonder whether I'd gotten it wrong.

    The /24 is the same as saying 255.255.255.0 in subnet mask talk. The first 255 octet matched with the first octet of the 10.0.0.0 network yeilds: "10 and ONLY 10". The second 255 octet in the mask with the second octet in 10.0.0.0 yields: "0 and ONLY 0". The third 255 octet in the mask with the third octet in 10.0.0.0 yields: "0 and ONLY 0". And the last octet from the mask and the network yield: "Anything from 1-254". So, this CIDR notation was limiting me only to hosts starting at 10.0.0.1 through 10.0.0.254. Completely wrong for my network.

    The change to /16 made some things work because that mask plus the 10.0.0.0 equates to 10.0.1.1 through 10.0.254.254. Since my network is 10.0.3.x, my Thunderbird client could now send mail. As could many of the initial domains I was migrating because they fell within that range. However, recent migrations have moved me into territory where the second octet would be something other than 0 and would henceforth result in denial.

    So after some thought, I tried 10.0.0.0/8. This appears to have worked. That CIDR notation translates to: "Any viable network that starts with a 10." This appears to have fixed the problem. While it might appear elementary to those with experience with either Postfix or networking, it's not entirely clear to the uninitiated (which is why I'm posting this hoping to help someone else). My original concept of CIDR was the exact opposite of how it really works which is why I started out with the 10.0.0.0/24 notation.

    Hope this helps someone else.
    Last edited by deckard; 12-07-2007 at 01:30 PM.

Similar Threads

  1. Problem with meeting invitations
    By denisb in forum Zimbra Connector for Outlook
    Replies: 7
    Last Post: 08-03-2007, 01:11 PM
  2. Recipient address rejected
    By stillSpirit in forum Installation
    Replies: 13
    Last Post: 08-10-2006, 06:22 PM
  3. None of your e-mail accounts could send to this recipient.
    By BarrySDCA in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 05-25-2006, 05:58 PM
  4. Recipient Address Rejected from email client
    By gunkmail in forum Administrators
    Replies: 2
    Last Post: 05-14-2006, 09:42 PM
  5. Replies: 2
    Last Post: 04-17-2006, 04:12 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
  •