@@ -45,18 +45,18 @@ def usage(args, message=None):
4545 if message is not None :
4646 print message
4747 print _ (
48- """Usage: %(program)s [-v] [-c class] [[-C class] -S field=value]* < instance home> [method ]
48+ """Usage: %(program)s [-v] [-c class] [[-C class] -S field=value]* [ instance home] [mail source [specification] ]
4949
5050Options:
5151 -v: print version and exit
5252 -c: default class of item to create (else the tracker's MAIL_DEFAULT_CLASS)
5353 -C / -S: see below
5454
55- The roundup mail gateway may be called in one of four ways:
55+ The roundup mail gateway may be called in one of the following ways:
56+ . without arguments. Then the env var ROUNDUP_INSTANCE will be tried.
5657 . with an instance home as the only argument,
5758 . with both an instance home and a mail spool file,
58- . with both an instance home and a POP/APOP server account, or
59- . with both an instance home and a IMAP/IMAPS server account.
59+ . with an instance home, a mail source type and its specification.
6060
6161It also supports optional -C and -S arguments that allows you to set a
6262fields for a class created by the roundup-mailgw. The default class if
@@ -69,25 +69,26 @@ def usage(args, message=None):
6969It can let you set the type of the message on a per email address basis.
7070
7171PIPE:
72- In the first case, the mail gateway reads a single message from the
73- standard input and submits the message to the roundup.mailgw module.
72+ If there is no mail source specified,
73+ the mail gateway reads a single message from the standard input
74+ and submits the message to the roundup.mailgw module.
7475
75- UNIX mailbox:
76- In the second case, the gateway reads all messages from the mail spool
76+ Mail source " mailbox" :
77+ In this case, the gateway reads all messages from the UNIX mail spool
7778 file and submits each in turn to the roundup.mailgw module. The file is
7879 emptied once all messages have been successfully handled. The file is
7980 specified as:
8081 mailbox /path/to/mailbox
8182
82- In all of the following the username and password can be stored in a
83- ~/.netrc file. In this case only the server name need be specified on
84- the command-line.
83+ In all of the following mail source type the username and password
84+ can be stored in a ~/.netrc file. If done so case only the server name
85+ need to be specified on the command-line.
8586
8687The username and/or password will be prompted for if not supplied on
8788the command-line or in ~/.netrc.
8889
8990POP:
90- In the third case , the gateway reads all messages from the POP server
91+ For the mail source "pop" , the gateway reads all messages from the POP server
9192 specified and submits each in turn to the roundup.mailgw module. The
9293 server is specified as:
9394 pop username:password@server
0 commit comments