improve smtponlytweak check