PLEASE HELP! Congiring RT for Incoming Emails

Hello,

I’m trying to receive emails on RT and I’m getting an error message
regarding to the prog mailer. I created the symbolic link ln -s
/usr/bin/rt-mailgate /etc/smrsh/rt-mailgate because I’m using sendmail.

These are the packages of sendmail I have installed

sendmail-cf-8.13.1-3.RHEL4.5
sendmail-8.13.1-3.RHEL4.5

These are the packages of RT I have installed:

rt-mail-dispatcher-3.4.5-2
rt-3.4.5-2

This is how part of my RT_SiteConfig file looks like:

Set($MailCommand , ‘sendmailpipe’);
Set($SendmailArguments , “-oi -t”);
Set($SendmailBounceArguments , ‘-f “<>”’);
Set($SendmailPath , “/usr/sbin/sendmail”);

This the error message I get when I send emails from my personal email
address to rt@rt.domain.com. It gets to the server but no success.

May 22 10:30:03 rt sendmail[26804]: l4MEU2R0026804: from=me@myaddress.com,
size=2882, class=0, nrcpts=1, msgid=<
009501c79c7d$e994b2f0$7100000a@MyDEsktopComputer>, proto=ESMTP, daemon=MTA,
relay=mail.domain.tld [1.2.3.4]
May 22 10:30:03 rt sendmail[26807]: l4MEU2R0026804:
to=“|/etc/smrsh/rt-mailgate --queue general --action correspond --url
http://rt.domain.com”, ctladdr=rt@rt.domain.com (8/0), delay=00:00:01,
xdelay=00:00:00, mailer=prog, pri=33071, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

Any inputs???