> it seems that restriction classes, etc. are working fine
> if mail is send by SMTP, not by local processes (sendmail,
> etc.). Is this correct or do I miss something?
Correct. smtpd_* settings only apply to smtpd(8); sendmail(1) has no
feature to limit source and destination addresses. Your only choices
there would be to use authorized_submit_users to block access to
sendmail, or to write some kind of software to sit in front of
sendmail and check your access rules.
http://www.postfix.org/postconf.5.html#authorized_submit_users
http://www.postfix.org/sendmail.1.html