Discussion: Email redirect
Afficher un message
Vieux 31/10/2006, 19h34   #2
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Email redirect


MarcoMoller wrote:
> Hi,
>
> There is some way to redirect mail based on "to:" subject of a
> message?


milter

You may need to write one, cause I dont know which offhand is targeted
exactly at this.

check milter documentation for smfi_addrcpt() and smfi_delrcpt()

Or if you like perl, David Skoll's mimedefang would probably be the one
to try.

> for example take this header:
>
> Delivered-To: system@somewhere.com
> Received: localhost
> Message-ID: <552070214145.B9B1CFAD99@KRWN>
> From: "Luz" <adaptationcrises@royaloilandgas.com>
> To: <someuser@somewhere.com>
> Subject:Unlike other products!
> Date: Tue, 31 Oct 2006 17:53:07 +0300
> MIME-Version: 1.0
> X-Mailer: Microsoft Office Outlook, Build 11.0.5510
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> Thread-Index: wklefcbkmdfMl8n4iz6rHFoC
> Content-Type: text/plain;
> charset="Windows-1252"
> Content-Transfer-Encoding: 7bit
> X-Virus-Scanned: by AMaViS perl-11
>


Please be aware that the envelope sender and the envelope recipients
may have something or nothing to do with the Headers in the body of the
message.

For a milter approach that could mean you need to take into
consideration the data passed to the xxfi_envrcpt() callback.

  Réponse avec citation
 
Page generated in 0,05910 seconds with 9 queries