Hi,
Is anyone using the new runner script and mail receiving functionality
yet?
I''ve written code that works fine with: cat testmail |./script/runner
''InboundMail.receive(STDIN.read)''. However when qmail
attempts to
execute the runner, I see in the log files where the mail was received,
then when ActiveRecord tries to execute any search it always returns
nil or RecordNotFound. Note that these AR calls are being issued while
inside the receive() method of InboundMail.
I''ve tried manually establishing the AR connection, along with a
begin/rescue block in order to ensure that I am indeed establishing a
connection. Then I went in and used sudo to run the "cat testmail"
line as the qmail user to make sure it wasn''t a permissions problem
(which executed fine). Now I''m stuck though -- anyone else have an
idea as to what to check next?
-Jonathan