No To: header in AdminCC's mails

Hi all,

I was sure this would have come up somewhere but i can’t make a search
produce any results. This also tells me that it’s most likely my error
if no-one else has the problem

Mails to “AdminCC” are sent as a BCC, but there is no To: or CC: fields,
so spam filtering marks all the mails as spam.

1.2 MISSING_HEADERS Missing To: header
1.9 REPLYTO_WITHOUT_TO_CC REPLYTO_WITHOUT_TO_CC

I have made a workaround solution by putting a To: header in the admincc template that sends the mail to a /dev/null mailbox, but that’s hardly ideal.

Below are the full headers of the mail

thanks in advance for any suggestions

Woody.

Return-Path: workshop@xxx.com
Received: from deliver ([unix socket])
by math.xxx.net (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA;
Mon, 07 Dec 2015 08:30:55 +0000
X-Sieve: CMU Sieve 2.3
Received: from bodge.xxx.org ([xxx.xxx.xxx.xx])
by math.xxx.net with esmtp (Exim 4.72)
(envelope-from workshop@xxx.com)
id 1a5rCA-0001wG-7Q; Mon, 07 Dec 2015 08:30:55 +0000
Received: from www-data by bodge.x.org with local (Exim 4.82)
(envelope-from workshop@xxx.com)
id 1a5rC4-0001D1-VW; Mon, 07 Dec 2015 08:30:49 +0000Subject: Re: Fw: WTGxxxx Jeep Cherokee 2006
From: workshop@xxx.com
Reply-To: workshop@xxx.com
In-Reply-To: OF58896A89.E13AA1E4-ON43257F14.002E92BA-43257F14.002EBDAA@unvienna.org
References: RT-Ticket-82786@xxx.com <RT-Ticket-82786@Wild
Things Safaris> <rt-4.2.9-3596-1449475587-1262.82786-7-0@Wild Things
Safaris> 56654142.3090600@xxx.com
rt-4.2.9-4190-1449476427-1039.82786-67-0@wildthingsafaris.com
OF58896A89.E13AA1E4-ON43257F14.002E92BA-43257F14.002EBDAA@unvienna.org
Message-ID: rt-4.2.9-4190-1449477048-670.82786-5-0@xxx.com
X-RT-Loop-Prevention: WT
X-RT-Ticket: WT #82786
X-Managed-BY: RT 4.2.9 (Request Tracker — Best Practical Solutions)
X-RT-Originator: stephen@xxx.org
Content-Type: multipart/mixed; boundary=“----------=_1449477048-4190-15”
Precedence: bulk
Date: Mon, 07 Dec 2015 11:30:48 +0300
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system “math.xxx.net”, has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn’t spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.

Content preview: Ticket URL: http://rt.xxx.com/Ticket/Display.html?id=82786
Hi Woody, No idea whether it has been skimmed before. The previous owner
is not contactable, so I cannot check with him. He had it from new, and I’m
not aware of any earlier problems. […]

Content analysis details: (2.5 points, 5.0 required)

pts rule name description


-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
trust
[xx.xx.xx.xx listed in list.dnswl.org]
-0.0 SPF_PASS SPF: sender matches SPF record
1.2 MISSING_HEADERS Missing To: header
0.0 TVD_FW_GRAPHIC_NAME_MID BODY: Medium sized image attachment name
0.0 HTML_MESSAGE BODY: HTML included in message
1.9 REPLYTO_WITHOUT_TO_CC REPLYTO_WITHOUT_TO_CC

This is a multi-part message in MIME format…

------------=_1449477048-4190-15
Content-Type: multipart/alternative; boundary=“----------=_1449477048-4190-14”

This is a multi-part message in MIME format…

------------=_1449477048-4190-14
RT-Attach-Message: yes
Content-Type: text/plain; charset=“utf-8”
X-RT-Original-Encoding: utf-8

Ticket URL: http://rt.xxx.com/Ticket/Display.html?id=82786

Hi Woody,

Regards,

Hi all,

I was sure this would have come up somewhere but i can’t make a search
produce any results. This also tells me that it’s most likely my error
if no-one else has the problem

Mails to “AdminCC” are sent as a BCC, but there is no To: or CC: fields,
so spam filtering marks all the mails as spam.

1.2 MISSING_HEADERS Missing To: header
1.9 REPLYTO_WITHOUT_TO_CC REPLYTO_WITHOUT_TO_CC

I have made a workaround solution by putting a To: header in the admincc
template that sends the mail to a /dev/null mailbox, but that’s hardly
ideal.

Below are the full headers of the mail

thanks in advance for any suggestions

Woody.

You shoudl set the $UseFriendlyToLine config option:
https://www.bestpractical.com/docs/rt/4.2/RT_Config.html#UseFriendlyToLine

Chris

Thanks for your swift response Chris - thought it must be my config.
In a similar vein, should i set FriendlyFromLine too to maintain RFC
compliance?

w.On 08/12/15 11:00, Christian Loos wrote:

Am 08.12.2015 um 08:01 schrieb Woody - Wild Thing Safaris:

Hi all,

I was sure this would have come up somewhere but i can’t make a search
produce any results. This also tells me that it’s most likely my error
if no-one else has the problem

Mails to “AdminCC” are sent as a BCC, but there is no To: or CC: fields,
so spam filtering marks all the mails as spam.

1.2 MISSING_HEADERS Missing To: header
1.9 REPLYTO_WITHOUT_TO_CC REPLYTO_WITHOUT_TO_CC

I have made a workaround solution by putting a To: header in the admincc
template that sends the mail to a /dev/null mailbox, but that’s hardly
ideal.

Below are the full headers of the mail

thanks in advance for any suggestions

Woody.
You shoudl set the $UseFriendlyToLine config option:
RT Config - RT 4.2.17 Documentation - Best Practical

Chris

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz

Thanks for your swift response Chris - thought it must be my config.
In a similar vein, should i set FriendlyFromLine too to maintain RFC
compliance?

w.

Setting $FriendlyFromLine isn’t necessary because the outgoing mail will
always have a From header.

Setting $FriendlyFromLine just changes the format of the From header,
which you can customize by $FriendlyFromLineFormat.

Chris

Thank you very much

w.On 08/12/15 11:55, Christian Loos wrote:

Am 08.12.2015 um 09:21 schrieb Woody - Wild Thing Safaris:

Thanks for your swift response Chris - thought it must be my config.
In a similar vein, should i set FriendlyFromLine too to maintain RFC
compliance?

w.
Setting $FriendlyFromLine isn’t necessary because the outgoing mail will
always have a From header.

Setting $FriendlyFromLine just changes the format of the From header,
which you can customize by $FriendlyFromLineFormat.

Chris

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz