Mercurial > p > roundup > code
comparison doc/installation.txt @ 3405:292fbed108ca
*** empty log message ***
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 12 Sep 2005 00:15:21 +0000 |
| parents | e996f3584772 |
| children | 07c696890f55 |
comparison
equal
deleted
inserted
replaced
| 3404:7d48c5b1e8f2 | 3405:292fbed108ca |
|---|---|
| 499 As a mail alias pipe process | 499 As a mail alias pipe process |
| 500 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 500 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 501 | 501 |
| 502 Set up a mail alias called "issue_tracker" as (include the quote marks): | 502 Set up a mail alias called "issue_tracker" as (include the quote marks): |
| 503 "``|/usr/bin/python /usr/local/bin/roundup-mailgw <tracker_home>``" | 503 "``|/usr/bin/python /usr/local/bin/roundup-mailgw <tracker_home>``" |
| 504 (substitute ``/usr/local/bin`` for wherever roundup-mailgw is installed). | |
| 504 | 505 |
| 505 In some installations (e.g. RedHat 6.2 I think) you'll need to set up smrsh so | 506 In some installations (e.g. RedHat 6.2 I think) you'll need to set up smrsh so |
| 506 sendmail will accept the pipe command. In that case, symlink | 507 sendmail will accept the pipe command. In that case, symlink |
| 507 ``/etc/smrsh/roundup-mailgw`` to "``/usr/local/bin/roundup-mailgw``" and change | 508 ``/etc/smrsh/roundup-mailgw`` to "``/usr/local/bin/roundup-mailgw``" and change |
| 508 the command to:: | 509 the command to:: |
| 514 echo test |mail -s '[issue] test' support@YOUR_DOMAIN_HERE | 515 echo test |mail -s '[issue] test' support@YOUR_DOMAIN_HERE |
| 515 | 516 |
| 516 As a regular job using a mailbox source | 517 As a regular job using a mailbox source |
| 517 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 518 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 518 | 519 |
| 519 Set ``roundup-mailgw`` up to run every 10 minutes or so. For example:: | 520 Set ``roundup-mailgw`` up to run every 10 minutes or so. For example |
| 521 (substitute ``/usr/local/bin`` for wherever roundup-mailgw is installed):: | |
| 520 | 522 |
| 521 0,10,20,30,40,50 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support mailbox <mail_spool_file> | 523 0,10,20,30,40,50 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support mailbox <mail_spool_file> |
| 522 | 524 |
| 523 Where the ``mail_spool_file`` argument is the location of the roundup submission | 525 Where the ``mail_spool_file`` argument is the location of the roundup submission |
| 524 user's mail spool. On most systems, the spool for a user "issue_tracker" | 526 user's mail spool. On most systems, the spool for a user "issue_tracker" |
| 525 will be "``/var/mail/issue_tracker``". | 527 will be "``/var/mail/issue_tracker``". |
| 526 | 528 |
| 527 As a regular job using a POP source | 529 As a regular job using a POP source |
| 528 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 530 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 529 | 531 |
| 530 To retrieve from a POP mailbox, use a *cron* entry similar to the mailbox one:: | 532 To retrieve from a POP mailbox, use a *cron* entry similar to the mailbox |
| 533 one (substitute ``/usr/local/bin`` for wherever roundup-mailgw is | |
| 534 installed):: | |
| 531 | 535 |
| 532 0,10,20,30,40,50 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support pop <pop_spec> | 536 0,10,20,30,40,50 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support pop <pop_spec> |
| 533 | 537 |
| 534 where pop_spec is "``username:password@server``" that specifies the roundup | 538 where pop_spec is "``username:password@server``" that specifies the roundup |
| 535 submission user's POP account name, password and server. | 539 submission user's POP account name, password and server. |
| 538 | 542 |
| 539 As a regular job using an IMAP source | 543 As a regular job using an IMAP source |
| 540 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 544 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 541 | 545 |
| 542 To retrieve from an IMAP mailbox, use a *cron* entry similar to the | 546 To retrieve from an IMAP mailbox, use a *cron* entry similar to the |
| 543 POP one:: | 547 POP one (substitute ``/usr/local/bin`` for wherever roundup-mailgw is |
| 548 installed):: | |
| 544 | 549 |
| 545 0,10,20,30,40,50 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support imap <imap_spec> | 550 0,10,20,30,40,50 * * * * /usr/local/bin/roundup-mailgw /opt/roundup/trackers/support imap <imap_spec> |
| 546 | 551 |
| 547 where imap_spec is "``username:password@server``" that specifies the roundup | 552 where imap_spec is "``username:password@server``" that specifies the roundup |
| 548 submission user's IMAP account name, password and server. You may | 553 submission user's IMAP account name, password and server. You may |
