Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: johnlobe on January 25, 2007, 10:39:11 AM
-
I have a vanilla server-only setup and would like SME 7.1 to use smtp.gmail.com for outgoing mail leaving my network. Can it be done?
This should be a basic thing to setup, but I can't seem to get it working.
I can successfully get Outlook on a client machine to use smtp.gmail.com, but not SME.
From the server-manager I enter:
Address of Internet provider's mail server = smtp.gmail.com:465
SMTP Authentication for Internet provider = Enabled
(The correct Mail server user id)
(The correct Mail server password)
Result in the qmail log is:
Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
Why can I use this smtp server (port 465) from an Outlook client and not SME?
What else needs to be done to get this to work on SME?
-
Have a look at this thread see if it helps...
http://forums.contribs.org/index.php?topic=34440.0
-
smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
http://mail.google.com/support/bin/answer.py?answer=38343
It would appear that it's the lack of SSL support in SME that is causing you problems.
The work is done by /usr/local/sbin/smtp-auth-proxy.pl which uses Net::SMTP (http://search.cpan.org/~gbarr/libnet-1.19/Net/SMTP.pm)
What would help you is if it used Net::SMTP::SSL (http://search.cpan.org/dist/Net-SMTP-SSL/lib/Net/SMTP/SSL.pm)
If you want it than make a NFR in the bug tracker.
-
I have a vanilla server-only setup and would like SME 7.1 to use smtp.gmail.com for outgoing mail leaving my network. Can it be done?
This should be a basic thing to setup, but I can't seem to get it working.
I can successfully get Outlook on a client machine to use smtp.gmail.com, but not SME.
From the server-manager I enter:
Address of Internet provider's mail server = smtp.gmail.com:465
SMTP Authentication for Internet provider = Enabled
(The correct Mail server user id)
(The correct Mail server password)
Result in the qmail log is:
Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
Why can I use this smtp server (port 465) from an Outlook client and not SME?
What else needs to be done to get this to work on SME?
You might find some improvement with gmail in Bug 226. (http://bugs.contribs.org/show_bug.cgi?id=2226#c21)