Always define sendmail_is_available

Fix #8040 

@PVince81 @DeepDiver1975 @schiesbn