My apologize for the PPS, but without the && it also seems to work:
[rocketmouse@archlinux ~]$ cat .msmtp.mail/fraud.mail | msmtp -a default ralf.mard...@rocketmial.com; 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 debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1402818482.3692.64.camel@archlinux