Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 10:31:24 -0700
From:      Patrick <gibblertron@gmail.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: question about milter software
Message-ID:  <CA%2BdWbmbCbjUT4SPkrzQYSNi_M6GDUhASNb5PSt3xUb%2B5ncHU5w@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1205251519510.22501@wojtek.tensor.gdynia.pl>
References:  <alpine.BSF.2.00.1205251519510.22501@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
I think you'll find Postfix to be much more modern and easy to work
with for that kind of message rewriting.

But what you're looking for is pretty complicated when you start
having to deal with multipart messages; the messages have to be
completely processed and separated into respective parts, and then
once the rich part is found, you've got to parse the HTML and insert
the footer into the right spot, and then recompile the message. And if
the message is plain text only, you can't insert HTML and have it be
displayed as such. In short, I doubt you'll have much success in doing
this well. It would be better to configure this in the email client
and lock that down somehow.

Patrick


On Fri, May 25, 2012 at 6:21 AM, Wojciech Puchar
<wojtek@wojtek.tensor.gdynia.pl> wrote:
> Does anyone know milter software (or maybe anything else) to add to sendmail
> that can rewrite outgoing mail and add HTML footer automatically?
>
> Please do not tell me about how stupid HTML mail is at all - i know it, it
> is not my idea.
>
> thanks
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BdWbmbCbjUT4SPkrzQYSNi_M6GDUhASNb5PSt3xUb%2B5ncHU5w>