From: Mark Jeftovic (no email)
Date: Fri Mar 01 2002 - 15:10:09 EST
On Fri, 1 Mar 2002, Ralf Hildebrandt wrote:
> On Fri, Mar 01, 2002 at 02:33:20PM -0500, Mark Jeftovic wrote:
>
> > Are there any postfix developers/maintainers on this list who would be
> > interested in a contract job to add this functionality?
>
> Like Victor said, it's the easies solution to modify the mail using
> the content_filter mechanism. A little Python or Perl script could do
> the trick:
>
> * Instantiate an "SMTP sender"
> * Read the mail from stdin
> * Alter contents if pattern matches and you're still in the headers
> * Alter envelope sender/recipient if it need be (these are passed as arguments to the script)
> * Send the mail out via the "SMTP sender"
> * Exit with 0 if successful, with 75 otherwise.
>
> It's easy. My fuzzy email bouncer works almost the same way.
>
This is certainly good information. My problem would be minimizing the
increased overhead. If there was a way to conditionally route via
the filter, based on sender address then we're fine but that brings us
back to sender based routing which is not what postfix is all
about, as you point out.
If we have to route all email through it we'll have to take a long
hard look and see if the extra overhead is too much or not.
Increasing overhead by a factor of four (as per the first example
in the FILTER_README) is probably not viable, given our volume. The
latter option, maybe. I'd have to play with it and decide if its
worth it. Maybe having it in place and able to be turned on and
off during periods that required it would be satisfactory.
Thanks for the input on this.
-mark
-- mark jeftovic http://www.easydns.com http://mark.jeftovic.net - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|