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 03-01-2009, 09:42 PM
Senior Member
 
Posts: 59
Default [SOLVED] ERROR LOG: Relay access denied

Why is this error happening?

All other mails for external and internal recipients are okay.

Quote:
Mar 2 13:27:13 mail2 postfix/smtpd[4242]: connect from unknown[159.177.14.5]

Mar 2 13:27:14 mail2 postfix/smtpd[4242]: NOQUEUE: reject: RCPT from unknown[159.177.14.5] 554 5.7.1 #alpha@mydomain.com# :
Relay access denied; from=#alpha@company1.com# to=#alpha@mydomain.com# proto=ESMTP helo=#sharma#

Mar 2 13:27:15 mail2 postfix/smtpd[4242]: disconnect from unknown[159.177.14.5]
NOTE: the " < " has been replaced with " # " since the former is being interpreted as part of the webpage script.

Last edited by emcampos; 03-01-2009 at 09:52 PM..
Reply With Quote
  #2 (permalink)  
Old 03-01-2009, 10:20 PM
Advanced Member
 
Posts: 193
Default

Its relay access denied error from POSTFIX you should check main.cf files and include your network in mynetworks .

cd /opt/zimbra/postfix/conf/main.cf
__________________
Abhiz
http://abhishekamralkar.blogspot.com
Reply With Quote
  #3 (permalink)  
Old 03-01-2009, 10:47 PM
Senior Member
 
Posts: 59
Default

Quote:
mynetworks = 127.0.0.0/8 192.168.1.0/24 172.16.0.0/22
This is the current config and these IP are where my servers are included.

So, as per your statement, the mailserver serving alpha@company1.com via IP 159.177.14.5 is trying to connect. But she is barred since his block in not added to the allowed IPs. Is that correct?

If this is so, if i would build a mail server from another domain and wanted to relay its mail transport via my current server, I shall simply add that new IP block to the "mynetworks" line?
Reply With Quote
  #4 (permalink)  
Old 03-02-2009, 12:53 AM
Moderator
 
Posts: 7,928
Default

The sender is attempting to mail somebody on your ZCS server for a domain that does not exist. Do *not* add their network address as you could open yourself up to being a relay.
__________________
Reply With Quote
  #5 (permalink)  
Old 03-02-2009, 01:16 AM
Advanced Member
 
Posts: 193
Default

Yes you should include your Public IP in mynetworks...
__________________
Abhiz
http://abhishekamralkar.blogspot.com
Reply With Quote
  #6 (permalink)  
Old 03-02-2009, 01:18 AM
Moderator
 
Posts: 7,928
Default

If you are behind a firewall on a private LAN you do NOT need to add your external IP address to the mynetworks list.
__________________
Reply With Quote
  #7 (permalink)  
Old 03-02-2009, 03:44 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by abhiz View Post
Yes you should include your Public IP in mynetworks...
Just to reiterate this point, one should NEVER do this when you're on a LAN with a private IP.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 03-02-2009, 08:39 PM
Senior Member
 
Posts: 59
Default

thank you, all.

i am now clear on this.
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.