Hi, I am looking to setup an outbound mail filter which can help do the following: 1. Ratelimit users based on [email protected] i.e. allow them to send only X mails per hour. Beyond that reject / hold for review. 2. Outbound spam control - The biggest issue now a days. Users mailbox gets compromised due to easy passwords and then its a nightmare from there onwards. So we can somehow control it and scan using spamassassin, if there are any flags, just bounce / hold the mail in queue. Any help on the above will be appreciated. Thanks
1) I think you have to use something like policyd, maybe you can find more information about that around here. 2) I have not tested it, but you could try changing order or recipient and sender restrictions in main.cf of postfix so permit authenticated_user is checked after categorizing spam. Just first thought.