Debian

/etc/postfix/main.cf

# Debian specific
# string to be used as the fqdn of outgoing mail
# default is defined in /etc/mailname.
#myorigin = /etc/mailname
myorigin = michel-joly.fr

smtpd_banner = $myhostname ESMTP $mail_name (Raspbian)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2



# TLS parameters
smtpd_tls_cert_file=/etc/letsencrypt/live/michel-joly.fr/cert.pem
smtpd_tls_key_file=/etc/letsencrypt/live/michel-joly.fr/privkey.pem
smtpd_tls_security_level=may

smtp_tls_CApath=/etc/ssl/certs
smtp_tls_security_level=may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

#opendkim key management
smtpd_milters = unix:opendkim/opendkim.sock
non_smtpd_milters = unix:opendkim/opendkim.sock

#ssl auth only
smtpd_tls_auth_only = yes

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination

myhostname = mail.michel-joly.fr
mydomain = michel-joly.fr

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

mydestination = mail.michel-joly.fr, admin@michel-joly.fr, mail, localhost.michel-joly.fr, localhost, michel-joly.fr
relayhost = 
mynetworks = 127.0.0.0/8, 192.168.42.0/24, 192.168.1.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4

home_mailbox = Maildir/

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = mail.michel-joly.fr
smtpd_recipient_restrictions = permit_mynetworks, permit_auth_destination, permit_sasl_authenticated,reject