I am sending mail to a list of users, using the mailx utility:mailx -s $SUBJECT $TO < $FILEIt is working fine with valid emails, but I am getting a dead.letter issue when I try to send mail like adffadf, i.e., the string is not a valid email,I want this dead.letter to not be occurring even for users having anything for email ID, e.g., abc@gmail.com, abc@def.cc, adffdfs
dead.letter issue on Linux?
mailx
The man page for my mailx says a lot of things about set nosave and so on, but they don't seem to work. The only way to stop your dead.letter file growing I have found is to replace it by a link to the special file /dev/null.rm ~/dead.letterln -s /dev/null ~/dead.letter