[rt-users] Understanding mailgate

Brian W. Spolarich bwspolarich at uscar.org
Tue Apr 19 17:25:27 EDT 2005


  I haven't followed this thread, but it sounds like a typical sendmail
issue.

  You will need to place a symlink to rt-mailgate in /etc/smrsh/.  E.g.

  ln -s /opt/rt3/bin/rt-mailgate /etc/smrsh/rt-mailgate

  Sendmail tries to be very picky about the programs it will allow
itself to run for very good security reasons.  Only programs that are
copied or symlinked to /etc/smrsh are runnable.  Sendmail strips off the
leading path information to whatever programs are listed in your aliases
and replaces it with /etc/smrsh, so this kind of alias is acceptable:

rt: "|rt-mailgate --queue it-support --action correspond --debug --url
http://your.host.here/rt/"

  -brian

rt-users-bounces at lists.bestpractical.com wrote:
> 
>    ----- The following addresses had permanent fatal errors -----
> "| /opt/rt3/bin/rt-mailgate --queue 'System Administration'
> --action correspond --url http://rttest.progeny.com/"
>     (reason: Service unavailable)
>     (expanded from: <sysadmin2 at rttest.progeny.com>)
> 
>    ----- Transcript of session follows -----
> smrsh: "rt-mailgate" not available for sendmail programs (stat
> failed) 554 5.0.0 Service unavailable 




More information about the rt-users mailing list