* Robert Luberda:

> [email protected] writes:
> Hi,
>
>
>> Maybe this is "solved" by the instructions in DSA-3104:
>>   ... use the "--" separator before the email addresses ...
>
> Yes, I guess you need to use the -- option:
>
>  perl -e 'print "hello\n~!ls>file\nbye\n"' | mailx -- recip1 -I recip2
>
> So that mailx fails and does not execute the ls command:
>   send-mail: fatal: alias initialization mode requires no recipient
>   Can't send mail: sendmail process failed with error code 75

Yes, this is why I explicitly mentioned "--" in the DSA.

I don't want to see a *third* mailx variant in Debian, but it
certainly looks as if there might be room for a send-only mailx
implementation.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to