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:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|