RT 4.4.1 is not sending mail

I’m trying to migrate RT 4.0.0 to 4.4.1. The installation, database migration
and LDAP auth is going ok, but 4.4.1 is not sending mail. I’ve enabled
outgoing email on tools/preferences and the aliases are already configured
as the old instance. It’s not even registering the attempt to send mail on
the ticket. Does anyone have an idea? I’m using Centos 6.8.
That’s my first RT installation/migration, so it can be a simple problem,
but i’m having many difficulties to see a solution. Thanks in advance.

The mail configuration in RT_SiteConfig.pm:
Set($MailCommand, “smtp”);
Set($SendmailArguments,“-oi -t -ODeliveryMode=b -OErrorMode=q”);
Set($SMTPServer, “”);
Set($SMTPDebug, 0);
Set($CorrespondAddress, “noreply@”);
Set($CommentAddress, “noreply@”);
Set($RTAddressRegexp , ‘^.*@$’);

View this message in context: http://requesttracker.8502.n7.nabble.com/RT-4-4-1-is-not-sending-mail-tp63521.html

You might want $MailComand to be ‘sendmail’ (or ‘postfix’, or whatever sendmail replacement you’re using) instead of ‘smtp’. I think you’re looking for the command-line mail submitter rather than the protocol.

My config:

Outgoing Mail

Set($MailCommand , “sendmail”);
Set($SendmailArguments , “-bm --”);

I don’t have $SMTPServer set at all, so either it isn’t necessary for the command-line submitter, or it defaults to localhost.

Cheers,
Kyle
Kyle Dippery
Engineering Computing Services
219 RMB
859-257-1346From: rt-devel rt-devel-bounces@lists.bestpractical.com on behalf of leandrobh90 leandro-assis@ufmg.br
Sent: Tuesday, March 7, 2017 12:47 PM
To: rt-devel@lists.bestpractical.com
Subject: [rt-devel] RT 4.4.1 is not sending mail

I’m trying to migrate RT 4.0.0 to 4.4.1. The installation, database migration
and LDAP auth is going ok, but 4.4.1 is not sending mail. I’ve enabled
outgoing email on tools/preferences and the aliases are already configured
as the old instance. It’s not even registering the attempt to send mail on
the ticket. Does anyone have an idea? I’m using Centos 6.8.
That’s my first RT installation/migration, so it can be a simple problem,
but i’m having many difficulties to see a solution. Thanks in advance.

The mail configuration in RT_SiteConfig.pm:
Set($MailCommand, “smtp”);
Set($SendmailArguments,“-oi -t -ODeliveryMode=b -OErrorMode=q”);
Set($SMTPServer, “”);
Set($SMTPDebug, 0);
Set($CorrespondAddress, “noreply@”);
Set($CommentAddress, “noreply@”);
Set($RTAddressRegexp , ‘^.*@$’);

View this message in context: http://requesttracker.8502.n7.nabble.com/RT-4-4-1-is-not-sending-mail-tp63521.html
RT 4.4 and RTIR Training Sessions Training — Best Practical Solutions

  • Paris - April 24-26, 2017

I’m trying to migrate RT 4.0.0 to 4.4.1. The installation, database migration
and LDAP auth is going ok, but 4.4.1 is not sending mail. I’ve enabled
outgoing email on tools/preferences and the aliases are already configured
as the old instance. It’s not even registering the attempt to send mail on
the ticket. Does anyone have an idea? I’m using Centos 6.8.
That’s my first RT installation/migration, so it can be a simple problem,
but i’m having many difficulties to see a solution. Thanks in advance.

The mail configuration in RT_SiteConfig.pm:
Set($MailCommand, “smtp”);

RT 4.2 removed the “smtp” delivery option because it could cause
outgoing mail to be dropped. See
https://docs.bestpractical.com/rt/4.4.1/UPGRADING-4.2.html#UPGRADING-FROM-RT-4.0.0-and-greater

  • Alex