PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Email redirect
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Email redirect

Réponse
 
LinkBack Outils de la discussion
Vieux 31/10/2006, 16h31   #1
MarcoMoller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Email redirect

Hi,

There is some way to redirect mail based on "to:" subject of a
message? 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

so, based on the fileds "Delivered-To:" and "To:" can i redirect this
message to special_account@mydomain.com? In this way, all messages
coming to somewhere.com are redirected to a special account. Note that
somewhere.com is not my domain. I can not simply block the messages,
too.

Thanks in advance!
Marco.

  Réponse avec citation
Vieux 31/10/2006, 18h34   #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
Vieux 31/10/2006, 20h00   #3
MarcoMoller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Email redirect

>
> 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.
>
> 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.


Thanks very much! I will check it.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12207 seconds with 11 queries