Is it possible to ignore the alias expansion with mailx? I'm trying to get something sent with a null message body and don't want it to take the local username.

link|improve this question

feedback

1 Answer

up vote 0 down vote accepted

According to the man page it is not possible as it is not implemented.

But you could try sendmail -f "<>" to send mails with a null sender. Please note that with most mail servers the sendmail is an alias to their equivalent. It is not said to really use the sendmail of sendmail.

(I assume that your requirements are to send with a "null sender" and not with a "null message body")

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.