librelist archives

« back to archive

Lamson SSL support

Lamson SSL support

From:
Gonzalo Delgado
Date:
2009-11-11 @ 11:21
Hello again!

Looking at the Relay class, I noticed it doesn't seem to support SSL.
I find my self needing this, so I'll just write a subclass that works with SSL
(need to send through a GMail account).

I was just wondering: is SSL/TLS support planned in any way?

Regards.

-- 
Gonzalo Delgado <gonzalodel@gmail.com>
http://gonzalodelgado.com.ar/

Re: Lamson SSL support

From:
Zed A. Shaw
Date:
2009-11-11 @ 16:31
On Wed, Nov 11, 2009 at 08:21:47AM -0300, Gonzalo Delgado wrote:
> Hello again!
> 
> Looking at the Relay class, I noticed it doesn't seem to support SSL.
> I find my self needing this, so I'll just write a subclass that works with SSL
> (need to send through a GMail account).
> 
> I was just wondering: is SSL/TLS support planned in any way?

Nope, most of the time it's used behind a typical hosted relay, but if
you write it I'll include it.

-- 
Zed A. Shaw
http://zedshaw.com/

Re: Lamson SSL support

From:
Gonzalo Delgado
Date:
2009-11-12 @ 13:12
El Wed, 11 Nov 2009 08:31:14 -0800
"Zed A. Shaw" <zedshaw@zedshaw.com> escribió:

> Nope, most of the time it's used behind a typical hosted relay,

Guess so. In the company I work for, they use GoogleApps for mailing purposes
and server notifications go through a special GMail (GApps) account, though.

> but if you write it I'll include it.

Written!	:)
The attached patch adds support for SSL (not tested) SMTP AUTH (tested with
GMail) and STARTTLS (tested with GMail) to Relay objects and also to the
lamson.commands.send_command function.

Let me know if it requires more work.

-- 
Gonzalo Delgado <gonzalodel@gmail.com>
http://gonzalodelgado.com.ar/

Re: Lamson SSL support

From:
Zed A. Shaw
Date:
2009-11-12 @ 19:29
On Thu, Nov 12, 2009 at 10:12:11AM -0300, Gonzalo Delgado wrote:
> El Wed, 11 Nov 2009 08:31:14 -0800
> "Zed A. Shaw" <zedshaw@zedshaw.com> escribió:
> 
> > Nope, most of the time it's used behind a typical hosted relay,
> 
> Guess so. In the company I work for, they use GoogleApps for mailing purposes
> and server notifications go through a special GMail (GApps) account, though.
> 
> > but if you write it I'll include it.
> 
> Written!	:)
> The attached patch adds support for SSL (not tested) SMTP AUTH (tested with
> GMail) and STARTTLS (tested with GMail) to Relay objects and also to the
> lamson.commands.send_command function.

Cool, I'm hoping to get to do some Lamson work this weekend since
fretwar.com needs it pretty bad.  I'll let you know when I apply it.


-- 
Zed A. Shaw
http://zedshaw.com/

Re: Lamson SSL support

From:
Gonzalo Delgado
Date:
2009-11-12 @ 22:58
El Thu, 12 Nov 2009 11:29:44 -0800
"Zed A. Shaw" <zedshaw@zedshaw.com> escribió:

> Cool, I'm hoping to get to do some Lamson work this weekend since
> fretwar.com needs it pretty bad.  I'll let you know when I apply it.

Fantastic, I'll probably setup a branch in launchpad if that's OK with you.

-- 
Gonzalo Delgado <gonzalodel@gmail.com>
http://gonzalodelgado.com.ar/