J'ai mon serveur sme qui est en 10.97.1.1
J'ai ma debian qui est en 10.97.1.52
J'ai un utilisateur anne sur ma debian : anne@pc-00105.linux-nuts.com
Sur mon serveur j'ai un peu plus de 20 utilisateurs dont anne-linux@linux-nuts.com
Je peux envoyer un mail de anne@pc-00105.linux-nuts.com à anne-linux@linux-nuts.com
Par contre, si je veux envoyer un mail de anne-linux@linux-nuts.com à anne@pc-00105.linux-nuts.com
Undelivered Mail Returned to Sender
-----
This is the mail system at host smtp5-g21.free.fr.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<anne@pc-00105.linux-nuts.com>: host
mail.pc-00105.linux-nuts.com[82.225.138.94] said: 550 Relaying denied
(#5.7.1) (in reply to RCPT TO command)
Reporting-MTA: dns; smtp5-g21.free.fr
X-Postfix-Queue-ID: 26A2B5FF20
X-Postfix-Sender: rfc822; anne-linux@linux-nuts.com
Arrival-Date: Tue, 18 Dec 2018 23:14:02 +0100 (CET)
Final-Recipient: rfc822; anne@pc-00105.linux-nuts.com
Original-Recipient: rfc822;anne@pc-00105.linux-nuts.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail.pc-00105.linux-nuts.com
Diagnostic-Code: smtp; 550 Relaying denied (#5.7.1)
-----
J'ai donc essayé de regarder
https://wiki.contribs.org/Emailet j'ai fait
How do I disable SMTP relay for unauthenticated LAN clients
----http://forums.contribs.org/index.php?topic=38797.msg176490#msg176490
Enable smtp authentication as shown above
Disable un-authenticated smtp relay for the local network(s)using:
mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients
echo "# SMTP Relay from local network denied by custom template" >\
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/relayclients/80relayFromLocalNetwork
signal-event email-update
Configure your email clients to use smtps with authentication:
- change outgoing smtp port to 465 and select SSL
- enable Authentication against the outgoing mail server
----
Mais c'est pas mieux
J'aimerais converser entre les clients de mon lan.
Anne