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

John BORIS jboris at adphila.org
Fri Mar 28 09:28:02 EDT 2008


Nelson,
In the Rt book it states that 
"Modern Versions of Sendmail require all programs called from the
/etc/aliases file to be symlinked into the /etc/smrsh/ directory. You
will receive DSN:Service unavailable erros if you haven't done this."

Here is what they say to use to setup the link:

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


I only say tis since you show an error message from smrsh and in that
there is a Service unavailable message.


As for being hard to setup best Practical can answer that. It is an
Open Source package and although the setup can be frustrating the end
result is a very good product. If you haven't done so the book RT
Essentials is a reccommended resource to have on the desk. At least you
have something you can just grab and look through to give you an idea of
what went wrong. 


John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

"Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!"

>>> "Nelson Pereira" <npereira at protus.com> 3/28/2008 8:46 AM >>>
Ok, almost there...

I added "ALL:127.0.0.1" to the /etc/hosts.allow file,
Added "@protusrt.com rt3test1" to the /etc/mail/virtusertable file.

Sent email from user to rt3test1 at protusrt.com 

Maillog shows:

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)




Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use "rt-mailgate
--queue Desktop --action correspond --url http://localhost" (stat
failed)

So there's something wrong, for some reason it's not sending the email
to RT yet I can access RT with http://localhost 

/etc/aliases has:
rt3test1: "|/opt/rt3/bin/rt-mailgate --queue Desktop --action
correspond
--url http://localhost" 

I also tried changing the http:// with the actual IP address of the
box
and still getting the same error about stat failed:
Mar 28 08:45:16 nelsoncentos smrsh: uid 8: attempt to use "rt-mailgate
--queue Desktop --action correspond --url http://10.98.7.206" (stat
failed)

Any idea?

How come this is so hard to get setup? This is a virgin Centos5
install...?!?
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users 

Community help: http://wiki.bestpractical.com 
Commercial support: sales at bestpractical.com 


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com



More information about the rt-users mailing list