RTIR Outbound Mail Error

Hi there,

I’ve managed to successfully configure my RT-IR system and SendMail system
for local use only (they are on the same machine). I am facing a problem in
which if I create a ticket within the RT-IR system, it will send a mail to
all the involved parties however, if I try to create a ticket via email, it
doesn’t get registered as a ticket in the RT-IR system. I have already
installed the CommandByMail plugin and made all necessary configurations to
the RT_SiteConfig.pm and /etc/aliases files. I have no problem receiving
mail from the RT-IR system. My mail.log file shows no errors either. It says
the mail has been sent. However the RT-IR system isn’t receiving it. Your
help and guidance is much appreciated. Sorry about this. I’m new to the
system. Please and thanks!!

Best regards,
Alex

View this message in context: http://requesttracker.8502.n7.nabble.com/RTIR-Outbound-Mail-Error-tp57214.html

I’ve managed to successfully configure my RT-IR system and SendMail system
for local use only (they are on the same machine). I am facing a problem in
which if I create a ticket within the RT-IR system, it will send a mail to
all the involved parties however, if I try to create a ticket via email, it
doesn’t get registered as a ticket in the RT-IR system. I have already
installed the CommandByMail plugin and made all necessary configurations to
the RT_SiteConfig.pm and /etc/aliases files. I have no problem receiving
mail from the RT-IR system. My mail.log file shows no errors either. It says
the mail has been sent. However the RT-IR system isn’t receiving it. Your
help and guidance is much appreciated. Sorry about this. I’m new to the
system. Please and thanks!!

Your subject says outbound email, but your mail talks about creating a
ticket via email, which implies inbound email.

CommandByMail is not required to create tickets by email.

Please clarify what your problem is and tell the list how you’ve
configured RT and rt-mailgate to receive email.

-kevin

Hi Kevin,

Sorry for not being clear. I’m a complete newbie at this.

This is my complete /etc/aliases file

See man 5 aliases for format

postmaster: root

general: “|/opt/rt4/bin/rt-mailgate --queue ‘General’ --action correspond
–url https://umrt2.com/
general-comment: “|/opt/rt4/bin/rt-mailgate --queue ‘General’ --action
comment --url https://umrt2.com/

DDoS: “|/opt/rt4/bin/rt-mailgate --queue ‘DDoS’ --action correspond --url
https://umrt2.com/
DDoS-comment: “|/opt/rt4/bin/rt-mailgate --queue ‘DDoS’ --action comment
–url https://umrt2.com/

These are my settings in my RT_SiteConfig.pm file
Set( $rtname, ‘umrt2.com’);
Set( $Organization, ‘umrt2.com’);
Set( $Timezone, ‘Asia/Kuala_Lumpur’);
Set( $WebDomain, ‘umrt2.com’);
Set( $WebPort, 443);
Set( $WebPath, ‘’);
Set( $DatabasePassword, ‘password’);
Set( @Plugins, ‘RT::IR’, “RT::Extension::CommandByMail”);
Set( @MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
Set( $SendmailPath, “/usr/sbin/sendmail”);
Set( $SendmailArguments, “-oi -t”);
Set( $MyTicketsLength, 20);
Set ($WebExternalAuto, 1);

When I attempt to send it to general@umrt2.com, I get an EX_TEMPFAIL in my
mail.log
Is there any other information I can give to you? Sorry and thanks again!

Best regards,
Alex

View this message in context: http://requesttracker.8502.n7.nabble.com/RTIR-Outbound-Mail-Error-tp57214p57227.html

general: “|/opt/rt4/bin/rt-mailgate --queue ‘General’ --action correspond
–url https://umrt2.com/
general-comment: “|/opt/rt4/bin/rt-mailgate --queue ‘General’ --action
comment --url https://umrt2.com/

DDoS: “|/opt/rt4/bin/rt-mailgate --queue ‘DDoS’ --action correspond --url
https://umrt2.com/
DDoS-comment: “|/opt/rt4/bin/rt-mailgate --queue ‘DDoS’ --action comment
–url https://umrt2.com/

Set( $SendmailPath, “/usr/sbin/sendmail”);
Set( $SendmailArguments, “-oi -t”);

These are the defaults, no need to be setting them

When I attempt to send it to general@umrt2.com, I get an EX_TEMPFAIL in my
mail.log
Is there any other information I can give to you? Sorry and thanks again!

Show the full error, however, once you’ve gotten an error on the mail
side, you need to go read your RT error logs. Often these are your
apache error logs.

-kevin