<< | Index | >>
xmlconv can not read files with Dir.glob
.
rubygems of ruby-1.8.6 blocks under $SAFE=1 this Dir.glob method.
This make another exception of smtp in polling_manager.rb
in xmlconv.
I setuped same middlewares for production server in VM.
for pass_hash
% ruby -rmd5 -e "p Digest::MD5::hexdigest('passwd')"
gems
first
site_ruby
)
Attach:Rockit.tar.gz
(required ?)
postgres=# alter role OLD_NAME rename to NEW_NAME;
Then In my local machine, there is no error.
Debug configuration and load_path on production server.
google needs SSL on pop.
It seems that Ruby 1.8.6 does not use ssl without other libraries.
I tried SSL Connection with ruby 1.8.6 via stunnel. localhost:10000
is tunneling port.
#!/usr/bin/env ruby require "net/pop" # ruby-1.8.6 could not use this without tlsmail. #Net::POP3.enable_ssl(OpenSSL::SSL::VERIFY_NONE) Net::POP3.start("localhost", 10000, "yasaka@ywesee.com", "xxxxx") { |pop| pop.each_mail { |mail| source = mail.pop begin p source #= displays mail content ensure #mail.delete end } }
Connection over ssl.
2013.06.18 16:48:35 LOG5[28954:140693051324160]: Service [gmail] accepted connection from 127.0.0.1:49913 2013.06.18 16:48:35 LOG5[28954:140693051324160]: connect_blocking: connected 173.194.79.109:995 2013.06.18 16:48:35 LOG5[28954:140693051324160]: Service [gmail] connected remote server from 10.0.1.41:60277 2013.06.18 16:48:36 LOG5[28954:140693051324160]: Connection closed: 45 byte(s) sent to SSL, 147 byte(s) sent to socket 2013.06.18 16:48:36 LOG5[28954:140693051324160]: Service [gmail] accepted connection from 127.0.0.1:49916 2013.06.18 16:48:37 LOG5[28954:140693051324160]: connect_blocking: connected 173.194.79.109:995 2013.06.18 16:48:37 LOG5[28954:140693051324160]: Service [gmail] connected remote server from 10.0.1.41:60280 2013.06.18 16:48:38 LOG5[28954:140693051324160]: Connection closed: 45 byte(s) sent to SSL, 146 byte(s) sent to socket
libcrypto on production server, needs fips = no
.
polling.yml
Specyfied host
and port
into polling.yml
host: localhost port: 10000 user: xxxxx.xxxx@bbmb.ch pass: xxx content_type: 'text/xml' ...
Incoming Mail and Rubygems Problems are resolved.