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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-12-2005, 07:56 PM
Advanced Member
 
Posts: 178
Default open relay??

Not to alarm anyone but is zimbra functioning as an open relay??

I have checked authentication enabled and TLS authentication only everywhere i can see inside zimbra admin.

However in outlook express i can send mail without setting any username or password for outbound smtp server and also did NOT have to check the this server requires authentication not to mention not enabling the ssl only settings for port 25

am I overlooking something or is zimbra really functioning as an open relay?

Last edited by rmvg : 09-12-2005 at 08:32 PM.
Reply With Quote
  #2 (permalink)  
Old 09-12-2005, 11:04 PM
Zimbra Employee
 
Posts: 228
Default

Hi. I believe postfix will trust hosts on the same network/subnet as itself. auth is only required if the requesting IP is outside of that network.

See /opt/zimbra/postfix/conf/main.cf, and look for "trust", as it describes the behavior that you are seeing.

roland
Reply With Quote
  #3 (permalink)  
Old 08-14-2009, 03:44 PM
New Member
 
Posts: 4
Post

Quote:
Originally Posted by schemers View Post
Hi. I believe postfix will trust hosts on the same network/subnet as itself. auth is only required if the requesting IP is outside of that network.

See /opt/zimbra/postfix/conf/main.cf, and look for "trust", as it describes the behavior that you are seeing.

roland
I've just installed Zimbra CS on a vm for testing purpose. ZCS is on a private lan, natted to Internet with port 25 forwarded from the firewall to zimbra private ip.

I've tested smtp authentication with Email Server Test - Online SMTP diagnostics tool. Seems like zimbra accepts rcpt to without asking for authentication.

What's wrong with this ? Is a nat problem ? Or is that service not reliable ?

Thanks for your help.

Leonardo
Reply With Quote
  #4 (permalink)  
Old 08-14-2009, 04:00 PM
Special Member
 
Posts: 126
Default

Check the values for MTA trusted network.

I goofed and included the DMZ address of my firewall and it acted as a relay for about a day till I stumbled on that.
Reply With Quote
  #5 (permalink)  
Old 08-14-2009, 04:13 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by jrefl5 View Post
Check the values for MTA trusted network.

I goofed and included the DMZ address of my firewall and it acted as a relay for about a day till I stumbled on that.
thanks for your reply, I'll check for this.

In my understanding, when a packet passes through the firewall with a port forward, the packet retains its src address. Am I wrong ? This "open relay" problem is causing me some headaches...

Is it possibile to completely disable open relaying, leaving this feature only for localhost (webmail) ?

Thanks !

Leonardo

Last edited by sgatto : 08-14-2009 at 04:16 PM.
Reply With Quote
  #6 (permalink)  
Old 08-14-2009, 04:52 PM
Moderator
 
Posts: 779
Default

just to verify, you're not trying to send to soemone on your zimbra server right? that will always work

If your server is setup to accept mail for woopty.com, and I set your server up as my smtp server, i'll always be able to send e-mail to someone@woopty.com. This is because really i'm not doing anything more than another mail server would be doing.

However, if I"m using your server as my smtp, i should not be able to send email to any other domain, thats where it should error with relay denied.
Reply With Quote
  #7 (permalink)  
Old 08-14-2009, 09:04 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by bdial View Post
just to verify, you're not trying to send to soemone on your zimbra server right?
At the moment, I'm able to send email *from* zimbra (webmail) to another external account (gmail). But I'm not able to *receive* email because of a DNS misconfiguration (zimbra is on a private LAN, it receives email from other MTA but delivery fails with "host nof found" error. But this is another story ;-) ).

This "open relay" problem raised when I used the service i linked in my first post: that service of course did not use my domain email. Please try that service yourself and tell me if you think is wrong or bad implemented.

Thanks for your replies guys, I appreciate it.

Leonardo.
Reply With Quote
  #8 (permalink)  
Old 08-14-2009, 10:11 PM
Outstanding Member
 
Posts: 664
Default Only from trusted networks.

I must logon to send mail unless I am in the trusted network setup in my Zimbra GUI. If I try to send without logging on from Outlook I get an error that the recipient could not be reached and there was no transport provider.

Zimbra is definitely not an open relay server if it is configured properly.
Reply With Quote
  #9 (permalink)  
Old 08-14-2009, 10:15 PM
Outstanding Member
 
Posts: 664
Default No problem here

Quote:
Originally Posted by sgatto View Post
At the moment, I'm able to send email *from* zimbra (webmail) to another external account (gmail). But I'm not able to *receive* email because of a DNS misconfiguration (zimbra is on a private LAN, it receives email from other MTA but delivery fails with "host nof found" error. But this is another story ;-) ).

This "open relay" problem raised when I used the service i linked in my first post: that service of course did not use my domain email. Please try that service yourself and tell me if you think is wrong or bad implemented.

Thanks for your replies guys, I appreciate it.

Leonardo.
It tells me that relaying was denied! If you are relaying your configuration is not setup to prevent. A properly configured Zimbra server will not relay.
Reply With Quote
  #10 (permalink)  
Old 08-15-2009, 12:36 AM
Zimbra Consultant & Moderator
 
Posts: 11,320
Default

Quote:
Originally Posted by sgatto View Post
I've tested smtp authentication with Email Server Test - Online SMTP diagnostics tool. Seems like zimbra accepts rcpt to without asking for authentication.
Of course it accepts the connection without authentication, that's what mail servers do on port 25 - they accept connections from other mail servers and do not need authentication for that.

Quote:
Originally Posted by sgatto View Post
What's wrong with this ? Is a nat problem ? Or is that service not reliable ?
Nothing is wrong with that, the output from that test should also show the 'Relay access is denied'. Zimbra is not, by default, an open relay unless you've made it one.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0