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

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-10-2009, 11:53 PM
Senior Member
 
Posts: 59
Default [SOLVED] cannot send mail to external email add from outlook 2007:Relay access Denied

hello everbody on the forum,I'm facing a problem in trying to send zimbra mail configured on ms outlook 2007 to external email host such as yahoo,gmail etc.I can receive the mail from outside and also send to the add in my own domain but not to outside.from the webmail there's no problem.I'm getting the following errors in ms outlook 2007:
Code:
Your message did not reach some or all of the intended recipients.

      Subject:	test
      Sent:	11-09-2009 12:42 PM

The following recipient(s) cannot be reached:

      'xxxx@gmail.com' on 11-09-2009 12:42 PM
            554 5.7.1 <xxxx@gmail.com>: Relay access denied
I've searched for a solution in the forums but to no avail.I guess everything is okay in my mta settings.
Reply With Quote
  #2 (permalink)  
Old 09-11-2009, 12:02 AM
Active Member
 
Posts: 29
Default

Make sure you are using SMTP authentication while sending emails. "My Outgoing server (SMTP) requires authentication" option in Outlook.
Reply With Quote
  #3 (permalink)  
Old 09-11-2009, 12:53 AM
Active Member
 
Posts: 32
Default

I think the problem is the you have to add the senders in the accepted IP list

webmail doesn't give a problem, because you send the mail from the mailserver itself.
When you send it from outlook, your client IP has to authenticate with the mailserver and that is where it should be allowed to send email.

The actual setting would be here (in my 5.0.18 FOSS )
Configuration --> servers --> your server name --> MTA (tab)
MTA Trusted Networks

Hope it helps
Reply With Quote
  #4 (permalink)  
Old 09-11-2009, 12:59 AM
Moderator
 
Posts: 7,928
Default

Either solution would work but if you have lots of users, across different networks, then the authentication method is preferred.
__________________
Reply With Quote
  #5 (permalink)  
Old 09-11-2009, 01:07 AM
Active Member
 
Posts: 32
Default

ohhh then i have a doubt ....

i tried the authentication method,when i was deploying my server.
& if i didn't allowed the network in Trusted Networks, my Email clients didn't work
(Thunderbird, Outlook)
yes, i did allowed the outgoing authentication, still it didn't

So i had to Add my whole network subnet in my Trusted Networks

Should i try it again ?
Reply With Quote
  #6 (permalink)  
Old 09-11-2009, 02:28 AM
Senior Member
 
Posts: 59
Default

Quote:
Originally Posted by atevewr View Post
I think the problem is the you have to add the senders in the accepted IP list

webmail doesn't give a problem, because you send the mail from the mailserver itself.
When you send it from outlook, your client IP has to authenticate with the mailserver and that is where it should be allowed to send email.

The actual setting would be here (in my 5.0.18 FOSS )
Configuration --> servers --> your server name --> MTA (tab)
MTA Trusted Networks

Hope it helps
well thanks for the reply but I've already added my originating network to the mta settings and to no avail.Indeed I've added using the following commands:
Code:
zmprov modifyServer myserver@domain.com zimbraMtaMyNetworks '127.0.0.0/8  **MyIP**/24'
postfix reload
Reply With Quote
  #7 (permalink)  
Old 09-11-2009, 03:59 AM
Active Member
 
Posts: 29
Default

Adding your local IP subnet range to trusted networks is fine, but what about the users that connect via internet and want to use thier email client (Outlook/Thunderbird). For this, setting smtp setting option in outlook/thunderbird to require authentication is the way.
Reply With Quote
  #8 (permalink)  
Old 09-11-2009, 08:53 PM
Senior Member
 
Posts: 59
Default

Quote:
Originally Posted by priyadarsanroy View Post
Make sure you are using SMTP authentication while sending emails. "My Outgoing server (SMTP) requires authentication" option in Outlook.
well thanks for the info..It's solved now...
Reply With Quote
  #9 (permalink)  
Old 09-11-2009, 09:02 PM
Senior Member
 
Posts: 59
Default

Quote:
Originally Posted by atevewr View Post
ohhh then i have a doubt ....

i tried the authentication method,when i was deploying my server.
& if i didn't allowed the network in Trusted Networks, my Email clients didn't work
(Thunderbird, Outlook)
yes, i did allowed the outgoing authentication, still it didn't

So i had to Add my whole network subnet in my Trusted Networks

Should i try it again ?
well mine worked fine as long as you allow the zimbra server ip itself in the MTA settings and the not the whole network..to prevent spam...you can check that via
Code:
postconf mynetworks
then allow smtp authentication on the client seems to solve the issue..
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.