Mailing List Archive

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, "<my-server>");
Set($SMTPDebug, 0);
Set($CorrespondAddress, "noreply\@<my-server>");
Set($CommentAddress, "noreply\@<my-server>");
Set($RTAddressRegexp , '^.*\@<my-server>$');




--
View this message in context: http://requesttracker.8502.n7.nabble.com/RT-4-4-1-is-not-sending-mail-tp63521.html
Sent from the Request Tracker - Dev mailing list archive at Nabble.com.
---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Paris - April 24-26, 2017
Re: RT 4.4.1 is not sending mail [ In reply to ]
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-1346

________________________________________
From: 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, "<my-server>");
Set($SMTPDebug, 0);
Set($CorrespondAddress, "noreply\@<my-server>");
Set($CommentAddress, "noreply\@<my-server>");
Set($RTAddressRegexp , '^.*\@<my-server>$');




--
View this message in context: http://requesttracker.8502.n7.nabble.com/RT-4-4-1-is-not-sending-mail-tp63521.html
Sent from the Request Tracker - Dev mailing list archive at Nabble.com.
---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Paris - April 24-26, 2017
---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Paris - April 24-26, 2017
Re: RT 4.4.1 is not sending mail [ In reply to ]
On Tue, 7 Mar 2017 10:47:57 -0700 (MST)
leandrobh90 <leandro-assis@ufmg.br> wrote:

> 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
---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Paris - April 24-26, 2017