Take into account the -r argument given by mailx and convert it to -a to select the msmtp account