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 01-01-2008, 03:55 PM
Intermediate Member
 
Posts: 22
Default [SOLVED] How to send mail from client e-mail (Thunderbird, Mac Mail)

Sorry for such a noob question, but I'm not understanding the docs.

I can send mail from the web interface, but I can't figure out how to configure either Thunderbird or Mac Mail to send e-mail through Zimbra. (We don't use Windows for e-mail.)

The global settings under "MTA" have:
Authentication
[X] enable authentication
[X] TLS authentication only

For example, on Thunderbird, regardless of the permutations I try for outgoing SMTP server settings, I see the following when I try to send mail:

Mail Server Password Required
Enter your password for myusername@myvirtualdomain.com on mail.mydomain.com

After several attempts it fails with

Send Message Error
Sending of message failed.
The message could not be sent because connecting to SMTP server mail.mydomain.com failed. The server may be unavailable or is refusing SMTP connections. Please verify that your SMPT server setting is correct and try again, or else contact your network administrator.


NOTE:
I just checked to ensure that port 465 is open in the firewall.
/opt/zimbra/postfix/conf/master.cf has the following uncommented:
Code:
465    inet  n       -       n       -       -       smtpd
  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

Last edited by blackpuma; 01-01-2008 at 04:04 PM.. Reason: Added additional information in NOTE: at bottom.
Reply With Quote
  #2 (permalink)  
Old 01-02-2008, 12:21 AM
Former Zimbran
 
Posts: 5,606
Default

Hi Puma,
It generally is not a good idea to edit the main.cf file. Most settings can be handled through the Zimbra Administration Interface.

Next, when you get the failure, can you take a look in /opt/zimbra/log/mailbox.log and see what the error is?

Best,
john
Reply With Quote
  #3 (permalink)  
Old 01-03-2008, 09:47 AM
Intermediate Member
 
Posts: 22
Default

Quote:
Originally Posted by jholder View Post
It generally is not a good idea to edit the main.cf file.
OK. Gotcha.
Quote:
Next, when you get the failure, can you take a look in /opt/zimbra/log/mailbox.log and see what the error is?
There is no error in /opt/zimbra/log/mailbox.log. There is a message in /var/log/maillog:

Code:
Jan  3 09:52:50 mail postfix/smtpd[9916]: connect from dXXX.digis.net[208.186.134.XXX]
Jan  3 09:52:50 mail postfix/smtpd[9916]: setting up TLS connection from dXXX.digis.net[208.186.134.XXX]
Jan  3 09:52:50 mail postfix/smtpd[9916]: TLS connection established from dXXX.digis.net[208.186.134.XXX]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Jan  3 09:52:57 mail postfix/smtpd[9916]: warning: SASL authentication failure: Password verification failed
Jan  3 09:52:57 mail postfix/smtpd[9916]: warning: dXXX.digis.net[208.186.134.XXX]: SASL PLAIN authentication failed
Jan  3 09:52:58 mail postfix/smtpd[9916]: warning: dXXX.digis.net[208.186.134.XXX]: SASL LOGIN authentication failed
Jan  3 09:53:03 mail postfix/smtpd[9916]: disconnect from dXXX.digis.net[208.186.134.XXX]
In /var/log/messages I see the following (with names changed to protect the guilty). It says "couldn't connect to host"? Is that the local machine?

Code:
Jan  3 09:43:03 mail saslauthd[22861]: auth_zimbra: myuser@myvirtualdomain.com auth failed: curl_easy_perform: error(7): couldn't connect to host
Jan  3 09:43:03 mail saslauthd[22861]: do_auth         : auth failure: [user=myuser@myvirtualdomain.com] [service=smtp] [realm=myvirtualdomain.com] [mech=zimbra] [reason=Unknown]
Jan  3 09:43:03 mail saslauthd[22861]: auth_zimbra: myuser@myvirtualdomain.com auth failed: curl_easy_perform: error(7): couldn't connect to host
Jan  3 09:43:03 mail saslauthd[22861]: do_auth         : auth failure: [user=myuser@myvirtualdomain.com] [service=smtp] [realm=myvirtualdomain.com] [mech=zimbra] [reason=Unknown]
Jan  3 09:43:06 mail saslauthd[22861]: auth_zimbra: myuser@myvirtualdomain.com auth failed: curl_easy_perform: error(7): couldn't connect to host
Jan  3 09:43:06 mail saslauthd[22861]: do_auth         : auth failure: [user=myuser@myvirtualdomain.com] [service=smtp] [realm=myvirtualdomain.com] [mech=zimbra] [reason=Unknown]
Jan  3 09:43:06 mail saslauthd[22861]: auth_zimbra: myuser@myvirtualdomain.com auth failed: curl_easy_perform: error(7): couldn't connect to host
Jan  3 09:43:06 mail saslauthd[22861]: do_auth         : auth failure: [user=myuser@myvirtualdomain.com] [service=smtp] [realm=myvirtualdomain.com] [mech=zimbra] [reason=Unknown]
Versions:
zcs-4.5.10_GA_1575.RHEL5.tgz
CentOS 5

Last edited by blackpuma; 01-03-2008 at 09:58 AM.. Reason: Found message in different log.
Reply With Quote
  #4 (permalink)  
Old 01-03-2008, 11:15 AM
Former Zimbran
 
Posts: 5,606
Default

Does this thread help?
SMTP SASL authentication failure
Reply With Quote
  #5 (permalink)  
Old 01-03-2008, 03:39 PM
Intermediate Member
 
Posts: 22
Default

Quote:
Originally Posted by jholder View Post
Does this thread help?
SMTP SASL authentication failure
Ahhhh... that got me pointed in the right direction. Thank you very much.

Google helped me find SMTP Auth Problems on the Wiki, which gave me the zm* commands to set things right.

I successfully sent an e-mail from Thunderbird and Mac Mail.

Thank you again.

Last edited by blackpuma; 01-03-2008 at 03:58 PM.. Reason: bad grammar
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.