sendmail: code shrink on top of previous patches