Commit c05ca0227fd4110babb4a6c1546eceb71eb3fb89:
another file needed for the workbench
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
DEPLOYMENT.md | ++
www/secretary/workbench/secmail.rb | ++++++++++++++
------------------------------------------------------------
58 changes: 58 additions, 0 deletions.
------------------------------------------------------------
diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
index 74d67e0..e912ba0 100644
--- a/DEPLOYMENT.md
+++ b/DEPLOYMENT.md
@@ -56,3 +56,5 @@ away once the transition away from the secretary workbench is
complete:
* `svn co https://svn.apache.org/repos/private/documents
/srv/secretary/workbench/documents`
* `svn co https://svn.apache.org/repos/infra/infrastructure/trunk/subreq
/srv/secretary/workbench/subreq`
+ * Copy `www/secretary/workbench/secmail.rb` to
+ `/srv/secretary/workbench/secmail.rb`
diff --git a/www/secretary/workbench/secmail.rb
b/www/secretary/workbench/secmail.rb
new file mode 100644
index 0000000..fad0b38
--- /dev/null
+++ b/www/secretary/workbench/secmail.rb
@@ -0,0 +1,56 @@
+require 'mail'
+
+Mail.defaults do
+ delivery_method :sendmail
+
+ if $USER == 'clr'
+
+ @from = 'Craig L Russell <[email protected]>'
+ @sig = %{
+ -- Craig L Russell
+ Secretary, Apache Software Foundation
+ }
+
+ elsif $USER == 'jcarman'
+
+ @from = 'James Carman <[email protected]>'
+ @sig = %{
+ -- James Carman
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'rubys'
+
+ @from = 'Sam Ruby <[email protected]>'
+ @sig = %{
+ -- Sam Ruby
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'jim'
+
+ @from = 'Jim Jagielski <[email protected]>'
+ @sig = %{
+ -- Jim Jagielski
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'sanders'
+
+ @from = 'Scott Sander <[email protected]>'
+ @sig = %{
+ -- Scott Sander
+ Apache Software Foundation Secretarial Team
+ }
+
+ elsif $USER == 'mnour'
+
+ @from = 'Mohammad Nour El-Din <[email protected]>'
+ @sig = %{
+ -- Mohammad Nour El-Din
+ Apache Software Foundation Secretarial Team
+ }
+ end
+end
+
+