HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Missing From: field into bin/notify script



Hi, I have add the From: field to mail formatted and send from notify
script, because the mail received it came from "anonymous@xxxxxxxxxx".

I have produced this patch.

> [root@mail bin]# diff -Nau notify.old notify
> --- notify.old  2006-04-10 08:58:57.000000000 +0200
> +++ notify      2006-06-14 13:01:11.000000000 +0200
> @@ -665,6 +665,7 @@
>  {
>      putMimeSetup
>      echo "To: $mailaddr"
> +    echo "From: $FROMADDR"
>      echo "Subject: $1"
>      putMimeTextHeader
>      THISJOBTYPE=`eval echo "$"DICT$jobtype`
> @@ -876,6 +877,7 @@
>             jobtag="$jobtype job $jobid"
>         fi
>         echo "To: $TOADDR"
> +       echo "From: $FROMADDR"
>         echo "Subject: $jobtag to $number $WHY"
>         echo
>         returnTranscript

Is this correct?
Or the From: fiels is intentionally lacking ?

Many thanks to all!

-- 
Dario Lesca <d.lesca@xxxxxxxxxx>


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions