J’ai cette config pour essai dans main.cf
compatibility_level = 3.6
myhostname = modoboa1
mydomain = local
myorigin = $mydomain
mydestination = $myhostname
mynetworks = 127.0.0.0/8, [::1]/128
# Logging
maillog_file =
# Restrictions
smtpd_recipient_restrictions =
reject
smtpd_sender_restrictions =
reject
debug_peer_level = 9
Je lance ce test :
swaks --server 127.0.0.1 --from toto@local --to titi@local
=== Trying 127.0.0.1:25…
=== Connected to 127.0.0.1.
← 220 modoboa1 ESMTP Postfix
→ EHLO modoboa1
← 250-modoboa1
← 250-PIPELINING
← 250-SIZE 10240000
← 250-VRFY
← 250-ETRN
← 250-ENHANCEDSTATUSCODES
← 250-8BITMIME
← 250-DSN
← 250-SMTPUTF8
← 250 CHUNKING
→ MAIL FROM:toto@local
← 250 2.1.0 Ok
→ RCPT TO:titi@local
<** 554 5.7.1 toto@local: Sender address rejected: Access denied
→ QUIT
← 221 2.0.0 Bye
=== Connection closed with remote host.
Le rejet est normal au regard de ma conf, mais je ne le vois pas dans les logs!
Un lecteur a-t-il une idée?