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 10-27-2009, 07:44 AM
Junior Member
 
Posts: 6
Default force smtp auth zimbra

Hi All,

Please let me know how to force smtp auth in zimbra so that unauthenticated clients can not use my server for sending mails.

Regards,
Sandeep
Reply With Quote
  #2 (permalink)  
Old 10-27-2009, 07:50 AM
raj raj is offline
Moderator
 
Posts: 768
Default

this is a Default behaviour. no user (outside your local network or whats allowed in ZimbraMtaMyNetworks ) should be able to send email without SMTP AUTH.
if you seeing your users/email clients send email out "without" SMTP AUTH then you need to check your "ZimbraMtaMyNetworks" settings and you may edit it to restrict even the local network (make sure to allow 127.0.0.1 and Zimbra's own local ip)

there is more info here:
ZimbraMtaMyNetworks - Zimbra :: Wiki

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #3 (permalink)  
Old 10-28-2009, 02:52 AM
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by raj View Post
this is a Default behaviour. no user (outside your local network or whats allowed in ZimbraMtaMyNetworks ) should be able to send email without SMTP AUTH.
if you seeing your users/email clients send email out "without" SMTP AUTH then you need to check your "ZimbraMtaMyNetworks" settings and you may edit it to restrict even the local network (make sure to allow 127.0.0.1 and Zimbra's own local ip)

there is more info here:
ZimbraMtaMyNetworks - Zimbra :: Wiki

Raj
Hi Raj,

Thanks for the reply. I did the same in my server but still am able to send mails without authentication

Here are some of the outputs of my server.
-----------------------------------------------------------------------------------------------------------------------------------
zmprov modifyServer testmail.impxxxx.co.in zimbraMtaMyNetworks '127.0.0.0/8 192.168.103.50/32'

[zimbra@testmail ~]$ postconf mynetworks
mynetworks = 127.0.0.0/8 192.168.103.50/32
[zimbra@testmail ~]$

Here 192.168.103.50 is my zimbra server’s ip
------------------------------------------------------------------------------------------------------------------------------------
[zimbra@testmail ~]$ zmprov getServer testmail. impxxxx.co.in | grep Auth
zimbraMtaAuthEnabled: TRUE
zimbraMtaAuthHost: testmail. impxxxx.co.in
zimbraMtaAuthTarget: TRUE
zimbraMtaAuthURL: http://testmail. impxxxx.co.in:80/service/soap/
zimbraMtaSaslAuthEnable: TRUE
zimbraMtaTlsAuthOnly: TRUE
-------------------------------------------------------------------------------------------------------------------------------------

[zimbra@testmail ~]$ zmprov getServer testmail.impxxxx.co.in | grep Mode
zimbraBackupMode: Standard
zimbraMailMode: mixed
zimbraMailReferMode: wronghost
zimbraReverseProxyImapStartTlsMode: only
zimbraReverseProxyMailMode: http
zimbraReverseProxyPop3StartTlsMode: only

Please let me know if you need more info from my side.
Reply With Quote
  #4 (permalink)  
Old 10-28-2009, 07:13 PM
Elite Member
 
Posts: 338
Default

IN admin console, you must uncheck "enable TLS authenticate only" option.
or zimbraMtaTlsAuthOnly = FALSE
Reply With Quote
  #5 (permalink)  
Old 10-29-2009, 12:03 AM
Junior Member
 
Posts: 6
Default force smtp auth zimbra

Quote:
Originally Posted by dalmate View Post
IN admin console, you must uncheck "enable TLS authenticate only" option.
or zimbraMtaTlsAuthOnly = FALSE
Still no luck..
Reply With Quote
  #6 (permalink)  
Old 10-29-2009, 01:16 AM
Elite Member
 
Posts: 338
Default

after change, did you restart postfix?
you must restart it by this command:
su zimbra
and
postfix restart
Reply With Quote
  #7 (permalink)  
Old 10-29-2009, 06:25 AM
Junior Member
 
Posts: 6
Default

Quote:
Originally Posted by dalmate View Post
after change, did you restart postfix?
you must restart it by this command:
su zimbra
and
postfix restart
Yes i did that but still am able to send mails using this server without authentication.
Reply With Quote
  #8 (permalink)  
Old 10-29-2009, 07:39 PM
Elite Member
 
Posts: 338
Default

In global settings: you check:
Client's IP address (reject_unknown_client)
Hostname in greeting (reject_unknown_hostname)
Sender's domain (reject_unknown_sender_domain)
Hostname in greeting violates RFC (reject_invalid_hostname)
Client must greet with a fully qualified hostname (reject_non_fqdn_hostname)
Sender address must be fully qualified (reject_non_fqdn_sender)
hope this help
Reply With Quote
  #9 (permalink)  
Old 10-29-2009, 08:55 PM
Starter Member
 
Posts: 3
Default

Hi dalmate

I'm get same problem like sandeepdas i want my user authenticate before sent email. I follow all your instruction but user still can send email without authentication.

Thx.
Reply With Quote
  #10 (permalink)  
Old 10-29-2009, 09:05 PM
Elite Member
 
Posts: 338
Default

please restart postfix after you made any changes
In my system, I've done by doing these thing
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.