| 121 | |
| 122 | On some qmail installation this won't work 'cause run_email2trac isn't able to change uid to the trac-user. So, first of all there should be a sudoers for the user calling it: |
| 123 | {{{ |
| 124 | popuser ALL = (wwwrun)NOPASSWD: /usr/bin/run_email2trac |
| 125 | }}} |
| 126 | Second the line above should change to: |
| 127 | Change ''popuser'' to the user the qmail helper runs as. |
| 128 | {{{ |
| 129 | |PYTHON_EGG_CACHE=<path-to-dir> /var/qmail/bin/preline /usr/bin/sudo -u wwwrun /usr/bin/run_email2trac |
| 130 | }}} |
| 131 | |
| 132 | Of course don't forget required --project option :). The PYTHON_EGG_CACHE variable should point to a area the trac user may write. If you don't need it, remove this. |
| 133 | |
| 134 | ral at alwins-world dot de |