Hi Bob and Bas

Thank you very much for this. I have changed the code according to
that and uploaded a new release.

// Ola

On 28 November 2016 at 20:21, Bob Proulx <b...@proulx.com> wrote:
> Bas Zoetekouw wrote:
>> -            eval mail $XHEADERS -s \"$SUBJECT\" \"$MAILTO\" < "$MAIL"
>> +            ( printf "$hdr\n"; echo; cat $MAIL ) | sendmail -t
>
> If using sendmail and reading from stdin then the -oi option should
> also be used.  The sendmail man page says:
>
>   -oi  When reading a message from standard input, don't treat a line
>       with only a . character as the end of input.
>
> Therefore:
>
>   ... | sendmail -t -oi
>
> Bob



-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  o...@inguza.com                    Folkebogatan 26            \
|  o...@debian.org                   654 68 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------

Reply via email to