Changeset 93


Ignore:
Timestamp:
07/06/06 12:23:57 (16 years ago)
Author:
bas
Message:

EmailtoTracScript?:

INSTALL:

  • added docs for sendmail
File:
1 edited

Legend:

Unmodified
Added
Removed
  • emailtotracscript/trunk/INSTALL

    r92 r93  
    8383   default component for the project. Line must have the following format :
    8484{{{
    85      tracproj: |/usr/sbin/run_email2trac [--project=<project_name>] [--component=<project_component>]
     85     tracproj: |"/usr/sbin/run_email2trac [--project=<project_name>] [--component=<project_component>]"
    8686}}}
    8787
     
    9191     mail tracproj
    9292}}}
     93
     94===  Note for Sendmail ===
     95This is a message from emailtotrac tickets archive:
     96{{{
     97Sendmail limits the executables that can be run via aliases to those in a
     98special directory, and runs them using a restricted shell called smrsh.
     99On RH, the default location for the allowed programs is /etc/smrsh.
     100
     101I tried both a link in that dir to the run_email2trac file and a little
     102shell script that simply calls run_email2trac and passes the params. Both
     103should work, but neither did yet. Majordomo works the same way, and it
     104set up on the machine already so I'll check on that later today.
     105
     106I found a pretty good walk-through of the problem/solution at
     107http://archives.free.net.ph/message/20030605.105120.74c3bfa8.html
     108
     109Well, I was in fact doing the right thing. Here's all the steps to follow
     110post make install
     111
     112ln -s /usr/local/bin/run_email2trac /etc/smrsh/run_email2trac
     113
     114in aliases use:
     115
     116"|run_email2trac -project=bas"
     117
     118Note: Include the quotes, they are necessary. That got me past the
     119sendmail problem. No ticket appeared in the project, but I'll look into
     120that next. Is there a log generated anywhere?
     121}}}
Note: See TracChangeset for help on using the changeset viewer.