comparison roundup/scripts/roundup_mailgw.py @ 7082:f0d39308819f

Update manpage of mailgw Fix minor issues (ssl -> tls/ssl), --default-class option with '-' instead of underscore.
author Ralf Schlatterbeck <rsc@runtux.com>
date Sun, 27 Nov 2022 11:00:00 +0100
parents f918351a0fe6
children 24e867f846dd
comparison
equal deleted inserted replaced
7081:f918351a0fe6 7082:f0d39308819f
92 pop username@server 92 pop username@server
93 pop server 93 pop server
94 are both valid. 94 are both valid.
95 95
96 POPS: 96 POPS:
97 Connect to a POP server over ssl. 97 Connect to a POP server over ssl/tls.
98 This supports the same notation as POP. 98 This supports the same notation as POP.
99 99
100 APOP: 100 APOP:
101 Same as POP, but using Authenticated POP: 101 Same as POP, but using Authenticated POP:
102 apop username:password@server 102 apop username:password@server
108 It also allows you to specify a specific mailbox other than INBOX using 108 It also allows you to specify a specific mailbox other than INBOX using
109 this format: 109 this format:
110 imap username:password@server mailbox 110 imap username:password@server mailbox
111 111
112 IMAPS: 112 IMAPS:
113 Connect to an IMAP server over ssl. 113 Connect to an IMAP server over ssl/tls.
114 This supports the same notation as IMAP. 114 This supports the same notation as IMAP.
115 imaps username:password@server [mailbox] 115 imaps username:password@server [mailbox]
116 116
117 IMAPS_CRAM: 117 IMAPS_CRAM:
118 Connect to an IMAP server over ssl using CRAM-MD5 authentication. 118 Connect to an IMAP server over ssl/tls using CRAM-MD5 authentication.
119 This supports the same notation as IMAP. 119 This supports the same notation as IMAP.
120 imaps_cram username:password@server [mailbox] 120 imaps_cram username:password@server [mailbox]
121 121
122 IMAPS_OAUTH: 122 IMAPS_OAUTH:
123 Connect to an IMAP server over ssl using OAUTH authentication. 123 Connect to an IMAP server over ssl/tls using OAUTH authentication.
124 Note that this does not support a password in imaps URLs. 124 Note that this does not support a password in imaps URLs.
125 Instead it uses only the user and server and a command-line option for 125 Instead it uses only the user and server and a command-line option for
126 the directory with the files 'access_token', 'refresh_token', 126 the directory with the files 'access_token', 'refresh_token',
127 'client_secret', and 'client_id'. 127 'client_secret', and 'client_id'.
128 By default this directory is 'oauth' in your tracker home directory. The 128 By default this directory is 'oauth' in your tracker home directory. The
148 cmd = ArgumentParser(epilog=usage_epilog, 148 cmd = ArgumentParser(epilog=usage_epilog,
149 formatter_class=RawDescriptionHelpFormatter) 149 formatter_class=RawDescriptionHelpFormatter)
150 cmd.add_argument('args', nargs='*') 150 cmd.add_argument('args', nargs='*')
151 cmd.add_argument('-v', '--version', action='store_true', 151 cmd.add_argument('-v', '--version', action='store_true',
152 help='print version and exit') 152 help='print version and exit')
153 cmd.add_argument('-c', '--default_class', default='', 153 cmd.add_argument('-c', '--default-class', default='',
154 help="Default class of item to create (else the tracker's " 154 help="Default class of item to create (else the tracker's "
155 "MAILGW_DEFAULT_CLASS)") 155 "MAILGW_DEFAULT_CLASS)")
156 cmd.add_argument('-O', '--oauth-directory', 156 cmd.add_argument('-O', '--oauth-directory',
157 help='Directory with OAUTH credentials, default "oauth" in ' 157 help='Directory with OAUTH credentials, default "oauth" in '
158 'tracker home') 158 'tracker home')

Roundup Issue Tracker: http://roundup-tracker.org/