It would be nice to set the source interface (source IP) that msmtp binds to when establishing connections. This would be helpful when you are using source-based routing. For reference, this is a patch on how it is done in SSMTP: http://m.cr.uz/ssmtp-srchost/ Thanks. G H