On Thu, Oct 08, 2009 at 08:51:37PM +0000, Peter Macko wrote: > Emails for certain local recipient that contain russian characters in > subject or in body should be forwarded to another email address.
In Postfix this is tricky, because you first have to separate mail for local recipients into a separate "stream", so that that the filter in question does not mis-route similar mail for external recipients. This is doable, but requires a two-stage "pipe-line" with local recipients re-injected into smtpd for a second round of scanning, with appropriate mime_header_checks. Classifying MIME content with regular expresions is tricky. A content filter may be a better bet. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.