1- .TH ROUNDUP-MAILGW 1 "24 January 2003 "
1+ .TH ROUNDUP-MAILGW 1 "07 October 2019 "
22.SH NAME
33roundup-mailgw \- mail gateway for roundup
44.SH SYNOPSIS
5- \fB roundup-mailgw \fP \fI instance_home \fP [\fI method \fP ]
5+ \fB roundup-mailgw \fP [\fI -v \fP ] [\fI -c \fP \fI default_class \fP ]
6+ [[\fI -C \fP \fI class \fP ] \fI -S \fP \fI field=value \fP ]
7+ [\fI instance_home \fP ] [\fI mail source [specification] \fP ]
68.SH OPTIONS
79.TP
810\fB -v \fP
911Print version and exit.
1012.TP
13+ \fB -c \fP \fI hyperdb class \fP
14+ specify the default tracker class - one of issue (the default), msg, file, user etc. Overrides the
15+ tracker's mailgw default_class setting.
16+ .TP
1117\fB -C \fP \fI hyperdb class \fP
1218specify a tracker class - one of msg (the default), issue, file, user - to
1319manipulate with -S options
1420.TP
1521\fB -S \fP \fI property \fP\fB = \fP\fI value \fP [\fB ; \fP\fI property \fP\fB = \fP\fI value \fP ] \fI pairs \fP
16- specify the values to set on the class specified by -C using the same
17- format as the Subject line property manipulations
22+ specify the values to set on the class specified by \fB -C \fP using the same
23+ format as the Subject line property manipulations. Can also be
24+ specified with \fB --set \fP .
1825.SH DESCRIPTION
19- The roundup mail gateway may be called in one of three ways:
26+ The roundup mail gateway may be called in one of four ways:
27+ .IP \(bu
28+ without arguments which will use the env var ROUNDUP_INSTANCE,
2029.IP \(bu
21- with an instance home as the only argument,
30+ with an instance_home as the only argument,
2231.IP \(bu
23- with both an instance home and a mail spool file, or
32+ with both an instance_home and a mail spool file, or
2433.IP \(bu
25- with both an instance home and a pop server account .
34+ with both an instance home and a mail source type and its specification .
2635.PP
2736\fB PIPE \fP
2837.br
29- In the first case , the mail gateway reads a single message from the
38+ In the first and second cases , the mail gateway reads a single message from the
3039standard input and submits the message to the roundup.mailgw module.
3140
3241\fB UNIX mailbox \fP
@@ -55,8 +64,17 @@ The username and password may be omitted:
5564 \fB pop \fP \fI username \fP\fB @ \fP\fI server \fP
5665 \fB pop \fP \fI server \fP
5766.br
58- are both valid. The username and/or password will be prompted for if
59- not supplied on the command-line.
67+ are both valid.
68+
69+ \fB POPS \fP
70+ .br
71+ Connect to the POP server over ssl/tls. This requires python 2.4 or
72+ later. This supports the same notation as POP.
73+
74+
75+ \fB pops \fP \fI username \fP\fB : \fP\fI password \fP\fB @ \fP\fI server \fP
76+ .br
77+ etc.
6078
6179\fB APOP \fP
6280.br
@@ -75,12 +93,55 @@ this format:
7593
7694\fB IMAPS \fP
7795.br
78- Connect to an IMAP server over ssl.
96+ Connect to an IMAP server over ssl/tls .
7997This supports the same notation as IMAP.
8098 \fB imaps \fP \fI username \fP\fB : \fP\fI password \fP\fB @ \fP\fI server \fP [\fI mailbox \fP ]
99+
100+
101+ \fB IMAPS_CRAM \fP
102+ .br
103+ Connect to an IMAP server over ssl/tls using CRAM-MD5 authentication.
104+ This supports the same notation as IMAP.
105+ \fB imaps_cram \fP \fI username \fP\fB : \fP\fI password \fP\fB @ \fP\fI server \fP [\fI mailbox \fP ]
106+
107+ .SH ENVIRONMENT VARIABLES
108+
109+ \fB ROUNDUP_INSTANCE \fP
110+ .br
111+ This can be used to set the instance directory. If it is set, the
112+ \fI instance_home \fP argument is optional.
113+
114+ .SH EXAMPLE
115+ If your msg class has a messsagetype property you can set
116+ up aliases to receive the different types of messages. Setting up
117+ an alias in your MTA Using:
118+
119+ tracker: |/tools/roundup/bin/roundup-mailgw -C msg
120+ -S "messagetype=reply - to all" /var/roundup/sysadmin
121+
122+ (the lines are split for readability. In the alias file they will be
123+ on the same line). Replace /tools/roundup/bin/roundup-mailgw by your
124+ path to the roundup-mailgw. This creates the email alias "tracker". All
125+ messages sent to it have their messagetype property set to "reply -
126+ to all". The roundup tracker instance is located at
127+ /var/roundup/sysadmin.
128+
129+ A comment alias would receive emails at tracker_comment with:
130+
131+ tracker_comment: |/tools/roundup/bin/roundup-mailgw -C msg
132+ -S "messagetype=comment - to technical" /var/roundup/sysadmin
133+
134+ which would be a technical message. These messages can trigger
135+ different workflows based on the messagetype.
136+
137+ Both examples use the default class specified in the tracker's
138+ config.ini (usually the issue class).
139+
81140.SH AUTHOR
82141This manpage was written by Bastian Kleineidam
83142<
[email protected] > for the Debian distribution of roundup.
84143
85144The main author of roundup is Richard Jones
86145146+
147+ Updates by John Rouillard <
[email protected] >.
0 commit comments