Only check_policy_service for authenticated / relayed emails
Can I configure Postfix 2.7 to only run check_policy_service for SASL authenticated emails?
My purpose for doing so is to have a quota policy in place (max amount of email relayed by unit of time, for each authenticated user) in case one of my users' accounts get compromised, so that the attacker cannot relay huge amounts of spam before I have a chance to disable the compromised account.
My recipient restrictions currently are as follows:
This clearly checks all email against the policy server.
Can I have Postfix check SASL authenticated emails only?
Better yet, can I have it only check emails that would be relayed outside the system by authenticated users? That would be ideal.
- * Tobia Conforto <tobia.conforto@...>:
> HelloNot really. You can if SASL authenticated email come in via an
> Can I configure Postfix 2.7 to only run check_policy_service for SASL authenticated emails?
As an alternative you can make your policy daemon CHECK for the
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich