Changes between Version 42 and Version 43 of EmailtoTracScript


Ignore:
Timestamp:
Jul 6, 2006, 10:21:07 AM (18 years ago)
Author:
Bas van der Vlies
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EmailtoTracScript

    v42 v43  
    137137}}}   
    138138
    139 === Note ===
     139=== Note for postfix ===
    140140
    141141{{{run_email2trac}}} is totally unnecessary for Postfix.  You can run a delivery command as any user just by placing the aliases in a separate file and {{{chown}}}ing that aliases file to the user you want the delivery to run as.  Then you run {{{postalias /path/to/aliases}}}, which will create {{{/path/to/aliases.db}}}, and you then just add {{{hash:/path/to/aliases}}} to the {{{alias_maps}}} config variable in {{{main.cf}}}.  The only caveat is that the user who owns the separate aliases file needs to have write perms to the directory that it's stored in (which rules out putting it in {{{/etc/postfix}}} unless you're nuts)  -- mpalmer@hezmatt.org.
     142
     143=== Note for Sendmail ===
     144This is a message from emailtotrac tickets archive:
     145{{{
     146Sendmail limits the executables that can be run via aliases to those in a
     147special directory, and runs them using a restricted shell called smrsh.
     148On RH, the default location for the allowed programs is /etc/smrsh.
     149
     150I tried both a link in that dir to the run_email2trac file and a little
     151shell script that simply calls run_email2trac and passes the params. Both
     152should work, but neither did yet. Majordomo works the same way, and it
     153set up on the machine already so I'll check on that later today.
     154
     155I found a pretty good walk-through of the problem/solution at
     156http://archives.free.net.ph/message/20030605.105120.74c3bfa8.html
     157
     158Well, I was in fact doing the right thing. Here's all the steps to follow
     159post make install
     160
     161ln -s /usr/local/bin/run_email2trac /etc/smrsh/run_email2trac
     162
     163in aliases use:
     164
     165"|run_email2trac �project=bas"
     166
     167Note: Include the quotes, they are necessary. That got me past the
     168sendmail problem. No ticket appeared in the project, but I'll look into
     169that next. Is there a log generated anywhere?
     170}}}
    142171
    143172== Author/Contributors ==