KMail, multiple SMTP servers and the alternative sendmail

KMail has always problems with multiple smtp servers. As a solution I installed sendmail. Then I just created a new outgoing mailserver and selected the sendmail option. No further configuration was necessary and it seems to work.