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
  #11 (permalink)  
Old 03-14-2006, 09:59 PM
Senior Member
 
Posts: 56
Default

I just found some hints.

I used the Outlook Express/Outlook and saved the password in the client. And I would got the Relay Access Denied and guess that the authentication was done.

As Kelvin said, it seems the Auth. was not made. I just tried to use the thunderbird to test it. Because the thunderbird would not let me to save the password. I suppose I would be asked for the password but it did not. And it returned me the Relay Access denied error at once.

Ok, that's mean the Auth was not made.

How's come?!

I doublely checked SMTP settings of the thunderbird.

In the "Security and Authentication"
I checked "Use name and password" and the input the User Name already.
And "No" for "Use secure connection:".

I then triplely checked the SMTP settings of the Outlook Express. The SSL connection was checked too.

Checked again the Zimbra settings, the "Auth" is required.


[root@mailsrv log]# su - zimbra
[zimbra@mailsrv ~]$ zmprov gs my_domain | grep Auth
zimbraMtaAuthEnabled: TRUE
zimbraMtaAuthHost: my_domain
zimbraMtaAuthURL: http://mydomain:80/service/soap/
zimbraMtaTlsAuthOnly: FALSE

Every settings seems alright. I am lost.

Thomas
Reply With Quote
  #12 (permalink)  
Old 03-14-2006, 10:19 PM
Zimbra Employee
 
Posts: 4,792
Default

Try setting zimbraMtaTlsAuthOnly=TRUE and checking secure in Thunderbird, just to see if that will let you send.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #13 (permalink)  
Old 03-14-2006, 11:47 PM
Senior Member
 
Posts: 56
Default

Quote:
Originally Posted by KevinH
Try setting zimbraMtaTlsAuthOnly=TRUE and checking secure in Thunderbird, just to see if that will let you send.
Code:
mailsrv:/etc/rc.d # ./zimbra stop
mailsrv:/etc/rc.d # ./zimbra stop
Host my_domain
        Stopping antispam...Done
        Stopping antivirus...Done
        Stopping ldap...Done
        Stopping logger...Done
        Stopping mailbox...Done
        Stopping mta...FAILED
/opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd: no process killed


        Stopping snmp...Done
        Stopping spell...Done
mailsrv:/etc/rc.d # ./zimbra start
Host my_domain
        Starting ldap...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting mta...Done.
        Starting snmp...Done.
        Starting spell...Done.

zimbra@mailsrv:~> zmprov gs my_domain | grep Auth
zimbraMtaAuthEnabled: TRUE
zimbraMtaAuthHost: my_domain
zimbraMtaAuthURL: http://my_domain:80/service/soap/
zimbraMtaTlsAuthOnly: TRUE
Thunderbird Connection Error (ENSURE the TLS option is checked in the client):
"Sending of message failed

An Error occurred sending mail: Unable to connect to SMTP server 202.175.x.x via STARTTLS since it doesn't support EHLO. Please verify that your Mail/News account settings are correct and try again."

Notice that it is unable to stop mta with saslauthd process problem. Is it related?

Thomas

Last edited by chanck; 03-14-2006 at 11:50 PM..
Reply With Quote
  #14 (permalink)  
Old 03-15-2006, 12:10 AM
Zimbra Employee
 
Posts: 4,792
Default

Can you verify that saslauthd is running:

/opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd: no process killed

This error on shutdown makes me think that it wasn't running.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #15 (permalink)  
Old 03-15-2006, 01:25 AM
Senior Member
 
Posts: 56
Default

Quote:
Originally Posted by KevinH
Can you verify that saslauthd is running:

/opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd: no process killed

This error on shutdown makes me think that it wasn't running.
Code:
mailsrv:/etc/init.d # ./zimbra start
Host safp.gov.mo
        Starting ldap...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting mta...Done.
        Starting snmp...Done.
        Starting spell...Done.
mailsrv:/etc/init.d # ps -aef | grep sasl
zimbra    9017     1  0 15:23 ?        00:00:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra    9018  9017  0 15:23 ?        00:00:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra    9019  9017  0 15:23 ?        00:00:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra    9020  9017  0 15:23 ?        00:00:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra
zimbra    9021  9017  0 15:23 ?        00:00:00 /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd -r -a zimbra

======/var/log/zimbra.log========
Mar 15 15:24:14 safp postfix/smtpd[9143]: initializing the server-side TLS engine
Mar 15 15:24:19 safp postfix/smtpd[9143]: warning: 202.175.xx.xx: hostname n40z15l172.broadband.ctm.net verification failed: Name or service not known
Mar 15 15:24:19 safp postfix/smtpd[9143]: connect from unknown[202.175.xx.xx]

From the quote above, the process is confirmed there. And I tried again with or without TLS.

The error with TLS: ....ELHO command problem.....
The error without TLS: ....Relay Access Denied.....

Thomas
Reply With Quote
  #16 (permalink)  
Old 03-15-2006, 09:31 AM
Zimbra Employee
 
Posts: 2,103
Default

It looks like you're talking to the wrong host.

The 202.175 IP is a public IP - is that the IP configured on the zimbra server?
Reply With Quote
  #17 (permalink)  
Old 03-15-2006, 06:31 PM
Senior Member
 
Posts: 56
Default Nat

Quote:
Originally Posted by marcmac
It looks like you're talking to the wrong host.

The 202.175 IP is a public IP - is that the IP configured on the zimbra server?
The Zimbra server is located at the DMZ behind a firewall. It is configured with an IP 192.168.x.x. And there is a static rule in the firewall to setup the NAT with a public IP 202.175.x.x to let outside world to connect. I believed I 've connected the right host.

PS. I can pop mail from the zimbra server at Internet.

Thomas
Reply With Quote
  #18 (permalink)  
Old 03-15-2006, 06:33 PM
Zimbra Employee
 
Posts: 2,103
Default

and you've verified that smtp auth is enabled on the server (not just in the global config) and that tls auth only is checked? Also, make sure the zimbraSmtpAuthUrl stuff is correct (covered extensively in the forums).
Reply With Quote
  #19 (permalink)  
Old 03-15-2006, 06:55 PM
Senior Member
 
Posts: 56
Default

Quote:
Originally Posted by marcmac
and you've verified that smtp auth is enabled on the server (not just in the global config) and that tls auth only is checked? Also, make sure the zimbraSmtpAuthUrl stuff is correct (covered extensively in the forums).
Yes, verified that the global config and the domain_server config are the same.

What and where is zimbraSmtpAuthUrl? I tried to search the keywords but not found any stuff of that.

Thomas
Reply With Quote
  #20 (permalink)  
Old 03-15-2006, 07:37 PM
Senior Member
 
Posts: 56
Default

Quote:
Originally Posted by marcmac
and you've verified that smtp auth is enabled on the server (not just in the global config) and that tls auth only is checked? Also, make sure the zimbraSmtpAuthUrl stuff is correct (covered extensively in the forums).
I found the zimbraSmtpAuthUrl, it is looking like that:

# more saslauthd.conf
zimbra_url: http://my_domain:80/service/soap/
zimbra_cert_file: /opt/zimbra/conf/smtpd.crt
zimbra_cert_check: off

No problem with my config.

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