Koozali.org: home of the SME Server

Wanted: Reliable smtp server to use for smeserver email sending

Offline brianr

  • *
  • 990
  • +2/-0
Wanted: Reliable smtp server to use for smeserver email sending
« on: December 12, 2013, 11:00:57 AM »
Hi

I am unable to get a fixed IP address, so I have to use a 3rd party smtp server to send email. I am finding that my ISP email server is not very
well looked after and for certain email addresses it is rejected by the receiving server.

Anyone got any suggestions as to who I could use?  I was considering trying to use the gmail server (i have a gmail account as well). 

All suggestions gratefully received.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #1 on: December 12, 2013, 11:18:49 AM »
I had the same a couple of years ago. I signed-up a Gmail account and now relay through that. We use the gmail email address as a 'disposable' one for web sign-ins for random things that you use only once or twice, and provides a useful 'off-site' email address to use for testing that mail is working etc.


Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #2 on: December 12, 2013, 11:27:14 AM »
I had the same a couple of years ago. I signed-up a Gmail account and now relay through that. We use the gmail email address as a 'disposable' one for web sign-ins for random things that you use only once or twice, and provides a useful 'off-site' email address to use for testing that mail is working etc.

aha -  that sounds like a good idea.  Do you manage to access gmail on port 465?  If so, how?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #3 on: December 12, 2013, 11:31:29 AM »
Ah, you have highlighted a future problem for me. I've not rolled-out SME8 as a mailserver yet, we're still using the old system at the moment. I'm probably going to be int he same boat as you in the new year  :(

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #4 on: December 12, 2013, 10:18:18 PM »
Moved to General Discussions.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #5 on: December 13, 2013, 06:03:45 AM »
Do you manage to access gmail on port 465?  If so, how?

If you have a problem accessing gmail on port 465, then you should open a bug report/NFR.

Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #6 on: December 13, 2013, 07:58:55 AM »
If you have a problem accessing gmail on port 465, then you should open a bug report/NFR.

Is there a way of specifying port 465 to be used? - Should specifying

smtp.googlemail.com:465

in the "Address of Internet provider's mail server" work? It needs SSL/TLS apparently.

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #7 on: December 13, 2013, 04:57:14 PM »
I have been using authsmtp http://www.authsmtp.com/ for the last few years, seems to work well.

Although they appear to have an auth problem with Digest-MD5 but that is easily configured.

............

Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #8 on: December 16, 2013, 06:42:00 AM »
I have been using authsmtp http://www.authsmtp.com/ for the last few years, seems to work well.

Although they appear to have an auth problem with Digest-MD5 but that is easily configured.

I've got a trial account - but it does not work out of the box (just dropping the URL of the mail server and name and password into the Server-Manager/Email/Email Delivery boxes).

Can you give me some more details of the changes you needed?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #9 on: December 16, 2013, 10:37:05 AM »
Tried using the gmail SMTP server: smtp@googlemail.com.

It works if you add the Port 465 to the db:

config setprop smtp-auth-proxy PeerPort 465

However all email are sent "from" the gmail user that you use to login to the server.  So not a lot of use.

I'll write this up for the wiki once I've finished this little investigation.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #10 on: December 16, 2013, 12:25:36 PM »
Tried using the gmail SMTP server: smtp@googlemail.com.

It works if you add the Port 465 to the db:

config setprop smtp-auth-proxy PeerPort 465

However all email are sent "from" the gmail user that you use to login to the server.  So not a lot of use.

I'll write this up for the wiki once I've finished this little investigation.
are you sure that you need to change the port in the db, it seems to me that you can do by telling which port you need
smtp.gmail.com:465
but indeed the mail is sent with the name of the gmail account
« Last Edit: December 16, 2013, 12:29:20 PM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #11 on: December 16, 2013, 01:48:23 PM »
My interpretation of

/usr/local/sbin/smtp-auth-proxy.pl

is that SSL is only turned on if PeerPort=465, so appending 465 to the URL will not make that happen. Which I guess is why when I tried it it would not send (but no errors where logged).

My Perl is pretty basic, so I could be wrong though.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #12 on: December 18, 2013, 06:12:25 AM »
I've got a trial account - but it does not work out of the box (just dropping the URL of the mail server and name and password into the Server-Manager/Email/Email Delivery boxes).

Can you give me some more details of the changes you needed?

Here is my SME 9 test server setup - I'm debugging Bug 8060 at the moment and needed to set it up there.

Until Bug 8060 is released you need this line
config setprop smtp-auth-proxy Blacklist DIGEST-MD5

Here is my setup (not sure why I have the IP address and not the name, but it works)

Address of Internet provider's mail server  62.13.128.189
SMTP Authentication for Internet provider   Enabled
Mail server user id                         username-from-authsmtp
Mail server password                        password-from-authsmtp

And if you check from the shell

smtp-auth-proxy=service
    Blacklist=DIGEST-MD5
    Debug=enabled <-- not needed
    Passwd=password-from-authsmtp
    Userid=username-from-authsmtp
    status=enabled

............

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #13 on: December 18, 2013, 06:19:15 AM »
My interpretation of

/usr/local/sbin/smtp-auth-proxy.pl

is that SSL is only turned on if PeerPort=465, so appending 465 to the URL will not make that happen. Which I guess is why when I tried it it would not send (but no errors where logged).

My Perl is pretty basic, so I could be wrong though.

In SME9 I get SSL to authsmtp by default without any peerport setting
............

Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #14 on: December 18, 2013, 10:55:19 AM »

Until Bug 8060 is released you need this line
config setprop smtp-auth-proxy Blacklist DIGEST-MD5


Yes, that works - thanks.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline brianr

  • *
  • 990
  • +2/-0
Re: Wanted: Reliable smtp server to use for smeserver email sending
« Reply #15 on: December 18, 2013, 10:56:11 AM »
In SME9 I get SSL to authsmtp by default without any peerport setting

Yes, same here, I guess setting port 465 forces SSL, but it is taken if offered anyway.

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........