Mail Daemon Error


#1

I’m using fetcher_daemon
svn://rubyforge.org/var/svn/slantwise/fetcher/trunk which is a daemon
that checks a mail server.

When ever I run ‘ruby script/mailer_daemon_fetcher start’ it works
great, i get my mail but then i get an error:

richard-schneemans-macbook-pro:contacts richardschneeman$
/opt/local/lib/ruby/1.8/net/imap.rb:288:in shutdown': Socket is not connected (Errno::ENOTCONN) from /opt/local/lib/ruby/1.8/net/imap.rb:288:indisconnect’
from
/Users/richardschneeman/Documents/AptanaStudio/contacts/vendor/plugins/fetcher/lib/fetcher/imap.rb:63:in
close_connection' from /Users/richardschneeman/Documents/AptanaStudio/contacts/vendor/plugins/fetcher/lib/fetcher/base.rb:33:infetch’
from script/mailer_daemon_fetcher:17:in start' from script/mailer_daemon_fetcher:16:inloop’
from script/mailer_daemon_fetcher:16:in start' from /Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:55:instart’
from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:45:in
fork' from /Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:45:instart’
from
/Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:32:in
daemonize' from /Users/richardschneeman/Documents/AptanaStudio/contacts/lib/daemon.rb:14:indaemonize’
from script/mailer_daemon_fetcher:28

After which I no longer receive mail. Here is a copy of my code inside
of the fetcher daemon http://pastie.org/387939 .

Does anyone have any hints?


#2

Anybody??


#3

fixed here…

http://groups.google.com/group/peepcode/browse_thread/thread/39cb413c4c926490?fwc=1&pli=1

Richard,
www.uniteddictionary.com