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 02-10-2006, 06:26 AM
New Member
 
Posts: 3
Default Secure MTA connection with authentication

Greetings,

I am having a heck of a time getting my Zimbra server to relay mail through my external SMTP server (which supports plain old relaying, SMTP AUTH, TLS, SSL, etc.). Ideally, I'd like to have all mail forward through that server, and be encrypted (both the password and the message).

I have tried to piece together a number of the current posts on the forum, but haven't had any luck.

Here is the end of my main.cf:
Code:
smtpd_helo_required = yes

smtpd_client_restrictions = reject_unauth_pipelining

smtpd_data_restrictions = reject_unauth_pipelining

smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit

broken_sasl_auth_clients = yes

smtpd_use_tls = yes
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
smtpd_tls_loglevel = 3

message_size_limit = 10240000
content_filter = smtp-amavis:[127.0.0.1]:10024
myhostname = zimbra.(MY INTERNALDOMAIN)
recipient_delimiter =
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
disable_dns_lookups = yes
smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password
relayhost = (MY EXTERNAL SMTP SERVER)
smtp_sasl_authentication_filter =
smtp_sasl_security_options = noanonymous
smtp_tls_enforce_peername = no
debug_peer_list = (MY EXTERNAL SMTP SERVER)
Any help you could give me would be great... looking at the logs, I see that while my server advertises AUTH LOGIN CRAM-MD5 PLAIN STARTTLS PIPELINING, etc., Zimbra only chooses ESMTP PIPELINING and does not attempt to authenticate.


Thanks!

Dave
Reply With Quote
  #2 (permalink)  
Old 02-10-2006, 06:55 AM
Zimbra Employee
 
Posts: 2,103
Default postfix auth to relay host

man 5 postconf on my box doesn't have smtp_sasl_authentication_filter, so I'm not sure what that does - but I'm pretty sure that you'll want to set smtp_sasl_auth_enable to yes...

Quote:
Originally Posted by firebin
Greetings,

I am having a heck of a time getting my Zimbra server to relay mail through my external SMTP server (which supports plain old relaying, SMTP AUTH, TLS, SSL, etc.). Ideally, I'd like to have all mail forward through that server, and be encrypted (both the password and the message).

I have tried to piece together a number of the current posts on the forum, but haven't had any luck.

Here is the end of my main.cf:
Code:
smtpd_helo_required = yes

smtpd_client_restrictions = reject_unauth_pipelining

smtpd_data_restrictions = reject_unauth_pipelining

smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_invalid_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit

broken_sasl_auth_clients = yes

smtpd_use_tls = yes
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
smtpd_tls_loglevel = 3

message_size_limit = 10240000
content_filter = smtp-amavis:[127.0.0.1]:10024
myhostname = zimbra.(MY INTERNALDOMAIN)
recipient_delimiter =
smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = no
disable_dns_lookups = yes
smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password
relayhost = (MY EXTERNAL SMTP SERVER)
smtp_sasl_authentication_filter =
smtp_sasl_security_options = noanonymous
smtp_tls_enforce_peername = no
debug_peer_list = (MY EXTERNAL SMTP SERVER)
Any help you could give me would be great... looking at the logs, I see that while my server advertises AUTH LOGIN CRAM-MD5 PLAIN STARTTLS PIPELINING, etc., Zimbra only chooses ESMTP PIPELINING and does not attempt to authenticate.


Thanks!

Dave
Reply With Quote
  #3 (permalink)  
Old 02-10-2006, 07:42 AM
New Member
 
Posts: 3
Default

Nice! I knew it had to be something small. The smtp_auth_enable did the trick.


Thanks,

Dave
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.