3 # 1. On lit les en-têtes et on mémorise l'état.
9 open(SM,"|/usr/sbin/sendmail -t -i -f '".@ARGV[0]."'");
14 if ($A=~/^From:(.*)/i) {
17 if ($A=~/^Reply-to:(.*)/i) {
23 $home=quotemeta $ENV{'ALTERNC_HTML'};
24 $ENV{'PWD'}=~/^$home\/.\/([^\/]*)/;
29 print SM "From: ".$user."\n";
31 print SM "From: $rt\n";
32 print SM "X-RealFrom: ".$user."\n";
36 print SM "Reply-To: $fr\n";
38 print SM "X-RealFrom: ".$user."\n";
41 # 3. On ajoute la fameuse ligne vide :)
43 # 4. Et on repasse la suite sans traitement (cat)