Re: Command-line POP3S client for gmail?
"Kelly Jones" <[email protected]>
| Newsgroups | gmane.org.user-groups.nmlug |
|---|---|
| Message-ID | <[email protected]> |
OK, I added this to xinetd.conf and restarted xinetd:
# testing ssl client to gmail pop3s
service pop3
{
disable = no
socket_type = stream
wait = no
user = user
server = /usr/bin/openssl
server_args = s_client -quiet -connect pop.gmail.com:995
only_from = 127.0.0.1
}
I then did "telnet localhost pop3" and got this:
> telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc./CN=pop.gmail.com
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc./CN=pop.gmail.com
verify error:num=27:certificate not trusted
verify return:1
depth=0 /C=US/ST=California/L=Mountain View/O=Google Inc./CN=pop.gmail.com
verify error:num=21:unable to verify the first certificate
verify return:1
+OK Gpop ready for requests from [...] 33pf2818677wra
QUIT
+OK Bye 33pf2818677wra
read:errno=0
Connection closed by foreign host.
All the verify garbage (which is s_client's stderr, not stdout)
confuses popclient. How do I get rid of it? I tried "-verify 0" and
even "2> /dev/null" on the server_args line, didn't help.
On 11/23/06, Anthony Martinez <[email protected]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kelly Jones wrote:
> > What's a good command-line pop3s client to POP mail off gmail?
> >
> > popclient only supports unencrypted POP servers.
> >
>
> Try pointing stunnel or openssl s_client at gmail and popclient at the
> created
> tunnel.
>
> - -- Pi
>
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > NMLUG mailing list
> > [email protected]
> > http://www.nmlug.org/mailman/listinfo/nmlug
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
>
> iD8DBQFFZiIcKaiGM/xGKzQRAknAAJ97Svu/0OtgREzfsyG21v33WcGbrgCfT/H3
> Zrhnd+bV0AOWWPzQJsXS6JU=
> =AjVw
> -----END PGP SIGNATURE-----
> _______________________________________________
> NMLUG mailing list
> [email protected]
> http://www.nmlug.org/mailman/listinfo/nmlug
>
_______________________________________________
NMLUG mailing list
[email protected]
http://www.nmlug.org/mailman/listinfo/nmlug