Library for pop over ssl?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco Herrn

    Library for pop over ssl?

    Hi, I know of poplib, which does what I need except that it doesn't
    support SSL encryption. imaplib has SSL-support. But I want it with
    pop3. Is there a library available that does this or do I have to
    implement it myself?

    Bye
    Marco
    --
    Marco Herrn [email protected]
    (GnuPG/PGP-signed and crypted mail preferred)
    Key ID: 0x94620736

  • Jp Calderone

    #2
    Re: Library for pop over ssl?

    On Sun, Jul 13, 2003 at 03:08:53PM +0000, Marco Herrn wrote:[color=blue]
    > Hi, I know of poplib, which does what I need except that it doesn't
    > support SSL encryption. imaplib has SSL-support. But I want it with
    > pop3. Is there a library available that does this or do I have to
    > implement it myself?[/color]



    Jp

    --


    Comment

    • JanC

      #3
      Re: Library for pop over ssl?

      Marco Herrn <[email protected] t> schreef:
      [color=blue]
      > Hi, I know of poplib, which does what I need except that it doesn't
      > support SSL encryption. imaplib has SSL-support. But I want it with
      > pop3. Is there a library available that does this or do I have to
      > implement it myself?[/color]

      You can always use stunnel to SSL-ize a "normal" protocol...
      <http://www.stunnel.org/>

      --
      JanC

      "Be strict when sending and tolerant when receiving."
      RFC 1958 - Architectural Principles of the Internet - section 3.9

      Comment

      • Skip Montanaro

        #4
        Re: Library for pop over ssl?

        [color=blue][color=green]
        >> Hi, I know of poplib, which does what I need except that it doesn't
        >> support SSL encryption. imaplib has SSL-support. But I want it with
        >> pop3. Is there a library available that does this or do I have to
        >> implement it myself?[/color][/color]

        JanC> You can always use stunnel to SSL-ize a "normal" protocol...
        JanC> <http://www.stunnel.org/>

        Doesn't stunnel only work for servers?

        Skip

        Comment

        • JanC

          #5
          Re: Library for pop over ssl?

          Skip Montanaro <[email protected] > schreef:
          [color=blue][color=green][color=darkred]
          > >> Hi, I know of poplib, which does what I need except that it
          > >> doesn't support SSL encryption. imaplib has SSL-support. But I
          > >> want it with pop3. Is there a library available that does this
          > >> or do I have to implement it myself?[/color][/color]
          >
          > JanC> You can always use stunnel to SSL-ize a "normal" protocol...
          > JanC> <http://www.stunnel.org/>
          >
          > Doesn't stunnel only work for servers?[/color]

          It works for both servers & clients.
          I use it with Xnews (my newsreader) to access secure NNTP servers.

          --
          JanC

          "Be strict when sending and tolerant when receiving."
          RFC 1958 - Architectural Principles of the Internet - section 3.9

          Comment

          • Donn Cave

            #6
            Re: Library for pop over ssl?

            Quoth JanC <usenet_spam@ja nc.invalid>:
            | Marco Herrn <[email protected] t> schreef:
            |> Hi, I know of poplib, which does what I need except that it doesn't
            |> support SSL encryption. imaplib has SSL-support. But I want it with
            |> pop3. Is there a library available that does this or do I have to
            |> implement it myself?
            |
            | You can always use stunnel to SSL-ize a "normal" protocol...
            | <http://www.stunnel.org/>

            You can also SSL-ize a protocol in Python. I'm surprised to read
            that imaplib has SSL support, because I don't see it in the library
            module searching by 'ssl' or 'SSL'. I've had to do it the Python way,
            so to speak: subclass IMAP4, implement a fileobject-like object, etc.
            This should be feasible for POP3 as well - a quick look suggests that
            it might be enough to copy its __init__ and rewrite it. The fileobject
            emulation is to get pop3.file.readl ine et al. to call sslobject.read.

            Donn Cave, [email protected] m


            Comment

            Working...