[rt-users] RT Bounces

Jayson Antillon jayson at sitebdata.com
Thu Jan 19 23:33:50 EST 2017


Hello,

I have searched through the list archives, and read a ton of posts
regarding bounces but have not been able narrow down what issue I am having
specifically.  I have not modified any scrips from default.  Have one queue
that is in use "Incident Reports', with the addresses
incident at rt.mydomain.com and incident-comments at rt.mydomain.com configured
in /etc/aliases, any response to the autogenerated emails or new emails to
sent to incident at rt.mydomains.com are showing bounces.

I will include as much information as I have seen asked for in other  posts.


/etc/aliases
<snip>
# See man 5 aliases for format
incident:         "|/opt/rt4/bin/rt-mailgate --queue 'Incident Reports'
--no-verify-ssl --action correspond --url https://rt.mydomain.com"
incident-comments:         "|/opt/rt4/bin/rt-mailgate --queue 'Incident
Reports'  --no-verify-ssl --action comment  --url https://rt.mydomain.com"

Bounce message:

<snip>

>From MAILER-DAEMON  Thu Jan 19 22:11:35 2017
Return-Path: <>
X-Original-To: jayson
Delivered-To: jayson at rt.mydomain.com
Received: by rt.mydomain.com (Postfix, from userid 33)
        id AEF0A140AB8; Thu, 19 Jan 2017 22:11:35 -0600 (CST)
Content-Type: multipart/mixed; boundary="----------=_1484885495-18000-19"
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.508 (Entity 5.508)
To: jayson at rt.mydomain.com
Precedence: bulk
Subject: RT Bounce:
From: incident at rt.mydomain.com
Date: Thu, 19 Jan 2017 22:11:35 -0600
Message-Id: <20170120041135.AEF0A140AB8 at rt.mydomain.com>

This is a multi-part message in MIME format...

------------=_1484885495-18000-19
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary

RT thinks this message may be a bounce

------------=_1484885495-18000-19--


</snip>

mail log from rt server

Jan 19 22:21:25 rt postfix/smtpd[18877]: connect from
mail-yw0-f180.google.com[209.85.161.180]
Jan 19 22:21:26 rt postfix/smtpd[18877]: 05F14140AAD: client=
mail-yw0-f180.google.com[209.85.161.180]
Jan 19 22:21:26 rt postfix/cleanup[18881]: 05F14140AAD:
message-id=<CAM32JiToL_cmdW72=D-_PPu_zfHR7UbcNCvF8NEt=bKkYm8
WqQ at mail.gmail.com>
Jan 19 22:21:26 rt postfix/qmgr[13852]: 05F14140AAD: from=<
jayson at private.com>, size=2522, nrcpt=1 (queue active)
Jan 19 22:21:26 rt postfix/smtpd[18877]: disconnect from
mail-yw0-f180.google.com[209.85.161.180]
Jan 19 22:21:26 rt postfix/local[18882]: 05F14140AAD: to=<
incident at rt.mydomain.com>, relay=local, delay=0.93,
delays=0.56/0.02/0/0.35, dsn=2.0.0, status=sent (delivered to command:
/opt/rt4/bin/rt-mailgate --queue 'Incident Reports' --no-verify-ssl
--action correspond --url https://rt.mydomain.com

</snip>

RT Mail gate test from commandline:

root at rt:/opt/rt4/etc# cat /usr/bin/test | /opt/rt4/bin/rt-mailgate --debug
--queue 'Incident Reports' --url http://rt.mydomain.com
/opt/rt4/bin/rt-mailgate: temp file is '/tmp/CWFzDoGg58/O86pl2Sf7i'
/opt/rt4/bin/rt-mailgate: connecting to http://rt.mydomain.com/REST/1.
0/NoAuth/mail-gateway
not ok - Message is a bounce

</snip>

RT_SiteConfig.pm:

use utf8;
Plugin('RT::IR');
Plugin('RT::Extension::ResetPassword');
Set( $rtname, 'mydomain.com');
Set( $Organization, 'rt.mydomain.com <http://rt.mydsomain.com>');
Set( $Timezone, 'US/Central');
Set( $WebDomain, 'rt.mydomain.com <http://rt.reyesautomotive.com>');
Set( $WebPort, 443);
Set( $WebPath, '');
Set($CorrespondAddress, 'incident at rt.mydomain.com
<incident at rt.reyesautomotive.com>');
Set($CommentAddress, 'incident-comments at rt.mydomain.com
<incident-comments at rt.reyesautomotive.com>');
Set($LogToFile,      'debug');
Set($LogToFileNamed, "rt.log");    #log to rt.log
Set($LogDir,    '/opt/rt4/var/log');
#Set($RTAddressRegexp,qr{^(?:incident(?:-comment|-comments|
)\@rt\.mydomain\.com)$}i);
Set($OwnerEmail, 'jayson');
Set($LoopsToRTOwner, 1);
# You must install Plugins on your own, this is only an example
# of the correct syntax to use when activating them:
#     Plugin( "RT::Authen::ExternalAuth" );




rt.log


[18000] [Fri Jan 20 04:29:36 2017] [debug]: Converting 'utf-8' to 'utf-8'
for text/plain - Subjectless message (/opt/rt4/sbin/../lib/RT/I18N.pm:289)
[18000] [Fri Jan 20 04:29:36 2017] [debug]: Converting 'utf-8' to 'utf-8'
for text/html - Subjectless message (/opt/rt4/sbin/../lib/RT/I18N.pm:289)
[18000] [Fri Jan 20 04:29:36 2017] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:568)
[18000] [Fri Jan 20 04:29:36 2017] [debug]: Encode::Guess guessed encoding:
ascii (/opt/rt4/sbin/../lib/RT/I18N.pm:568)
[18000] [Fri Jan 20 04:29:36 2017] [critical]: RT Received mail
(<CAM32JiSrEQj1+E62+mYaSbi2r+pq=kxAqC_EB9LBQDLzgts+Hw at mail.gmail.com>
) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:506)
[18000] [Fri Jan 20 04:29:36 2017] [crit]: RT Bounce: Test: RT thinks this
message may be a bounce (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:698)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20170119/212a174e/attachment.htm>


More information about the rt-users mailing list