# sending mail, sendmail version
# For sendmail, we call the "real" local delivery agent

# LDA is sendmail_wrapper, i.e. exec($LDA, @LDAARGS)

if ($enable_relay eq "yes") {
    # relay config

    $LDA = $sendmail_wrapper;
    push(@LDAARGS, "-C$sendmail_cf_orig");
    push(@LDAARGS, "-f<$SENDER>");
    push(@LDAARGS, "@RECIPS");
}

# End sendmail
