Re: [Exim] Cloning part of a message

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kirill Miazine
Date:  
À: marte
CC: exim-users
Sujet: Re: [Exim] Cloning part of a message
* marte [2003-10-03 15:00]:
> I would like to send a copy of some emails I receive to another service,
> sending me a message to my mobile phone. For privacy reasons
> I would like to send only the first few bytes of every emailbody.
>
> Has anyone ever tried anything like this ?


Here's how I notify myself of some urgent emails (those sent to
me-pager@) using Exim filter:

if $local_part_suffix is "-pager" then
    mail from ${address:$h_from:}
         to 47xxxxxxxx@???
         subject ${substr_0_40:$h_subject:}
         text ${substr_0_80:$message_body}
endif


The same result can be achieved by using a router.

--
Kirill Miazine
mailto:km@krot.org
http://km.krot.org/