> Le 10 mars 2016 à 18:18, /dev/rob0 <r...@gmx.co.uk> a écrit : > > On Thu, Mar 10, 2016 at 01:54:12PM +0000, Pascal Maes wrote: >> From time to time, one of our users is caught by a phishing >> attempt. His account is then used to send spam and generally >> the MAIL FROM does not match one of our addresses. > snip >> Would it be possible to test only the existence of the MAIL >> FROM ? > > postconf.5.html#reject_unlisted_sender > > [...]
Fine ! It works very well but only if the spammer is using a bad address from one of our domains. I would like to test the "reject_sender_login_mismatch" but only if the mail comes from the outside. I try some configuration with restriction classes but I don't find the good way. Any idea ? -- Pascal