You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rick Vestal <ri...@spectranetics.com> on 2007/01/02 23:12:22 UTC
Move body report to bottom of email?
It has been requested that I move the report generated by spamassassin
(summary, content preview, etc) to the bottom of the email. Reading about, I
haven't found any way of doing this, nor anyone else inquiring about it. Is
this possible?
--
View this message in context: http://www.nabble.com/Move-body-report-to-bottom-of-email--tf2910367.html#a8131686
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Move body report to bottom of email?
Posted by Rick Vestal <ri...@spectranetics.com>.
That worked perfect. Thank you for pointing me in the right direction.
Robert Nicholson-3 wrote:
>
> If you are using report_safe then you can see by looking at
> rewrite_report_safe in Mail::SpamAssassin::PerMsgStatus.pm that it
> orders the attachments such that the report is first and the original
> is second.
>
> You could easily reverse those.
>
> $newmsg .= <<"EOM";
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="$boundary"
>
> This is a multi-part message in MIME format.
>
> --$boundary
> Content-Type: text/plain$report_charset
> Content-Disposition: inline
> Content-Transfer-Encoding: 8bit
>
> $report
>
> --$boundary
> Content-Type: $type; x-spam-type=original
> Content-Description: $description
> Content-Disposition: $disposition
> Content-Transfer-Encoding: 8bit
>
> $original
> --$boundary--
>
> EOM
> return $newmsg;
>
> On Jan 2, 2007, at 4:12 PM, Rick Vestal wrote:
>
>>
>> It has been requested that I move the report generated by spamassassin
>> (summary, content preview, etc) to the bottom of the email. Reading
>> about, I
>> haven't found any way of doing this, nor anyone else inquiring
>> about it. Is
>> this possible?
>> --
>> View this message in context: http://www.nabble.com/Move-body-
>> report-to-bottom-of-email--tf2910367.html#a8131686
>> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Move-body-report-to-bottom-of-email--tf2910367.html#a8143548
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Move body report to bottom of email?
Posted by Robert Nicholson <ro...@gmail.com>.
If you are using report_safe then you can see by looking at
rewrite_report_safe in Mail::SpamAssassin::PerMsgStatus.pm that it
orders the attachments such that the report is first and the original
is second.
You could easily reverse those.
$newmsg .= <<"EOM";
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="$boundary"
This is a multi-part message in MIME format.
--$boundary
Content-Type: text/plain$report_charset
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
$report
--$boundary
Content-Type: $type; x-spam-type=original
Content-Description: $description
Content-Disposition: $disposition
Content-Transfer-Encoding: 8bit
$original
--$boundary--
EOM
return $newmsg;
On Jan 2, 2007, at 4:12 PM, Rick Vestal wrote:
>
> It has been requested that I move the report generated by spamassassin
> (summary, content preview, etc) to the bottom of the email. Reading
> about, I
> haven't found any way of doing this, nor anyone else inquiring
> about it. Is
> this possible?
> --
> View this message in context: http://www.nabble.com/Move-body-
> report-to-bottom-of-email--tf2910367.html#a8131686
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>
Re: Move body report to bottom of email?
Posted by Robert Nicholson <ro...@gmail.com>.
Do you have report safe on or off?
On Jan 2, 2007, at 4:12 PM, Rick Vestal wrote:
>
> It has been requested that I move the report generated by spamassassin
> (summary, content preview, etc) to the bottom of the email. Reading
> about, I
> haven't found any way of doing this, nor anyone else inquiring
> about it. Is
> this possible?
> --
> View this message in context: http://www.nabble.com/Move-body-
> report-to-bottom-of-email--tf2910367.html#a8131686
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
>