Package: redmine Version: 0.9.0~svn2902-1 Severity: important Hi Jérémy,
just a second bug as reminder. :) When trying to send a testmail (e.g. notifications) I get the following: An error occurred while sending mail (hostname was not match with the server certificate) Modifying /usr/share/rails/actionmailer/lib/action_mailer/base.rb like described in [1] is working, but the file is part of the rails package: --- /usr/share/rails/actionmailer/lib/action_mailer/base.rb.orig 2009-10-03 16:30:31.000000000 +0200 +++ /usr/share/rails/actionmailer/lib/action_mailer/base.rb 2009-10-03 16:30:22.000000000 +0200 @@ -678,7 +678,7 @@ sender = mail['return-path'] || mail.from smtp = Net::SMTP.new(smtp_settings[:address], smtp_settings[:port]) - smtp.enable_starttls_auto if smtp.respond_to?(:enable_starttls_auto) + smtp.enable_starttls_auto if smtp_settings[:enable_starttls_auto] && smtp.respond_to?(:enable_starttls_auto) smtp.start(smtp_settings[:domain], smtp_settings[:user_name], smtp_settings[:password], smtp_settings[:authentication]) do |smtp| smtp.sendmail(mail.encoded, sender, destinations) # grep -v ^# /etc/redmine/default/email.yml |grep -v ^$ production: delivery_method: :smtp smtp_settings: enable_starttls_auto: false address: localhost port: 25 domain: cyconet.org authentication: :none So I don't want to touch the action_mailer/base.rb, since it would be overwritten with the next package update of rails. Anyways ... the rails package is 2.2.3-1~bpo50+1. With kind regards, Jan. [1] http://www.redmine.org/boards/2/topics/6446 -- Never write mail to <w...@spamfalle.info>, you have been warned! -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++ ------END GEEK CODE BLOCK------
signature.asc
Description: This is a digitally signed message part.