Re: Header Checks, examples?

This is a discussion on Re: Header Checks, examples? within the mailing.postfix.users forums, part of the Mail Servers and Related category; From: "Victor Duchovni" <Victor.Duchovni@MorganStanley.com> > On Thu, Feb 17, 2005 at 11:48:...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2005
Michael Nguyen
 
Posts: n/a
Default Re: Header Checks, examples?

From: "Victor Duchovni" <Victor.Duchovni@MorganStanley.com>
> On Thu, Feb 17, 2005 at 11:48:27PM -0800, Michael Nguyen wrote:


[snip]

> Set content_filter to by default filter all mail into the filter server,
> if the header is present (how do you know it is not forged???) use
> FILTER smtp:[127.0.0.1]:20025 to inject the mail via SMTP right back
> into an smtpd/cleanup pair with content_filter and this header check
> disabled (directly to whatever destination the filter usually delivers,
> thereby bypassing the filter). Beats me as to why this is a good idea
> (it would not be for A/V, but it could be for anti-spam, if the header
> is only added to identified spam).


Well, it works except for one thing. The service is requiring that I
re-write the recipient address. I would like to do this, but have it be
triggered via the header_check.

I see REDIRECT, but it doesn't look quite right. Basically, I need the
following:

- Email comes in as michaeln@m12 with the scarlet header.
- header_check sees this header and re-writes the address to
michaeln@test.spam
- header_check then forwards the email to smtp:[third-party.filter.com]:25

It looks like REDIRECT can take in a static email address, but can I somehow
construct a $1%test.spam@third-party.filter.com type address (and have it
work)? What options do I have here?


Mihael


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0