[rt-users] testing the ability for RT to sendmail

Barry Byrne barry.byrne at wbtsystems.com
Fri Mar 28 09:35:32 EDT 2008


 

> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com 
> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf 
> Of Nelson Pereira

> Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
> from=<npereira at protus.com>, size=10773, class=0, nrcpts=1,
> msgid=<21044E8C915A7E43B90A1056127160F10CE830 at EXMAIL.protus.org>,
> proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
> Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use "rt-mailgate
> --queue Desktop --action correspond --url http://localhost" (stat
> failed)
> Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
> to="|/opt/rt3/bin/rt-mailgate --queue Desktop --action 
> correspond --url
> http://localhost", ctladdr=<rt3test1 at protusrt.com> (8/0),
> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
> stat=Service unavailable
> Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
> m2SCbUvh003270: DSN: Service unavailable
> Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
> to=<npereira at protus.com>, delay=00:00:00, xdelay=00:00:00, 
> mailer=relay,
> pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
> dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Nelson:

I don't use Centos or Redhat - but this looks like sendmail is configured to
use smrsh.

You'll need to create a symbolic link to the rt-mailgate program in the
smrsh directory, which is probably /etc/smrsh.

Then alter the alias line to use this file:

Something like:

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

Then in your aliases file:

rt3test1: "|rt-mailgate --queue Desktop --action correspond --url
http://localhost"

Run newaliases

Then you should be set.

 - barry




More information about the rt-users mailing list