Hello,
I cannot send an email with attachment via a RT ticket. This is the error message in the logs:
Aug 23 09:26:42 MAIL-01 postfix/smtp[29806]: 9DD441D5362: to=ABC@eon.ie, relay=mx.eon.ie[XX.XXX.XXX.XXX]:25, delay=0.91, delays=0.07/0/0.21/0.62, dsn=5.1.0, status=bounced (host mx.eon.ie[XX.XXX.XXX.XXX] said: 550 5.1.0 q9Sg1j02P2zd5X8019SgxU invalid domain (in reply to MAIL FROM command))
The destination mail server recognises the smtp request as coming from invalid domain however I can send mail from my own account without using RT with no issues.
The requestors have the correct email address in the ticket.
Any ideas how to correct this?
I cannot send an email with attachment via a RT ticket. This is the error message in the logs:
Aug 23 09:26:42 MAIL-01 postfix/smtp[29806]: 9DD441D5362: to=ABC@eon.ie,
relay=mx.eon.ie[XX.XXX.XXX.XXX]:25, delay=0.91, delays=0.07/0/0.21/0.62, dsn=5.1.0,
status=bounced (host mx.eon.ie[XX.XXX.XXX.XXX] said: 550 5.1.0 q9Sg1j02P2zd5X8019SgxU invalid
domain (in reply to MAIL FROM command))
The destination mail server recognises the smtp request as coming from invalid domain however
I can send mail from my own account without using RT with no issues.
The requestors have the correct email address in the ticket.
Look at what your MTA is sending as the From address (not the From:
address). My assumption is that your RT server has an invalid
hostname and it’s talking to mx.eon.ie and saying “Hi, I have mail
from www-data@invalid.hostname” and being told to go away.
Sending attachments shouldn’t affect this.
Also, mail from your account isn’t a good test unless it’s also sent
by a web process running under apache with identical mail configs to
RT.
-kevin
MTA is :Subject: [queue #278] document (Aug 2012)
From: “admin via RT” js@tre.ie
Reply-To: js@tre.ie
In-Reply-To: References: RT-Ticket-278@jumper.ie
Message-ID: rt-3.8.4-11418-1338-48.278-1-0@tre.ie
Precedence: bulk X-RT-Loop-Prevention: queue
RT-Ticket: queue #278 Managed-by: RT 3.8.4 (Request Tracker — Best Practical Solutions)
RT-Originator: admin@tre.ie
To: user1@eon.ie, user2@eon.ie, user3@eon.ie
MIME-Version: 1.0
X-RT-Original-Encoding: utf-8
Date: Tue, 5 Aug 2012 09:02:26 +0000
RT-Attachment: 278/221/497
Content-Type: text/plain; charset=“utf-8”
Content-Transfer-Encoding: 8bit
Not sure where the problem is as I changed neither the hostname nor the RT config.
How can I change it from viewing www-data as part of the outgoing mail?

MTA is :
Subject: [queue #278] document (Aug 2012)
From: “admin via RT” js@tre.ie
Reply-To: js@tre.ie
In-Reply-To: References: RT-Ticket-278@jumper.ie
Message-ID: rt-3.8.4-11418-1338-48.278-1-0@tre.ie
Precedence: bulk X-RT-Loop-Prevention: queue
RT-Ticket: queue #278 Managed-by: RT 3.8.4 (Request Tracker... So much more than a help desk — Best Practical Solutions)
RT-Originator: admin@tre.ie
To: user1@eon.ie, user2@eon.ie, user3@eon.ie
MIME-Version: 1.0
X-RT-Original-Encoding: utf-8
Date: Tue, 5 Aug 2012 09:02:26 +0000
RT-Attachment: 278/221/497
Content-Type: text/plain; charset=“utf-8”
Content-Transfer-Encoding: 8bit
Not sure where the problem is as I changed neither the hostname nor the RT config.
How can I change it from viewing www-data as part of the outgoing mail?
That looks like RT’s record of the outgoing mail, not an actual mail
header. You may want to read about $SetOutgoingMailFrom in
RT_Config.pm and the documented possible failures there.
-kevin
Successful email from RT to gmail:
Delivered-To: user@gmail.com
Received: by 10.68.130.226 with SMTP id oh2csp545pbb;
Tue, 4 Sep 2012 03:27:24 -0700 (PDT)
Received: by 10.216.64.79 with SMTP id b57mr1569wed.31.1346754443876;
Tue, 04 Sep 2012 03:27:23 -0700 (PDT)
Return-Path: user@srv.company.ie
Received: from srv.company.ie (mail.company.ie. [XX.XXX.XXX.XXX])
by mx.google.com with ESMTP id bc8si22448wib.35.2012.09.04.03.27.23;
Tue, 04 Sep 2012 03:27:23 -0700 (PDT)Subject: [company #216] email
From: “username via RT” user@company.ie
Reply-To: user@company.ie
In-Reply-To:
References: RT-Ticket-216@company.ie
Message-ID: rt-3.8.4-21-1340-56.26-13-0@company.ie
Precedence: bulk
X-RT-Loop-Prevention: company
RT-Ticket: company #216
Managed-by: RT 3.8.4 ( Request Tracker — Best Practical Solutions )
RT-Originator: user@company.ie
To: user@gmail.com
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=“utf-8”
X-RT-Original-Encoding: utf-8
Date: Tue, 4 Sep 2012 10:27:20 +0000
Still an issue with sending mail from RT to company.it mailbox though.
Any other mailserver accepts the email via RT, only the mailserver at company.it considers it as an invalid domain.
Could RT need to flush it’s cache if it previously sent a misconfigured email to company.it or is it due to the company.it mailserver?
Any other mailserver accepts the email via RT, only the mailserver at company.it considers it
as an invalid domain.
Could RT need to flush it’s cache if it previously sent a misconfigured email to company.it or
is it due to the company.it mailserver?
The MAIL FROM is generated by the MTA on your RT server, not RT, so
there’s no cache in RT to flush. You can force it to something from
RT if needed, but usually this is a matter of having correct DNS in
place. Since you have XXXed all the domains though, nobody can check.
Have you contacted this company.it to see if they have useful mail
logs, since you claim they’re the only ones bouncing you?
-kevin