Thanks for your quick response.
I fixed the email address and the email message I get is very much the same info as in the log file. As the email doesn't cause any problems there are now additional info in the file. Seems to be a problem with the environment stuff...
I thought I got the same environment by using the setuidgid $USER but this is ofcource not a gitorious problem but more related to me being such a newbie on the daemontools stuff.
Thanks very much for your help
[Gitorious Processor] fail in SshKeyProcessor
(Mon Jun 22 20:35:57 2009)
An exception occured in #<SshKeyProcessor:0xb1b36d0
@message=
#<Stomp::Message:0xb1cd508
@body=
"{\"target_class\": \"SshKey\", \"command\": \"add_to_authorized_keys\", \"arguments\": [\"### START KEY 20 ###\\ncommand=\\\"gitorious martin\\\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa xxxxxxxxxx== SshKey:20-User:1\\n### END KEY 20 ###\\n\"], \"target_id\": 20, \"identifier\": \"ssh_key_20\"}",
@command="MESSAGE",
@headers=
{"content-type"=>"text/plain; charset=UTF-8",
"message-id"=>"ID:MATACILT-42064-1245665695431-4:23:-1:1:1",
"destination"=>"/queue/GitoriousSshKeys",
"timestamp"=>"1245677757101",
"expires"=>"0",
"subscription"=>"ssh_key_processor",
"content-length"=>"661",
"priority"=>"0"}>>
!
{"target_class": "SshKey", "command": "add_to_authorized_keys", "arguments": ["### START KEY 20 ###\ncommand=\"gitorious martin\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx== SshKey:20-User:1\n### END KEY 20 ###\n"], "target_id": 20, "identifier": "ssh_key_20"}
ArgumentError: couldn't find HOME environment -- expanding `~'
/var/www/gitorious/app/models/ssh_key_file.rb:49:in `expand_path'
/var/www/gitorious/app/models/ssh_key_file.rb:49:in `default_authorized_keys_path'
/var/www/gitorious/app/models/ssh_key_file.rb:24:in `initialize'
/var/www/gitorious/app/models/ssh_key.rb:63:in `new'
/var/www/gitorious/app/models/ssh_key.rb:63:in `add_to_authorized_keys'
/var/www/gitorious/app/processors/ssh_key_processor.rb:27:in `on_message'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/processor.rb:32:in `process!'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:229:in `block (2 levels) in _dispatch'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:149:in `execute_filter_chain'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:228:in `block in _dispatch'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:219:in `each'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:219:in `_dispatch'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:200:in `block in dispatch'
<internal:prelude>:8:in `synchronize'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:197:in `dispatch'
/var/www/gitorious/vendor/plugins/activemessaging/lib/activemessaging/gateway.rb:43:in `block (2 levels) in start'