Mercurial > p > roundup > code
comparison roundup/scripts/roundup_mailgw.py @ 1547:f478c236b1f6
roundup mailgw now handles apop
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 24 Mar 2003 02:51:22 +0000 |
| parents | ebfd8dd1cce7 |
| children | c36df13925f9 |
comparison
equal
deleted
inserted
replaced
| 1546:ab2aa490d713 | 1547:f478c236b1f6 |
|---|---|
| 12 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 12 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 13 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 13 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 14 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 16 # | 16 # |
| 17 # $Id: roundup_mailgw.py,v 1.7 2003-01-12 00:03:11 richard Exp $ | 17 # $Id: roundup_mailgw.py,v 1.8 2003-03-24 02:51:22 richard Exp $ |
| 18 | 18 |
| 19 # python version check | 19 # python version check |
| 20 from roundup import version_check | 20 from roundup import version_check |
| 21 | 21 |
| 22 import sys, os, re, cStringIO, getopt | 22 import sys, os, re, cStringIO, getopt |
| 65 The username and password may be omitted: | 65 The username and password may be omitted: |
| 66 pop username@server | 66 pop username@server |
| 67 pop server | 67 pop server |
| 68 are both valid. The username and/or password will be prompted for if | 68 are both valid. The username and/or password will be prompted for if |
| 69 not supplied on the command-line. | 69 not supplied on the command-line. |
| 70 | |
| 71 APOP: | |
| 72 Same as POP, but using Authenticated POP | |
| 73 | |
| 70 ''') | 74 ''') |
| 71 return 1 | 75 return 1 |
| 72 | 76 |
| 73 def main(argv): | 77 def main(argv): |
| 74 '''Handle the arguments to the program and initialise environment. | 78 '''Handle the arguments to the program and initialise environment. |
