RT email failing

My rt instance relays its email through another server. Messages coming
from RT are failing

My relay server is not sending the mail and is giving me a 451 error. If I
go to the command line and generate an email it sends this correctly.

RT is version 4.2.2 on ubuntu 12.10 running postfix.

It will handle the incoming mail correctly and create the ticket but when
it sends it out there is this problem.

ANy pointers on where to look for the misconfiguration.

John J. Boris, Sr.
Online Services

My rt instance relays its email through another server. Messages coming from RT are failing
My relay server is not sending the mail and is giving me a 451 error. If I go to the command
line and generate an email it sends this correctly.
RT is version 4.2.2 on ubuntu 12.10 running postfix.
It will handle the incoming mail correctly and create the ticket but when it sends it out
there is this problem.
ANy pointers on where to look for the misconfiguration.

You would need to show a full error message (451 is insufficient, it
means many things) and ideally you would show logs from your relay
server about why you’re being rejected.

Most likely your RT server’s hostname is internal and invalid and is
leaking.

-kevin

Kevin,
I checked the mail log on my relay server and here is the error

2014-02-25 12:01:58 -0500 badhosts11091: [SYSERR(25)Inappropriate I/O
control operation] Dying on sig13: pipe write w/no reader

Here is the output of deliver
/usr/mmdf/bin/deliver -w

[ Checking for Local delivery (local) mail ]
sorting the queue.

[ Checking for Mailing list processor (list) mail ]
sorting the queue.

[ Checking for SMTP Delivery (smtp) mail ]
sorting the queue.

[ Checking for Smart-host Routing for hosts (badhosts) mail ]
sorting the queue.
1 messages, 1 to be processed

Message ‘msg.aa11088’, from ‘www-data@rt3.adphila.org’
Queued: 0 Days, 0 Hours
[ Accessing badhosts (Smart-host Routing for hosts)]
Channel: badhosts
jborissr@gmail.com via chat2.adphila.org: trying…
connecting to [172.31.250.60]… open.
<-(220 chat2.adphila.org ESMTP (23ca9e33fefa09d99f2e46c526eff526))
->(HELO jc.adphila.org)
<-(250 chat2.adphila.org Hello jc.adphila.org [172.31.5.100], pleased to
meet you)
->(MAIL FROM:www-data@rt3.adphila.org)
<-(250 Sender www-data@rt3.adphila.org OK)
->(RCPT TO:jborissr@gmail.com)
<-(250 Recipient jborissr@gmail.com OK)
address ok
->(DATA)
<-(354 Start mail input; end with .)
sending…:… ->(.)
<-(451 Internal error)
Problem address ending: Internal error
not sent, queued for retry
End of processing for msg.aa11088

Message ‘msg.aa11088’, from ‘www-data@rt3.adphila.org’
Queued: 0 Days, 0 Hours
jborissr@gmail.com via chat2.adphila.org: dead host
End of processing for msg.aa11088

[ Checking for Nameserver Delay channel (delay) mail ]
sorting the queue.

[ Checking for Smart-host routing for users (badusers) mail ]
sorting the queue.
->(QUIT)
/usr/mmdf/bin/deliver: normal end

The addresses in her (rt3.adphila.org) are internal.
Here is the postfix log on my rt machine

Feb 25 12:26:31 rt3 postfix/pickup[6599]: 0F24AA40D4: uid=33 from=
Feb 25 12:26:31 rt3 postfix/cleanup[6628]: 0F24AA40D4: message-id=<
rt-4.2.2-1338-1393349190-718.34-7-0@rt3.adphila.org>
Feb 25 12:26:31 rt3 postfix/qmgr[6600]: 0F24AA40D4: from=<
www-data@rt3.adphila.org>, size=2392, nrcpt=1 (queue active)
Feb 25 12:26:31 rt3 postfix/smtp[6631]: 0F24AA40D4: to=jborissr@gmail.com,
relay=jc.adphila.org[172.31.5.100]:25, delay=0.47,
delays=0.18/0.15/0.09/0.05, dsn=2.0.0, status=sent (250 Submitted & queued
(msg.aa11088))
Feb 25 12:26:31 rt3 postfix/qmgr[6600]: 0F24AA40D4: removed

It leaves but is not accepted on my relay or fails on my relay.

I have been searching for typos and haven’t found any.On Tue, Feb 25, 2014 at 11:29 AM, Kevin Falcone falcone@bestpractical.comwrote:

On Tue, Feb 25, 2014 at 10:23:08AM -0500, john boris wrote:

My rt instance relays its email through another server. Messages
coming from RT are failing
My relay server is not sending the mail and is giving me a 451 error.
If I go to the command
line and generate an email it sends this correctly.
RT is version 4.2.2 on ubuntu 12.10 running postfix.
It will handle the incoming mail correctly and create the ticket but
when it sends it out
there is this problem.
ANy pointers on where to look for the misconfiguration.

You would need to show a full error message (451 is insufficient, it
means many things) and ideally you would show logs from your relay
server about why you’re being rejected.

Most likely your RT server’s hostname is internal and invalid and is
leaking.

-kevin


RT Training London, March 19-20 and Dallas May 20-21
http://bestpractical.com/training

John J. Boris, Sr.
Online Services
www.onlinesvc.com

I checked the mail log on my relay server and here is the error

Unfortunately, this points to some sort of problem with mmdf (which is
a very unusual MTA, so there isn’t going to be a lot of expertise on
it).

<-(220 [4]chat2.adphila.org ESMTP (23ca9e33fefa09d99f2e46c526eff526))

Since you publish IP addresses for rt3.adphila.org, it isn’t the
obvious error. Unfortunately, you likely need to look farther up the
mail relay chain since it leaves RT via postfix and then it fails when
trying to pass to another adphila.org server.

->(HELO [5]jc.adphila.org)
<-(250 [6]chat2.adphila.org Hello [7]jc.adphila.org [172.31.5.100], pleased to meet you)
->(MAIL FROM:<[8]www-data@rt3.adphila.org>)
<-(250 Sender <[9]www-data@rt3.adphila.org> OK)
->(RCPT TO:<[10]jborissr@gmail.com>)
<-(250 Recipient <[11]jborissr@gmail.com> OK)
address ok
->(DATA)
<-(354 Start mail input; end with .)
sending…:… ->(.)
<-(451 Internal error)

-kevin