Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: holck on March 10, 2010, 10:21:38 PM

Title: How to allow external clients access to SME-server's smtp?
Post by: holck on March 10, 2010, 10:21:38 PM
I know I've had this working before, but have not been able to find the relevant info.

I want to allow my users to use the SME server for smtp, even when they are outside the local network. So any user from any computer can use our server for SMTP, as long as they provide usernames and passwords.

In the server-manager, under Configuration, E-mail, I have set SMTP authentication to "Allow both SMTP and SSMTP". And I can set my Thunderbird client to "Use name and password" when accessing the SMTP server. But then I get this error message from Thunderbird when I try to send an email:

Code: [Select]
Sending of message failed.
An error occurred sending mail: Unable to authenticate to SMTP server myserver.com.
It does not support authentication (SMTP-AUTH) but you have chosen to use authentication.
Uncheck 'Use name and password' for that server or contact your service provider.

I guess I'm doing something wrong, but what?
Title: Re: How to allow external clients access to SME-server's smtp?
Post by: mmccarn on March 11, 2010, 01:49:09 AM
Port: 465
Use Secure Authentication should *not* be checked
Connection Security: SSL/TLS
Title: Re: How to allow external clients access to SME-server's smtp?
Post by: peterhocking on March 11, 2010, 01:49:33 AM
Have you setup the email client to use secure SMTP, (port 465)?

HTH

Peter
Title: Re: How to allow external clients access to SME-server's smtp?
Post by: holck on March 11, 2010, 01:03:04 PM
Thanks for the suggestions - and sorry, it was all my fault.

As also described in this bug http://bugs.contribs.org/show_bug.cgi?id=5543 (http://bugs.contribs.org/show_bug.cgi?id=5543), for some time there were problems with the new version of qpsmtpd accepting ssl-connections. So at that time I forced rpm to install the old versions of qpsmtpd and smeserver-qpsmtpd. And this has caused problems after some later updating of packages.

It now works very fine with smeserver-qpsmtpd-2.0.0-5.el4.sme.noarch.rpm and qpsmtpd-0.83-0.6.el4.sme.noarch.rpm

Thanks - and sorry,
Jesper