[DRE-commits] r4837 - in trunk/redmine/debian: . doc/examples
Jérémy Lal
kapouer-guest at alioth.debian.org
Sun Feb 28 15:44:45 UTC 2010
Author: kapouer-guest
Date: 2010-02-28 15:44:42 +0000 (Sun, 28 Feb 2010)
New Revision: 4837
Removed:
trunk/redmine/debian/doc/examples/email.yml
Modified:
trunk/redmine/debian/README.Debian
trunk/redmine/debian/changelog
trunk/redmine/debian/rules
Log:
Use email.yml.example provided upstream, much more complete now.
This email.yml.example does not mention async_smtp delivery method.
This method does not work when used by a rake task e.g. in a crontab.
Document this in README.Debian and closes #570402.
Modified: trunk/redmine/debian/README.Debian
===================================================================
--- trunk/redmine/debian/README.Debian 2010-02-28 15:44:33 UTC (rev 4836)
+++ trunk/redmine/debian/README.Debian 2010-02-28 15:44:42 UTC (rev 4837)
@@ -109,6 +109,7 @@
/usr/share/doc/redmine/examples/email.yml
to
/etc/redmine/<instancename>/email.yml
+and edit the file.
Then change permissions and owner :
chmod 640 /etc/redmine/<instancename>/email.yml
chown root:www-data /etc/redmine/<instancename>/email.yml
@@ -116,4 +117,11 @@
Administration panel -> Settings -> Email notifications -> Send a test email
or refer to the Redmine Guide.
+* WARNING : delivery_method: :async_smtp
+It has been reported [0] that this method does not work when used by a rake task (e.g.
+in a crontab). Simply use :smtp method in that case.
+[0]
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570402
+
+
-- Jérémy Lal <kapouer at melix.org> Sat, 19 Sep 2009 14:30:19 +0200
Modified: trunk/redmine/debian/changelog
===================================================================
--- trunk/redmine/debian/changelog 2010-02-28 15:44:33 UTC (rev 4836)
+++ trunk/redmine/debian/changelog 2010-02-28 15:44:42 UTC (rev 4837)
@@ -10,8 +10,10 @@
(Closes: #570308)
* Recommends libapache2-mod-passenger and provide some example for
its configuration. (Closes: #570184)
+ * Update email.yml example, document in README.Debian a bug with
+ delivery method async_smtp. (Closes: #570402)
- -- Jérémy Lal <kapouer at melix.org> Sat, 20 Feb 2010 03:37:58 +0100
+ -- Jérémy Lal <kapouer at melix.org> Sun, 28 Feb 2010 16:21:16 +0100
redmine (0.9.2-2) unstable; urgency=low
Deleted: trunk/redmine/debian/doc/examples/email.yml
===================================================================
--- trunk/redmine/debian/doc/examples/email.yml 2010-02-28 15:44:33 UTC (rev 4836)
+++ trunk/redmine/debian/doc/examples/email.yml 2010-02-28 15:44:42 UTC (rev 4837)
@@ -1,26 +0,0 @@
-## Outgoing email settings
-## Read redmine documentation for setting up mail notifications
-
-## simple smtp server
-#production:
-# delivery_method: :smtp
-# smtp_settings:
-# address: smtp.example.net
-# port: 25
-# domain: example.net
-# authentication: :login
-# user_name: redmine at example.net
-# password: redmine
-
-## typical gmail smtp server
-#production:
-# send emails asynchronously
-# delivery_method: :async_smtp
-# smtp_settings:
-# enable_starttls_auto: true
-# address: smtp.gmail.com
-# port: 587
-# domain: gmail.com
-# authentication: :plain
-# user_name: xxxxxx at gmail.com
-# password: xxxxxx
Modified: trunk/redmine/debian/rules
===================================================================
--- trunk/redmine/debian/rules 2010-02-28 15:44:33 UTC (rev 4836)
+++ trunk/redmine/debian/rules 2010-02-28 15:44:42 UTC (rev 4837)
@@ -36,8 +36,9 @@
# rename cgi script, check permissions
mv debian/redmine/usr/share/redmine/public/dispatch.fcgi.example debian/redmine/usr/share/redmine/public/dispatch.fcgi
+ # move email.yml example to doc/examples
+ mv debian/redmine/usr/share/redmine/config/email.yml.example debian/doc/examples/email.yml
# remove example config files
- rm -f debian/redmine/usr/share/redmine/config/email.yml.example
rm -f debian/redmine/usr/share/redmine/config/database.yml.example
# Mark scripts as executable until upstream fixes their .tar.gz archive build
More information about the Pkg-ruby-extras-commits
mailing list