84 | | === Note for Sendmail === |
85 | | This is a message from emailtotrac tickets archive: |
86 | | {{{ |
87 | | Sendmail limits the executables that can be run via aliases to those in a |
88 | | special directory, and runs them using a restricted shell called smrsh. |
89 | | On RH, the default location for the allowed programs is /etc/smrsh. |
90 | | |
91 | | I tried both a link in that dir to the run_email2trac file and a little |
92 | | shell script that simply calls run_email2trac and passes the params. Both |
93 | | should work, but neither did yet. Majordomo works the same way, and it |
94 | | set up on the machine already so I'll check on that later today. |
95 | | |
96 | | I found a pretty good walk-through of the problem/solution at |
97 | | http://archives.free.net.ph/message/20030605.105120.74c3bfa8.html |
98 | | |
99 | | Well, I was in fact doing the right thing. Here's all the steps to follow |
100 | | post make install |
101 | | |
102 | | ln -s /usr/local/bin/run_email2trac /etc/smrsh/run_email2trac |
103 | | |
104 | | in aliases use: |
105 | | |
106 | | "|run_email2trac -project=bas" |
107 | | |
108 | | Note: Include the quotes, they are necessary. That got me past the |
109 | | sendmail problem. No ticket appeared in the project, but I'll look into |
110 | | that next. Is there a log generated anywhere? |
111 | | }}} |
112 | | |