My apologize for the PPS, but without the && it also seems to work:
[rocketmouse@archlinux ~]$ cat .msmtp.mail/fraud.mail | msmtp -a default [email protected]; RETVAL=$?; echo $RETVAL 0 The "0" is displayed with delay, IOW RETVAL=$?; echo $RETVAL has to wait until the sending of the mail finished. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/1402818482.3692.64.camel@archlinux

