Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-2007, 11:16 AM
Junior Member
 
Posts: 6
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
Reply With Quote
  #2 (permalink)  
Old 09-09-2007, 12:18 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Remove this line from your hosts file:

Code:
192.168.1.183 zimbra
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-09-2007, 12:56 PM
Junior Member
 
Posts: 6
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
Reply With Quote
  #4 (permalink)  
Old 09-09-2007, 01:05 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #5 (permalink)  
Old 09-09-2007, 01:33 PM
Junior Member
 
Posts: 6
Default

i actually did, i was just so overblown that it worked i forgot to say
Reply With Quote
  #6 (permalink)  
Old 10-18-2007, 03:05 AM
Junior Member
 
Posts: 7
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 ???....
Reply With Quote
  #7 (permalink)  
Old 10-18-2007, 08:30 AM
Moderator
 
Posts: 6,237
Default

Outgoing Mail Problems - Zimbra :: Wiki
ZimbraMtaMyNetworks - Zimbra :: Wiki
SMTP Auth Problems - Zimbra :: Wiki

like you may decide you want:
zmprov ms server.domain.com zimbraMtaTlsAuthOnly FALSE
Reply With Quote
  #8 (permalink)  
Old 12-07-2007, 01:27 PM
Active Member
 
Posts: 39
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..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.