From owner-freebsd-questions@FreeBSD.ORG Fri May 25 17:31:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 092C51065672 for ; Fri, 25 May 2012 17:31:32 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9135E8FC0A for ; Fri, 25 May 2012 17:31:31 +0000 (UTC) Received: by werg1 with SMTP id g1so962050wer.13 for ; Fri, 25 May 2012 10:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/R88xQQim/8yWoopH7mc01JpBHt2RFV1/o7psGtGZ/M=; b=StjCFsLzK2d2fQMxdWUtpxGWzk6jGROD/C60K/EAvQs0/vLLmWS5PHF9TtreBA64uB gqhRN+cjjad/WiD8aJmJhHwj2YRu5eSBANWoG78IuQF1xKYn7Ce12WJHXsdx6j1sgNDZ FEj5ljBUYaYHMgegIJ3QN3vm2kQNvNBM7bXhTJuTXDYMD4zh5erLwlZE3ktouse2gHRI cYAhT8PMAfT4LrRaIEkAdMInKNOHdphECnJIbASWzj+G/wvSB/pa0Q1+y1eu+67PRDfg 5K0dw4K4ziC+xlqzLOBYVvoVd66gKfOOWIKlHjzcNB4HKRz2bzx9UcsxFOjFDOqaZ4C2 x5kw== MIME-Version: 1.0 Received: by 10.180.93.38 with SMTP id cr6mr8736916wib.16.1337967084948; Fri, 25 May 2012 10:31:24 -0700 (PDT) Received: by 10.180.85.163 with HTTP; Fri, 25 May 2012 10:31:24 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 May 2012 10:31:24 -0700 Message-ID: From: Patrick To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: question about milter software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2012 17:31:32 -0000 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 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"