Skip to content

Commit 47a0a54

Browse files
author
Richard Jones
committed
Info on setting up a local spool handling mail gateway.
1 parent 3b9c00e commit 47a0a54

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

INSTALL.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ any admin people.
8080

8181
Mail
8282
----
83+
84+
Setup 1: As a mail alias pipe process
85+
- - - - - - - - - - - - - - - - - - -
8386
Set up a mail alias called "issue_tracker" as:
8487
"|/usr/bin/python /usr/local/bin/roundup-mailgw <instance_home>"
8588

@@ -94,6 +97,16 @@ To test the mail gateway on unix systems, try:
9497
echo test |mail -s '[issue] test' [email protected]
9598

9699

100+
Setup 2: As a regular cron job
101+
- - - - - - - - - - - - - - -
102+
Set the roundup-mailgw up to run every 10 minutes or so. For example:
103+
10 * * * * /usr/local/bin/roundup-mailgw <instance_home> <mail_spool_file>
104+
105+
Where the mail_spool_file argument is the location of the roundup
106+
submission user's mail spool. On most systems, the spool for a user
107+
"issue_tracker" will be "/var/mail/issue_tracker".
108+
109+
97110

98111
Web Interface
99112
-------------

doc/index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ <h2><a name="startcmd">Command Line Tool</a></h2>
158158
</ol>
159159

160160
<h2><a name="startweb">E-Mail Interface</a></h2>
161+
162+
<h3>Setup 1: As a mail alias pipe process</h3>
161163
Set up a mail alias called "issue_tracker" as:
162164
<blockquote>
163165
<tt>|/usr/bin/python /usr/local/bin/roundup-mailgw
@@ -179,6 +181,17 @@ <h2><a name="startweb">E-Mail Interface</a></h2>
179181
</blockquote>
180182

181183

184+
<h3>Setup 2: As a regular cron job</h3>
185+
186+
Set the roundup-mailgw up to run every 10 minutes or so. For example:
187+
<blockquote>
188+
<tt>10 * * * * /usr/local/bin/roundup-mailgw &lt;instance_home&gt; &lt;mail_spool_file&gt;</tt>
189+
</blockquote>
190+
191+
Where the mail_spool_file argument is the location of the roundup
192+
submission user's mail spool. On most systems, the spool for a user
193+
"issue_tracker" will be "/var/mail/issue_tracker".
194+
182195

183196
<h2><a name="startweb">Web Interface</a></h2>
184197
This software will work through apache or stand-alone.
@@ -1170,7 +1183,7 @@ <h1><a name="ack">Acknowledgements</a></h1>
11701183

11711184
<p>&nbsp;</p>
11721185
<hr>
1173-
$Id: index.html,v 1.17 2001-10-30 00:58:12 richard Exp $
1186+
$Id: index.html,v 1.18 2001-11-07 05:38:57 richard Exp $
11741187
<p>&nbsp;</p>
11751188

11761189
</body></html>

0 commit comments

Comments
 (0)