[rt-users] testing the ability for RT to sendmail
Nelson Pereira
npereira at protus.com
Fri Mar 28 10:46:00 EDT 2008
As requested from the security tech... don't ask...
Now it looks like I broke it again....
Mar 28 10:43:31 nelsoncentos sendmail[3608]: m2SEhV3U003608:
from=<npereira at protus.com>, size=10775, class=0, nrcpts=1,
msgid=<21044E8C915A7E43B90A1056127160F10CE876 at EXMAIL.protus.org>,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 10:43:32 nelsoncentos sendmail[3610]: m2SEhV3U003608:
to="|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond --url
http://localhost", ctladdr=<rt3test1 at protusrt.com> (8/0),
delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=40984, dsn=4.0.0,
stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Nelson Pereira
Senior Network Administrator
Protus IP Solutions Inc.
npereira at protus.com
phone: 613.733.0000 ext.528
MyFax: 613.822.5083
www.myfax.com
Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.com
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Fernando
Frota Machado de Morais
Sent: Friday, March 28, 2008 10:42 AM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] testing the ability for RT to sendmail
I think you need to enable which programs can be piped when you are
using
smrsh. Try to disable it, generating a new "sendmail.cf" file (you will
need
to comment another line at sendmail.mc). And why are you using
"protusrt.com"
instead of something like "rt.protus.com"?.
Em Friday 28 March 2008 09:46:49 Nelson Pereira escreveu:
> 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
--
Fernando Frota Machado de Morais
IR Team - Divisao de Redes de Comunicacao
Centro de Computacao
Universidade Federal de Minas Gerais
Brasil
Tel. +55(31)3409.4007 Fax. +55(31)3409.4004
_______________________________________________
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