You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2016/05/31 08:08:29 UTC
[1/3] incubator-ponymail-site git commit: fix image links
Repository: incubator-ponymail-site
Updated Branches:
refs/heads/asf-site ff17dba0b -> d68d8545b
fix image links
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/commit/52079c8b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/tree/52079c8b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/diff/52079c8b
Branch: refs/heads/asf-site
Commit: 52079c8b11af11691de53cf3df062f0a73bed00b
Parents: ff17dba
Author: humbedooh <hu...@apache.org>
Authored: Tue May 31 10:05:09 2016 +0200
Committer: humbedooh <hu...@apache.org>
Committed: Tue May 31 10:05:09 2016 +0200
----------------------------------------------------------------------
source/template.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/52079c8b/source/template.html
----------------------------------------------------------------------
diff --git a/source/template.html b/source/template.html
index 8e557f5..51e2274 100644
--- a/source/template.html
+++ b/source/template.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -36,7 +36,7 @@
%CONTENT%
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
[2/3] incubator-ponymail-site git commit: support pre wrappers
Posted by hu...@apache.org.
support pre wrappers
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/commit/f7253fe6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/tree/f7253fe6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/diff/f7253fe6
Branch: refs/heads/asf-site
Commit: f7253fe60a0dda740aa92dbd7fde9e70d5976a07
Parents: 52079c8
Author: humbedooh <hu...@apache.org>
Authored: Tue May 31 10:08:06 2016 +0200
Committer: humbedooh <hu...@apache.org>
Committed: Tue May 31 10:08:06 2016 +0200
----------------------------------------------------------------------
source/generate.py | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/f7253fe6/source/generate.py
----------------------------------------------------------------------
diff --git a/source/generate.py b/source/generate.py
index f958a5c..2af484d 100644
--- a/source/generate.py
+++ b/source/generate.py
@@ -19,6 +19,7 @@ def runDir(path):
outfile = f.replace(".md", ".html").lower().replace("//", "/")
outfile = path.replace("markdown", "", 1) + outfile
text = input_file.read()
+ text = re.sub(r"~~~([\s\S]+?)~~~", "<pre>\\1</pre>", text, flags=re.MULTILINE)
html = markdown.markdown(text)
html = template.replace("%CONTENT%", html, 1)
print("Writing %s..." % outfile)
[3/3] incubator-ponymail-site git commit: regenerate
Posted by hu...@apache.org.
regenerate
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/commit/d68d8545
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/tree/d68d8545
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/diff/d68d8545
Branch: refs/heads/asf-site
Commit: d68d8545b7b219f1f02f2580a468fcdfaa1f8e0d
Parents: f7253fe
Author: humbedooh <hu...@apache.org>
Authored: Tue May 31 10:08:16 2016 +0200
Committer: humbedooh <hu...@apache.org>
Committed: Tue May 31 10:08:16 2016 +0200
----------------------------------------------------------------------
content/about.html | 4 +-
content/contribute.html | 4 +-
content/docs.html | 4 +-
content/docs/api.html | 33 +++++++------
content/docs/archiving.html | 31 ++++++------
content/docs/building.html | 4 +-
content/docs/contributing.html | 4 +-
content/docs/importing.html | 4 +-
content/docs/install.centos.html | 91 +++++++++++++++++++----------------
content/docs/install.debian.html | 43 +++++++++--------
content/docs/install.fedora.html | 77 ++++++++++++++++-------------
content/docs/install.ubuntu.html | 57 ++++++++++++----------
content/docs/installing.html | 48 ++++++++++--------
content/downloads.html | 4 +-
content/index.html | 4 +-
content/source.html | 4 +-
content/support.html | 4 +-
17 files changed, 232 insertions(+), 188 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/about.html
----------------------------------------------------------------------
diff --git a/content/about.html b/content/about.html
index 26183b6..d6c7d42 100644
--- a/content/about.html
+++ b/content/about.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -50,7 +50,7 @@
</ul></p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/contribute.html
----------------------------------------------------------------------
diff --git a/content/contribute.html b/content/contribute.html
index 19384c1..8da8283 100644
--- a/content/contribute.html
+++ b/content/contribute.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -49,7 +49,7 @@ documentation, evangelism, marketing, or helping out other users.</p>
</ul>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs.html
----------------------------------------------------------------------
diff --git a/content/docs.html b/content/docs.html
index 988cfe4..1bec32e 100644
--- a/content/docs.html
+++ b/content/docs.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -55,7 +55,7 @@
</ol>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/api.html
----------------------------------------------------------------------
diff --git a/content/docs/api.html b/content/docs/api.html
index 7f28923..72c6c49 100644
--- a/content/docs/api.html
+++ b/content/docs/api.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -40,11 +40,11 @@
<p>Parameters: (cookie may be required)
- $mid: The email ID or Message-ID: header</p>
<p>Response example:</p>
-<p>~~~
+<pre>
{
- "references": "<a href="mailto:git-pr-18-any23@git.apache.org">git-pr-18-any23@git.apache.org</a>",
- "from_raw": "lewismc <a href="mailto:git@git.apache.org">git@git.apache.org</a>",
- "message-id": "<a href="mailto:20150905153416.0CDCFDFE66@git1-us-west.apache.org">20150905153416.0CDCFDFE66@git1-us-west.apache.org</a>",
+ "references": "<gi...@git.apache.org>",
+ "from_raw": "lewismc <gi...@git.apache.org>",
+ "message-id": "<20...@git1-us-west.apache.org>",
"@import_timestamp": "2015/10/04 09:52:41",
"body": "Body of email here...",
"request_id": "06b318af97ca96c115e878c14d0814a53407751c31388410421c1751@1441467256@<dev.any23.apache.org>",
@@ -52,9 +52,9 @@
"attachments": {},
"list": "<dev.any23.apache.org>",
"date": "2015/09/05 17:34:16",
- "from": "lewismc <a href="mailto:git@git.apache.org">git@git.apache.org</a>",
+ "from": "lewismc <gi...@git.apache.org>",
"gravatar": "a676c0bf448fcd49f588249ead719b4c",
- "in-reply-to": "<a href="mailto:git-pr-18-any23@git.apache.org">git-pr-18-any23@git.apache.org</a>",
+ "in-reply-to": "<gi...@git.apache.org>",
"epoch": 1441467256,
"subject": "[GitHub] any23 pull request: Gsoc 2015 Microformats2",
"mid": "06b318af97ca96c115e878c14d0814a53407751c31388410421c1751@1441467256@<dev.any23.apache.org>",
@@ -62,7 +62,8 @@
"tid": "06b318af97ca96c115e878c14d0814a53407751c31388410421c1751@1441467256@<dev.any23.apache.org>",
"list_raw": "<dev.any23.apache.org>"
}
-~~~</p>
+</pre>
+
<h3>Fetching list data</h3>
<p>Usage:
<code>GET /api/stats.lua?list=$list&domain=$domain[&d=$timespan][&q=$query][&header_from=$from][&header_subject=$subject]</code></p>
@@ -77,7 +78,7 @@
- $from: Optional From: address
- $subject: Optional Subject: line</p>
<p>Response example:</p>
-<p>~~~
+<pre>
{
"took": 437179,
"firstYear": 2015,
@@ -96,14 +97,15 @@
"numparts": 0,
"using_wc": false
}
-~~~</p>
+</pre>
+
<h3>Fetching preferences and quick list overview</h3>
<p>Usage:
<code>GET /api/preferences.lua[?logout=true]</code></p>
<p>Parameters: (cookie required)
- logout: Whether to log out of the system (optional)</p>
<p>Response example:</p>
-<p>~~~
+<pre>
{
"lists": {
"ponymail.info": {
@@ -133,20 +135,21 @@
}
}
}
-~~~</p>
+</pre>
+
<h3>Fetching notifications for a logged in user</h3>
<p>Usage:
<code>GET /api/notifications.lua</code></p>
<p>Parameters: <code>None</code> (cookie required)</p>
<p>Response example:</p>
-<p>~~~
+<pre>
{
"notifications": {...}
}
-~~~</p>
+</pre>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/archiving.html
----------------------------------------------------------------------
diff --git a/content/docs/archiving.html b/content/docs/archiving.html
index a10fac6..f35ba1d 100644
--- a/content/docs/archiving.html
+++ b/content/docs/archiving.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -53,11 +53,12 @@ Python 3 and the helper libraries installed
<h3>Create an alias:</h3>
<p>Set up a mail alias for public and private lists in <code>/etc/aliases</code> or similar method,
and point them at the archiver script in tools/:</p>
-<p>~~~</p>
-<h1>You may need to add "--altheader delivered-to" to these commands, it varies</h1>
-<p>foo-public: "|/usr/bin/python3 /path/to/tools/archiver.py"
+<pre>
+# You may need to add "--altheader delivered-to" to these commands, it varies
+foo-public: "|/usr/bin/python3 /path/to/tools/archiver.py"
foo-private: "|/usr/bin/python3 /path/to/tools/archiver.py --private"
-~~~</p>
+</pre>
+
<p>Once done, run <code>newaliases</code> to update your alias DB.</p>
<h3>Subscribe the aliases to your mailing lists</h3>
<p>Use the mailman UI or CLI to subscribe foo-public@ to your public lists and
@@ -67,12 +68,14 @@ are hidden by default till the correct AAA scripting is set up.</p>
<p>First, see the general introduction in the MM2 example, as this applies here as well.</p>
<h3>Create an alias:</h3>
<p>Set up a dot-forward file for a public and a private alias:</p>
-<p>~~~
+<pre>
.qmail-archive-public:
- "|/usr/bin/python3 /path/to/tools/archiver.py"</p>
-<p>.qmail-archive-private:
+ "|/usr/bin/python3 /path/to/tools/archiver.py"
+
+.qmail-archive-private:
"|/usr/bin/python3 /path/to/tools/archiver.py --private"
-~~~</p>
+</pre>
+
<h3>Subscribe the aliases to your mailing lists</h3>
<p>Use the ezmlm CLI to subscribe your new aliases to the lists:
<code>ezmlm-sub foolist/ archive-public@yourhost.tld</code>
@@ -93,20 +96,20 @@ is installed beforehand.</p>
<p>If you need to rewrite list IDs on the fly as emails come in, you can use the debug.cropout
setting for this (in <code>ponymail.cfg</code>). </p>
<p>You can either use it to just crop away something:
-~~~
+<pre>
[debug]
# Remove 'foo' from all list IDs
cropout: foo
-~~~</p>
+</pre></p>
<p>Or you can use it as a regex substitution:
-~~~
+<pre>
[debug]
#Replace '<em>.bar.tld' with '</em>.blorg.bar.tld'
cropout: <([a-z]+).bar.tld> <\1.blorg.bar.tld>
-~~~</p>
+</pre></p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/building.html
----------------------------------------------------------------------
diff --git a/content/docs/building.html b/content/docs/building.html
index f2aec95..2d22f86 100644
--- a/content/docs/building.html
+++ b/content/docs/building.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -52,7 +52,7 @@ $
committing the new combined JS, but that's up to you.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/contributing.html
----------------------------------------------------------------------
diff --git a/content/docs/contributing.html b/content/docs/contributing.html
index 23accda..f4bac1d 100644
--- a/content/docs/contributing.html
+++ b/content/docs/contributing.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -58,7 +58,7 @@ and pull requests are welcome.</p>
- #ponymail on Freenode</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/importing.html
----------------------------------------------------------------------
diff --git a/content/docs/importing.html b/content/docs/importing.html
index ae66f67..525cd69 100644
--- a/content/docs/importing.html
+++ b/content/docs/importing.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -77,7 +77,7 @@ circumvent this by using the <code>--ignorebody "foo"</code> arg to ignore all t
They can be found in gzip format at <a href="http://ponymail.info/mboxes/">http://ponymail.info/mboxes/</a></p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/install.centos.html
----------------------------------------------------------------------
diff --git a/content/docs/install.centos.html b/content/docs/install.centos.html
index 375388b..d9855b6 100644
--- a/content/docs/install.centos.html
+++ b/content/docs/install.centos.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -50,26 +50,29 @@ Python 3 or any of the lua modules in its default package system.</p>
<li>openssl-devel</li>
<li>readline-devel</li>
</ul>
-<p>~~~
+<pre>
sudo yum install -y httpd git lua lua-devel gcc gcc-c++ kernel-devel unzip openssl openssl-devel readline-devel
-~~~</p>
+</pre>
+
<p>Then, proceed to build LuaRocks (for lua deps):</p>
-<p>~~~
-wget http://luarocks.org/releases/luarocks-2.0.6.tar.gz <br />
-tar zxvf luarocks-2.0.6.tar.gz <br />
-cd luarocks-2.0.6 <br />
-./configure <br />
-make <br />
+<pre>
+wget http://luarocks.org/releases/luarocks-2.0.6.tar.gz
+tar zxvf luarocks-2.0.6.tar.gz
+cd luarocks-2.0.6
+./configure
+make
sudo make install
-~~~</p>
+</pre>
+
<p>Now build/install the required Lua modules:</p>
-<p>~~~
+<pre>
sudo luarocks install lua-socket
sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib64/
sudo luarocks install lua-cjson
-~~~</p>
+</pre>
+
<p>Configure, compile and install Python 3:</p>
-<p>~~~
+<pre>
sudo yum groupinstall -y development
sudo yum install -y zlib-dev sqlite-devel bzip2-devel xz-libs
wget http://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
@@ -79,50 +82,54 @@ cd Python-3.4.3/
./configure
make
sudo make altinstall
-~~~</p>
+</pre>
+
<p>Install the required Python 3 modules:
-~~~
+<pre>
sudo pip3.4 install elasticsearch formatflowed chardet netaddr
-~~~</p>
+</pre></p>
<p>Install ElasticSearch:</p>
-<p>~~~
+<pre>
sudo yum install -y java-1.7.0-openjdk-headless
-sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch</p>
-<pre><code>(The following is taken from the ElasticSearch online guide:)
+sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
+
+ (The following is taken from the ElasticSearch online guide:)
-Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix,
-for example elasticsearch.repo:
+ Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix,
+ for example elasticsearch.repo:
-[elasticsearch-1.7]
-name=Elasticsearch repository for 1.7.x packages
-baseurl=http://packages.elastic.co/elasticsearch/1.7/centos
-gpgcheck=1
-gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
-enabled=1
-</code></pre>
-<p>sudo yum update
+ [elasticsearch-1.7]
+ name=Elasticsearch repository for 1.7.x packages
+ baseurl=http://packages.elastic.co/elasticsearch/1.7/centos
+ gpgcheck=1
+ gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
+ enabled=1
+
+sudo yum update
sudo yum install elasticsearch
-~~~</p>
+</pre>
+
<p>Configure and start up ElasticSearch:</p>
-<p>~~~
+<pre>
sudo sudo /bin/systemctl daemon-reload
sudo sudo /bin/systemctl enable elasticsearch.service
sudo /etc/init.d/elasticsearch start
-~~~</p>
+</pre>
+
<p>Check out a copy of Pony Mail:
-~~~
+<pre>
cd /var/www
git clone https://github.com/apache/incubator-ponymail.git
-~~~</p>
+</pre></p>
<p>Set up Pony Mail:
-~~~
+<pre>
cd /var/www/ponymail/tools
python3.4 setup.py
[... answer questions asked by the setup script ...]
-~~~</p>
+</pre></p>
<p>Set up Apache httpd by adding, for example, the following virtual host configuration:
This differs from the normal installation (because of CentOS specifics), so beware</p>
-<p>~~~
+<pre>
<VirtualHost *:80>
LuaPackageCPath /usr/local/lib/lua/5.1/?.so
LuaPackagePath /usr/local/share/lua/5.1/?.lua
@@ -133,11 +140,13 @@ This differs from the normal installation (because of CentOS specifics), so bewa
LuaCodeCache stat
AcceptPathInfo On
</VirtualHost>
-~~~</p>
+</pre>
+
<p>(re)start apache:</p>
-<p>~~~
+<pre>
sudo apachectl restart
-~~~</p>
+</pre>
+
<p>Once this is done, you should now have a <em>working copy</em> of Pony Mail!</p>
<p>You may wish to tweak the settings in <code>site/js/config.js</code> and your
elasticsearch settings once Pony mail is up and running.</p>
@@ -146,7 +155,7 @@ detailed information about archiving messages, OAuth, mail settings and
much more.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/install.debian.html
----------------------------------------------------------------------
diff --git a/content/docs/install.debian.html b/content/docs/install.debian.html
index afdaf91..f750389 100644
--- a/content/docs/install.debian.html
+++ b/content/docs/install.debian.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -44,37 +44,40 @@
<li>python3</li>
<li>python3-pip</li>
</ul>
-<p>~~~
+<pre>
sudo apt-get install apache2 git lua-cjson lua-sec lua-socket python3 python3-pip
-~~~</p>
+</pre>
+
<p>Install the required Python 3 modules:
-~~~
+<pre>
sudo pip3 install elasticsearch formatflowed netaddr
-~~~</p>
+</pre></p>
<p>Install ElasticSearch:</p>
-<p>~~~
+<pre>
sudo apt-get install openjdk-7-jre-headless
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/1.7/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-1.7.list
-sudo apt-get update && sudo apt-get install elasticsearch
-~~~</p>
+sudo apt-get update && sudo apt-get install elasticsearch
+</pre>
+
<p>Check out a copy of Pony Mail:
-~~~
+<pre>
cd /var/www
sudo git clone https://github.com/apache/incubator-ponymail.git
-~~~</p>
+</pre></p>
<p>Start up ElasticSearch:</p>
-<p>~~~
+<pre>
sudo service elasticsearch start
-~~~</p>
+</pre>
+
<p>Set up Pony Mail:
-~~~
+<pre>
cd /var/www/ponymail/tools
sudo python3 setup.py
[... answer questions asked by the setup script ...]
-~~~</p>
+</pre></p>
<p>Set up Apache httpd by adding, for example, the following virtual host configuration:</p>
-<p>~~~
+<pre>
<VirtualHost *:80>
ServerName mylists.foo.tld
DocumentRoot /var/www/ponymail/site
@@ -83,12 +86,14 @@ sudo python3 setup.py
LuaCodeCache stat
AcceptPathInfo On
</VirtualHost>
-~~~</p>
+</pre>
+
<p>Enable mod_lua and start apache:</p>
-<p>~~~
+<pre>
sudo a2enmod lua
sudo service apache start
-~~~</p>
+</pre>
+
<p>Once this is done, you should now have a <em>working copy</em> of Pony Mail!</p>
<p>You may wish to tweak the settings in <code>site/js/config.js</code> and your
elasticsearch settings once Pony mail is up and running.</p>
@@ -97,7 +102,7 @@ detailed information about archiving messages, OAuth, mail settings and
much more.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/install.fedora.html
----------------------------------------------------------------------
diff --git a/content/docs/install.fedora.html b/content/docs/install.fedora.html
index 0fb39dc..1b583b4 100644
--- a/content/docs/install.fedora.html
+++ b/content/docs/install.fedora.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -44,55 +44,61 @@
<li>python 3</li>
<li>luarocks</li>
</ul>
-<p>~~~
+<pre>
sudo dnf install -y httpd git lua lua-sec lua-socket python3 luarocks
-~~~</p>
+</pre>
+
<p>Install the missing cjson package via luarocks:</p>
-<p>~~~
+<pre>
sudo luarocks-5.3 install lua-cjson
-~~~</p>
+</pre>
+
<p>Install the required Python 3 modules:
-~~~
+<pre>
sudo pip3.4 install elasticsearch formatflowed chardet netaddr
-~~~</p>
+</pre></p>
<p>Install ElasticSearch:</p>
-<p>~~~
+<pre>
sudo dnf install -y java-1.8.0-openjdk-headless
-sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch</p>
-<pre><code>(The following is taken from the ElasticSearch online guide:)
+sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
+
+ (The following is taken from the ElasticSearch online guide:)
+
+ Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix,
+ for example elasticsearch.repo:
+
+ [elasticsearch-1.7]
+ name=Elasticsearch repository for 1.7.x packages
+ baseurl=http://packages.elastic.co/elasticsearch/1.7/centos
+ gpgcheck=1
+ gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
+ enabled=1
-Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix,
-for example elasticsearch.repo:
-[elasticsearch-1.7]
-name=Elasticsearch repository for 1.7.x packages
-baseurl=http://packages.elastic.co/elasticsearch/1.7/centos
-gpgcheck=1
-gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
-enabled=1
-</code></pre>
-<p>sudo dnf install -y elasticsearch
-~~~</p>
+sudo dnf install -y elasticsearch
+</pre>
+
<p>Configure and start up ElasticSearch:</p>
-<p>~~~
+<pre>
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
sudo /etc/init.d/elasticsearch start
-~~~</p>
+</pre>
+
<p>Check out a copy of Pony Mail:
-~~~
+<pre>
cd /var/www
sudo git clone https://github.com/apache/incubator-ponymail.git
-~~~</p>
+</pre></p>
<p>Set up Pony Mail:
-~~~
+<pre>
cd /var/www/ponymail/tools
sudo python3.4 setup.py
[... answer questions asked by the setup script ...]
-~~~</p>
+</pre></p>
<p>Set up Apache httpd by adding, for example, the following virtual host configuration:
This differs from the normal installation (because of CentOS specifics), so beware</p>
-<p>~~~
+<pre>
<VirtualHost *:80>
LuaPackageCPath /usr/lib/lua/5.3/?.so
LuaPackagePath /usr/share/lua/5.3/?.lua
@@ -103,16 +109,19 @@ This differs from the normal installation (because of CentOS specifics), so bewa
LuaCodeCache stat
AcceptPathInfo On
</VirtualHost>
-~~~</p>
+</pre>
+
<p>(re)start apache:</p>
-<p>~~~
+<pre>
sudo apachectl restart
-~~~</p>
+</pre>
+
<p>IF you have SELinux running, you need to allow httpd (apache) to
be able to connect to remotes, otherwise Pony Mail won't work:</p>
-<p>~~~
+<pre>
sudo setsebool -P httpd_can_network_connect 1
-~~~</p>
+</pre>
+
<p>Once this is done, you should now have a <em>working copy</em> of Pony Mail!</p>
<p>You may wish to tweak the settings in <code>site/js/config.js</code> and your
elasticsearch settings once Pony mail is up and running.</p>
@@ -121,7 +130,7 @@ detailed information about archiving messages, OAuth, mail settings and
much more.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/install.ubuntu.html
----------------------------------------------------------------------
diff --git a/content/docs/install.ubuntu.html b/content/docs/install.ubuntu.html
index 5e053fb..0eb9210 100644
--- a/content/docs/install.ubuntu.html
+++ b/content/docs/install.ubuntu.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -46,53 +46,58 @@
<li>python3-pip</li>
<li>subversion</li>
</ul>
-<p>~~~
+<pre>
sudo apt-get install apache2 git liblua5.2-dev lua-cjson lua-sec lua-socket python3 python3-pip subversion
-~~~</p>
+</pre>
+
<p>Install the required Python 3 modules:
-~~~
+<pre>
sudo pip3 install elasticsearch formatflowed netaddr
-~~~</p>
+</pre></p>
<p>Install ElasticSearch:</p>
-<p>~~~
+<pre>
sudo apt-get default-jre-headless
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
-sudo apt-get update && sudo apt-get install elasticsearch
-~~~</p>
+sudo apt-get update && sudo apt-get install elasticsearch
+</pre>
+
<p>Compile and install mod_lua if necessary (httpd < 2.4.17 on Ubuntu):
-~~~
+<pre>
apt-get install apache2-dev
svn co https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x/modules/lua/
cd lua/
apxs -I/usr/include/lua5.2 -cia mod_lua.c lua_*.c -lm -llua5.2
-~~~</p>
+</pre></p>
<p>Check out a copy of Pony Mail:
-~~~
+<pre>
cd /var/www
git clone https://github.com/apache/incubator-ponymail.git
-~~~</p>
+</pre></p>
<p>Configure Elasticsearch to automatically start during bootup. For Ubuntu <= 14.10:</p>
-<p>~~~
+<pre>
sudo update-rc.d elasticsearch defaults 95 10
-~~~</p>
+</pre>
+
<p>For Ubuntu >= 15.04:</p>
-<p>~~~
+<pre>
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
-~~~</p>
+</pre>
+
<p>Start up ElasticSearch:</p>
-<p>~~~
+<pre>
service elasticsearch start
-~~~</p>
+</pre>
+
<p>Set up Pony Mail:
-~~~
+<pre>
cd /var/www/ponymail/tools
sudo python3 setup.py
[... answer questions asked by the setup script ...]
-~~~</p>
+</pre></p>
<p>Set up Apache httpd by adding, for example, the following virtual host configuration:</p>
-<p>~~~
+<pre>
<VirtualHost *:80>
ServerName mylists.foo.tld
DocumentRoot /var/www/ponymail/site
@@ -101,12 +106,14 @@ sudo python3 setup.py
LuaCodeCache stat
AcceptPathInfo On
</VirtualHost>
-~~~</p>
+</pre>
+
<p>Enable mod_lua and start apache:</p>
-<p>~~~
+<pre>
sudo a2enmod lua
sudo service apache start
-~~~</p>
+</pre>
+
<p>Once this is done, you should now have a <em>working copy</em> of Pony Mail!</p>
<p>You may wish to tweak the settings in <code>site/js/config.js</code> and your
elasticsearch settings once Pony mail is up and running.</p>
@@ -115,7 +122,7 @@ detailed information about archiving messages, OAuth, mail settings and
much more.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/docs/installing.html
----------------------------------------------------------------------
diff --git a/content/docs/installing.html b/content/docs/installing.html
index 706e21f..692d245 100644
--- a/content/docs/installing.html
+++ b/content/docs/installing.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -64,10 +64,11 @@ for detailed package installation instructions:</p>
<h3>Using auth for ElasticSearch</h3>
<p>If your ElasticSearch instance requires authentication for the importer/archiver, please
add the following lines in the <code>elasticsearch</code> block of <code>ponymail.cfg</code> once generated:</p>
-<p>~~~
+<pre>
user: [username for ES]
password: [password for ES]
-~~~</p>
+</pre>
+
<h3>Using Apache HTTP Server:</h3>
<ul>
<li>Set up a VirtualHost block in Apache httpd that points to the <code>site/</code> directory in Pony Mail</li>
@@ -132,14 +133,15 @@ to specify and implement an OAuth provider.</p>
as ASF Oauth and Google OAuth. You can enable these by uncommenting the lines in
question, or set up your own OAuth portal to handle things. This is a standard
OAuth that expects the backend to supply the following JSON data on success:</p>
-<p>~~~
+<pre>
{
"fullname": "The full name of the authed user",
"email": "The user's email address",
"uid": "(optional) The unique user ID of the logged in user (for instance, LDAP UID)",
"isMember": true/false (optional, specifies whether the person is a privileged user with access to all lists)
}
-~~~</p>
+</pre>
+
<p>For private list browsing, Pony Mail supplies an example AAA library in
<code>site/api/lib/aaa.lua</code> that does LDAP lookups to determine which groups a person
belongs to, and thus which lists said person has access to. The AAA example is
@@ -149,15 +151,17 @@ your need. We have <a href="../aaa_examples/">several simple AAA examples</a> in
<p>If you are looking for an OAuth portal to provide users access to private lists
in the archive, you will need to add the OAuth domain to config.admin_oauth in
config.lua:</p>
-<p>~~~
+<pre>
admin_oauth = { 'myoauth.foo.tld', '*.oauthprovider.com', 'etc' }
-~~~~</p>
+</pre>
+
+<p>~</p>
<p>If not specified in config.lua, OAuth will only provide users with a place to
store settings and notifications, and - provided your mail server is set to accept
this - a place to reply to emails in the archive.</p>
<h4>Using GitHub OAuth and other client-secret providers</h4>
<p>If your OAuth provider requires a client secret, you can specify this in <code>site/api/lib/config.lua</code>, as this GitHub example shows:</p>
-<p>~~~
+<pre>
oauth_fields = {
github = {
client_secret = "abcdef1",
@@ -165,43 +169,47 @@ this - a place to reply to emails in the archive.</p>
oauth_token = "https://github.com/login/oauth/access_token"
}
}
-~~~</p>
+</pre>
+
<p>This essentially overrides <code>config.js</code> but without showing the data to anyone outside the server.</p>
<h3>Whitelisting replies via the Web UI</h3>
<p>To have Pony Mail accept replies done via the Web UI, you must make sure
that <code>site/api/lib/config.lua</code> contains the appropriate string (or array of strings) matching the domain(s) you wish to allow new email for. To allow replies to everything, set this to <code>*</code>(NOT RECOMMENDED).
You can also allow based on GLOBs or an array of accepted domains and sub-domains:</p>
-<p>~~~
- accepted_domains = "<em>" -- This would allow posts to any email address, baaaad choice.
- accepted_domains = "foo.org" -- Allow only to </em>@foo.org
- accepted_domains = "<em>.foo.org" -- Allow only posts to </em>@<em>.foo.org, but not </em>@foo.org
- accepted_domains = { "foo.org", "<em>.foo.org" } -- Allow posts both to </em>.foo.org and foo.org
-~~~</p>
+<pre>
+ accepted_domains = "*" -- This would allow posts to any email address, baaaad choice.
+ accepted_domains = "foo.org" -- Allow only to *@foo.org
+ accepted_domains = "*.foo.org" -- Allow only posts to *@*.foo.org, but not *@foo.org
+ accepted_domains = { "foo.org", "*.foo.org" } -- Allow posts both to *.foo.org and foo.org
+</pre>
+
<h3>Setting email footers</h3>
<p>It is possible to set email footers in each email sent via the Web UI.
This is done by configuring the <code>email_footer</code> variable in <code>site/api/lib/config.lua</code>.
You may use the following variables in the footer:</p>
-<p>~~~
+<pre>
$list: The mailing list being sent to (foo@bar.tld)
$hostname: The hostname of the server
$port: The port of the server (80, 443 etc)
$msgid: The message ID of the email (for permalinks etc)
-~~~</p>
+</pre>
+
<p>An example footer could be:</p>
-<p>~~~
+<pre>
--------
Sent via Pony Mail for $list.
To view this list online, visit: https://my.tld/list.html?$list
To view this email (and subsequent replies), visit:
https://my.tld/thread.html/$msgid
--------
-~~~</p>
+</pre>
+
<h3>A note on email headers</h3>
<p>By default, headers such as to/cc are not shown in the normal email view.
To enable these headers, set <code>full_headers</code> to <code>true</code> in the <code>site/api/lib/config.lua</code> file.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/downloads.html
----------------------------------------------------------------------
diff --git a/content/downloads.html b/content/downloads.html
index 407d1ee..74d6895 100644
--- a/content/downloads.html
+++ b/content/downloads.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -42,7 +42,7 @@ through the traditional Apache release process, and as such, are not
officially endorsed by the Apache Pony Mail project in any way.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index d66de38..8bdeb89 100644
--- a/content/index.html
+++ b/content/index.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -96,7 +96,7 @@ list size and available bandwidth.</p>
</ul>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/source.html
----------------------------------------------------------------------
diff --git a/content/source.html b/content/source.html
index 4bd5c5e..7eb18e5 100644
--- a/content/source.html
+++ b/content/source.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -39,7 +39,7 @@
<p>We also have a GitHub mirror at: <a href="https://github.com/apache/incubator-ponymail">https://github.com/apache/incubator-ponymail</a></p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects
http://git-wip-us.apache.org/repos/asf/incubator-ponymail-site/blob/d68d8545/content/support.html
----------------------------------------------------------------------
diff --git a/content/support.html b/content/support.html
index 233850b..7ac1e78 100644
--- a/content/support.html
+++ b/content/support.html
@@ -20,7 +20,7 @@
<meta name="theme-color" content="#ffffff">
</head><body>
<div style="margin: -10px; background: #7e614a; color: #EEE; margin-bottom: 20px; text-align: center;">
- <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="images/devme.png" alt="Fork/Download Pony Mail"></a>
+ <a href="#contribute"><img align='left' style="width: 150px; height: 150px; position: relative; left: -4px; border: 0;" src="/images/devme.png" alt="Fork/Download Pony Mail"></a>
<h1><a id="Pony_Mail_0"></a>Apache Pony Mail (Incubating)</h1>
<div id="menubar" style="font-size: 20pt; background: #5e514a; padding-top: 5px;">
<ul>
@@ -70,7 +70,7 @@
<p>We are also on IRC, if you fancy a quick chat. You can find us in #PonyMail on Freenode.</p>
<h2><a id="disclaimer"></a>Disclaimer</h2>
<p style="font-size: 8pt; line-height: 12pt;">
- <a href="https://incubator.apache.org"><img src="images/podling.svg" align="right" width="220px"/></a>
+ <a href="https://incubator.apache.org"><img src="/images/podling.svg" align="right" width="220px"/></a>
Apache Pony Mail (Incubating) is an effort undergoing incubation at
The Apache Software Foundation (ASF), sponsored by the <a href="https://incubator.apache.org">
Apache Incubator</a>. Incubation is required of all newly accepted projects