Actionmailer / Qmail error

Hi.
I’ve previously used gmail as my outgoing mailserver in actionmailer,
but now I wanna switch to using my VPS. (Google is marking my account as
spam too often)

The error seems to be related to the parameters sent to qmail
by rails. I’m all lost how to debug this, any ideas??

Regards,
David Kleman

email login is configured and tested

SMTP Settings are:

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => “localhost”,
ort => 25,
:domain => “mycaddie.net”,
:user_name => “[email protected]”,
assword => “pw”,
:authentication => :login
}

========= Error message in production.log: ===========

Processing CommentsController#create (for 193.234.247.50 at 2009-03-05
09:14:16) [post]
Session ID: BAh7CzoLZm9ydW1zewA6CXVzZXJpFzoLdG9waWNzQAY6EGxhc3
RfYWN0aXZl
VTogQWN0aXZlU3VwcG9ydDo6VGltZVdpdGhab25lWwhJdToJVG ltZQ1KRxuA
bnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhhc2h7AAY6CkB1c2Vkew
A=–ae8f7d2360895c0df23525987ade0a9fc09b4e6e
Parameters: {“commentable_type”=>“user”, “commit”=>“Kommentera”,
“action”=>“create”, “commentable_id”=>“16”, “controller”=>“comments”,
“comment”=>{“comment”=>“

Mailtest2

”}}
Sent mail to [email protected]

Net::SMTPFatalError (554 qmail-dk: Cannot sign message due to invalid
message syntax. (#5.3.0)
):
/usr/local/lib/ruby/1.8/net/smtp.rb:679:in check_response' /usr/local/lib/ruby/1.8/net/smtp.rb:552:in send0’
/usr/local/lib/ruby/1.8/net/smtp.rb:471:in sendmail' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:630:in perform_delivery_smtp’
/usr/local/lib/ruby/1.8/net/smtp.rb:378:in start' /usr/local/lib/ruby/1.8/net/smtp.rb:315:in start’
/usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:628:in
perform_delivery_smtp' /usr/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:508:in send’…/action_mailer/base.rb:383:in method_missing' /app/models/comment.rb:99:in send_notifications’
Edit/Delete Message