mouss wrote:
> Ivan Stepaniuk a écrit :
>> Hi everybody, I have a postfix+sasl+mysql setup. Could someone point out
>> how to reject mails when both FROM and TO addresses are @mydomain.tld,
>> and of course only when the sender is not sasl authenticated?

> if you are talking about envelope addresses (MAIL FROM and RCPT TO),
> then use a policy service or a milter. postfix access checks act on a
> single parameter (no combination of fields).

Thanks. Just to be clear, forgetting then about the RCPT TO for a while,
could I restrict the sender from within postfix, in a way that when MAIL
FROM matches my users map, the user needs to be always sasl
authenticated to send mail? and if so, is there a way to do this without
further restricting authenticated users?

The problem is that my server is behind a gateway (which I don't have
access to) that filters spam, but it white-lists all my domains, so I
get tons of spam for my users that appears to come from themselves or
from users in the same domain.

-- 
Iván Stepaniuk

Reply via email to