Forum: Rails deployment Actionmailer / Qmail error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
047b3e47de8c31468165404d19030653?d=identicon&s=25 David Kleman (davve)
on 2009-03-06 07:40
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??

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 => "",
:user_name => "",
assword => "pw",
:authentication => :login

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

Processing CommentsController#create (for at 2009-03-05
09:14:16) [post]
Session ID: BAh7CzoLZm9ydW1zewA6CXVzZXJpFzoLdG9waWNzQAY6EGxhc3
VTogQWN0aXZlU3VwcG9ydDo6VGltZVdpdGhab25lWwhJdToJVG ltZQ1KRxuA
Parameters: {"commentable_type"=>"user", "commit"=>"Kommentera",
"action"=>"create", "commentable_id"=>"16", "controller"=>"comments",
Sent mail to

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/1.8/net/smtp.rb:378:in `start'
/usr/local/lib/ruby/1.8/net/smtp.rb:315:in `start'
`__send__'.../action_mailer/base.rb:383:in `method_missing'
/app/models/comment.rb:99:in `send_notifications'
Edit/Delete Message
This topic is locked and can not be replied to.