Thank you, figueroa, you sent me in the right direction.
I do not need (for now, at least) something that complex for sending email within a full network. But I found out that postfix can deliver itself the mail to any local mailbox. Then a small IMAP server is needed, that Thunderbird or any other ...