Date: Thu, 19 Feb 2009 16:13:15 +0100 From: Peter Boosten <peter@boosten.org> To: Valentin Bud <valentin.bud@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: mail question Message-ID: <499D770B.3000404@boosten.org> In-Reply-To: <139b44430902190250n3a044c48xc7188002c776e93a@mail.gmail.com> References: <139b44430902190226y1800bf1dhd06c09233f476635@mail.gmail.com> <139b44430902190250n3a044c48xc7188002c776e93a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Valentin Bud wrote: > On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud <valentin.bud@gmail.com>wrote: > >> Hello community, >> >> I have a "special" question. >> >> If a client sends an email through my server how can i stop the mail for >> being delivered so >> i can process the mail and change some things and afterward deliver it. >> >> I have postfix + dovecot installed. Some suggestions ... >> >> thanks, >> v > > > Hello again, > > I guess i have found what i want. Postfix MILTER > http://www.postfix.org/MILTER_README.html. > > So basically i create a filter in C, perl or something, I use it via STMP or > non-STMP. That > "filter" makes the necessary changes and afterwards i reinject the mail into > postfix. > > If anybody has the time/chance to verify if I am right please let me know. > Depending upon your wishes can MimeDefang (http://www.mimedefang.org/) do a lot for you (without you having to code anything). Peter -- http://www.boosten.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499D770B.3000404>