Hello,

"Christian ALT" <[EMAIL PROTECTED]> écrit/wrote:
> J'ai passé en revue différents outils: procmail, postfix. Mais je n'ai pas
> su trouver la solution. Est-ce que quelqu'un pourrait m'indiquer une piste.

Un fichier .forward dans le $HOME du user, avec un pipe comme premier
caractère. Ex:

$ cat /home/user/.forward
|/home/user/bin/script.py

script.py reçoit alors le mail intégral (avec header) en stdin.

Bien entendu, n'importe quel langage fera l'affaire; il faut juste
qu'il sache récupérer STDIN.

Voilà pour une piste.

À+

-- 
Lol Zimmerli - http://www.lzi.ch/lol/

Quand on est arrivés, ils étaient déjà partis.
        -Gaston Pirlotin (Ancien gendarme)
http://www.fricheule.net/
_______________________________________________
gull mailing list
[email protected]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à