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

Fernando Frota Machado de Morais frota at cecom.ufmg.br
Fri Mar 28 10:42:14 EDT 2008


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



More information about the rt-users mailing list